valtech-components 4.0.480 → 4.0.481

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.
Files changed (58) hide show
  1. package/esm2022/lib/components/organisms/mini-games/bubble-blitz-game.component.mjs +18 -9
  2. package/esm2022/lib/components/organisms/mini-games/chessimals-engine.mjs +109 -16
  3. package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +18 -9
  4. package/esm2022/lib/components/organisms/mini-games/christianity-card.component.mjs +270 -0
  5. package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +2253 -0
  6. package/esm2022/lib/components/organisms/mini-games/memory-game.component.mjs +18 -9
  7. package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +275 -9
  8. package/esm2022/lib/components/organisms/mini-games/simon-game.component.mjs +18 -9
  9. package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
  10. package/esm2022/lib/directives/light-ripple.directive.mjs +57 -0
  11. package/esm2022/lib/version.mjs +2 -2
  12. package/esm2022/mini-games/public-api.mjs +34 -2
  13. package/esm2022/public-api.mjs +3 -1
  14. package/fesm2022/valtech-components-mini-games.mjs +34 -2
  15. package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
  16. package/fesm2022/valtech-components.mjs +3023 -58
  17. package/fesm2022/valtech-components.mjs.map +1 -1
  18. package/lib/components/organisms/mini-games/bubble-blitz-game.component.d.ts +2 -0
  19. package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +3 -1
  20. package/lib/components/organisms/mini-games/christianity-card.component.d.ts +46 -0
  21. package/lib/components/organisms/mini-games/christianity-game.component.d.ts +177 -0
  22. package/lib/components/organisms/mini-games/memory-game.component.d.ts +2 -0
  23. package/lib/components/organisms/mini-games/simon-game.component.d.ts +2 -0
  24. package/lib/components/organisms/mini-games/types.d.ts +131 -1
  25. package/lib/directives/light-ripple.directive.d.ts +8 -0
  26. package/lib/version.d.ts +1 -1
  27. package/mini-games/public-api.d.ts +4 -0
  28. package/package.json +1 -1
  29. package/public-api.d.ts +2 -0
  30. package/src/lib/assets/games/christianity/card-symbol.svg +51 -0
  31. package/src/lib/assets/games/christianity/card-template-reference/front.html +114 -0
  32. package/src/lib/assets/games/christianity/card-template-reference/front.style.css +352 -0
  33. package/src/lib/assets/games/christianity/data/01-genesis.bible-reference-suggestions.csv +191 -0
  34. package/src/lib/assets/games/christianity/data/01-genesis.bible-verses.nbv-open.csv +170 -0
  35. package/src/lib/assets/games/christianity/data/01-genesis.cards.csv +281 -0
  36. package/src/lib/assets/games/christianity/data/01-genesis.cards.i18n.csv +281 -0
  37. package/src/lib/assets/games/christianity/data/01-genesis.cards.json +16453 -0
  38. package/src/lib/assets/games/christianity/data/01-genesis.unassigned-effects.csv +49 -0
  39. package/src/lib/assets/games/christianity/data/README.md +40 -0
  40. package/src/lib/assets/games/christianity/data/data-con-habilides.csv +273 -0
  41. package/src/lib/assets/games/christianity/data/habilidades-por-tipo.xlsx +0 -0
  42. package/src/lib/assets/games/christianity/data/listado-edicion.csv +281 -0
  43. package/src/lib/assets/games/christianity/editions/1/cards/.gitkeep +1 -0
  44. package/src/lib/assets/games/christianity/editions/1/cards/PLACEHOLDER.png +0 -0
  45. package/src/lib/assets/games/christianity/editions/README.md +34 -0
  46. package/src/lib/assets/games/christianity/icons/1-icon.png +0 -0
  47. package/src/lib/assets/games/christianity/icons/action.png +0 -0
  48. package/src/lib/assets/games/christianity/icons/character.png +0 -0
  49. package/src/lib/assets/games/christianity/icons/event.png +0 -0
  50. package/src/lib/assets/games/christianity/icons/leader.png +0 -0
  51. package/src/lib/assets/games/christianity/icons/offering.png +0 -0
  52. package/src/lib/assets/games/christianity/icons/place.png +0 -0
  53. package/src/lib/assets/games/christianity/icons/tool.png +0 -0
  54. package/src/lib/assets/games/christianity/icons/wisdom.png +0 -0
  55. package/src/lib/assets/games/christianity/sources/README.md +16 -0
  56. package/src/lib/assets/games/christianity/sources/spaonbv_vpl.txt +29102 -0
  57. package/src/lib/assets/games/christianity/sources/spaonbv_vpl.xml +29104 -0
  58. package/src/lib/assets/games/christianity/spaonbv.txt +52 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, InjectionToken, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Injectable, DestroyRef, Inject, signal, computed, PLATFORM_ID, isDevMode, Optional, runInInjectionContext, effect, Pipe, TemplateRef, ViewContainerRef, input, Directive, EventEmitter, Component, Input, Output, ChangeDetectionStrategy, HostBinding, HostListener, SecurityContext, NgZone, ViewChild, ElementRef, ChangeDetectorRef, output, ContentChild, model, ViewEncapsulation, untracked, viewChild, Injector, isSignal } from '@angular/core';
2
+ import { inject, InjectionToken, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Injectable, DestroyRef, Inject, signal, computed, PLATFORM_ID, isDevMode, Optional, runInInjectionContext, effect, Pipe, TemplateRef, ViewContainerRef, input, Directive, ElementRef, Renderer2, HostListener, EventEmitter, Component, Input, Output, ChangeDetectionStrategy, HostBinding, SecurityContext, NgZone, ViewChild, ChangeDetectorRef, output, ContentChild, model, ViewEncapsulation, untracked, viewChild, Injector, isSignal } from '@angular/core';
3
3
  import { BehaviorSubject, throwError, Subject, map, distinctUntilChanged, filter as filter$1, take as take$1, firstValueFrom, of, from, EMPTY, Observable, interval, defer, timer, merge, concat, debounceTime, switchMap as switchMap$1, catchError as catchError$1, takeUntil, isObservable, forkJoin, race, tap as tap$1, Subscription, shareReplay as shareReplay$1 } from 'rxjs';
4
4
  import { catchError, switchMap, finalize, filter, take, timeout, map as map$1, tap, shareReplay, distinctUntilChanged as distinctUntilChanged$1, retry, debounceTime as debounceTime$1, takeUntil as takeUntil$1 } from 'rxjs/operators';
5
5
  import * as i1$3 from '@angular/common/http';
@@ -49,6 +49,7 @@ import { Capacitor } from '@capacitor/core';
49
49
  import { ImageCropperComponent } from 'ngx-image-cropper';
50
50
  import Compressor from 'compressorjs';
51
51
  import { Calendar } from 'vanilla-calendar-pro';
52
+ import { CdkDrag, CdkDropList } from '@angular/cdk/drag-drop';
52
53
  import 'prismjs/components/prism-scss';
53
54
  import 'prismjs/components/prism-json';
54
55
  import { BrowserMultiFormatReader } from '@zxing/browser';
@@ -58,7 +59,7 @@ import fixWebmDuration from 'fix-webm-duration';
58
59
  * Current version of valtech-components.
59
60
  * This is automatically updated during the publish process.
60
61
  */
61
- const VERSION = '4.0.480';
62
+ const VERSION = '4.0.481';
62
63
 
63
64
  // Control de estado de refresco (singleton a nivel de módulo)
64
65
  let isRefreshing = false;
@@ -10117,6 +10118,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
10117
10118
  }]
10118
10119
  }], ctorParameters: () => [] });
10119
10120
 
10121
+ class LightRippleDirective {
10122
+ constructor() {
10123
+ this.host = inject(ElementRef);
10124
+ this.renderer = inject(Renderer2);
10125
+ }
10126
+ createRipple(event) {
10127
+ const element = this.host.nativeElement;
10128
+ const rect = element.getBoundingClientRect();
10129
+ const size = Math.max(rect.width, rect.height) * 1.55;
10130
+ const ripple = this.renderer.createElement('span');
10131
+ const x = event.clientX - rect.left - size / 2;
10132
+ const y = event.clientY - rect.top - size / 2;
10133
+ if (getComputedStyle(element).position === 'static') {
10134
+ this.renderer.setStyle(element, 'position', 'relative');
10135
+ }
10136
+ this.renderer.setStyle(element, 'overflow', 'hidden');
10137
+ this.renderer.setStyle(element, 'isolation', 'isolate');
10138
+ this.renderer.setStyle(element, 'touch-action', 'manipulation');
10139
+ this.renderer.setStyle(ripple, 'position', 'absolute');
10140
+ this.renderer.setStyle(ripple, 'left', `${x}px`);
10141
+ this.renderer.setStyle(ripple, 'top', `${y}px`);
10142
+ this.renderer.setStyle(ripple, 'width', `${size}px`);
10143
+ this.renderer.setStyle(ripple, 'height', `${size}px`);
10144
+ this.renderer.setStyle(ripple, 'border-radius', '999px');
10145
+ this.renderer.setStyle(ripple, 'pointer-events', 'none');
10146
+ this.renderer.setStyle(ripple, 'z-index', '1');
10147
+ this.renderer.setStyle(ripple, 'background', 'radial-gradient(circle, rgba(255,255,255,0.98) 0 0.16rem, rgba(191,219,254,0.9) 0.18rem 0.34rem, rgba(96,165,250,0.46) 0.36rem 23%, rgba(96,165,250,0.18) 38%, transparent 70%)');
10148
+ this.renderer.setStyle(ripple, 'box-shadow', '0 0 0.75rem rgba(255,255,255,0.85), 0 0 1.8rem rgba(96,165,250,0.52)');
10149
+ this.renderer.appendChild(element, ripple);
10150
+ ripple
10151
+ .animate([
10152
+ { opacity: 0.88, transform: 'scale(0.08)' },
10153
+ { opacity: 0.48, transform: 'scale(0.48)' },
10154
+ { opacity: 0, transform: 'scale(1)' },
10155
+ ], { duration: 680, easing: 'cubic-bezier(0.16, 0.84, 0.24, 1)' })
10156
+ .finished.finally(() => {
10157
+ if (ripple.parentNode === element) {
10158
+ this.renderer.removeChild(element, ripple);
10159
+ }
10160
+ });
10161
+ }
10162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LightRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10163
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LightRippleDirective, isStandalone: true, selector: "[valLightRipple]", host: { listeners: { "pointerdown": "createRipple($event)" } }, ngImport: i0 }); }
10164
+ }
10165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LightRippleDirective, decorators: [{
10166
+ type: Directive,
10167
+ args: [{
10168
+ selector: '[valLightRipple]',
10169
+ standalone: true,
10170
+ }]
10171
+ }], propDecorators: { createRipple: [{
10172
+ type: HostListener,
10173
+ args: ['pointerdown', ['$event']]
10174
+ }] } });
10175
+
10120
10176
  /**
10121
10177
  * Presets de botón por defecto provistos por la librería.
10122
10178
  *
@@ -61031,18 +61087,66 @@ const CHESSIMALS_BOT_PROFILES = [
61031
61087
  labelKey: 'chessimalsBotSentinel',
61032
61088
  descriptionKey: 'chessimalsBotSentinelBody',
61033
61089
  },
61090
+ {
61091
+ id: 'oracle',
61092
+ difficulty: 'hard',
61093
+ avatar: '🔮',
61094
+ labelKey: 'chessimalsBotOracle',
61095
+ descriptionKey: 'chessimalsBotOracleBody',
61096
+ },
61097
+ {
61098
+ id: 'ambusher',
61099
+ difficulty: 'hard',
61100
+ avatar: '🪤',
61101
+ labelKey: 'chessimalsBotAmbusher',
61102
+ descriptionKey: 'chessimalsBotAmbusherBody',
61103
+ },
61104
+ {
61105
+ id: 'locksmith',
61106
+ difficulty: 'hard',
61107
+ avatar: '🔐',
61108
+ labelKey: 'chessimalsBotLocksmith',
61109
+ descriptionKey: 'chessimalsBotLocksmithBody',
61110
+ },
61111
+ {
61112
+ id: 'storm',
61113
+ difficulty: 'hard',
61114
+ avatar: '🌩️',
61115
+ labelKey: 'chessimalsBotStorm',
61116
+ descriptionKey: 'chessimalsBotStormBody',
61117
+ },
61118
+ {
61119
+ id: 'matriarch',
61120
+ difficulty: 'hard',
61121
+ avatar: '👑',
61122
+ labelKey: 'chessimalsBotMatriarch',
61123
+ descriptionKey: 'chessimalsBotMatriarchBody',
61124
+ },
61125
+ {
61126
+ id: 'endgame',
61127
+ difficulty: 'hard',
61128
+ avatar: '⌛',
61129
+ labelKey: 'chessimalsBotEndgame',
61130
+ descriptionKey: 'chessimalsBotEndgameBody',
61131
+ },
61034
61132
  ];
61035
61133
  const BOT_STYLES = {
61036
- explorer: { advancement: 1.05, capture: 0.82, safety: 0.62, power: 0.8, center: 1.15, unlock: 1.05, reply: 0.7, randomness: 260, spread: 0.68 },
61037
- impulsive: { advancement: 0.9, capture: 1.45, safety: 0.48, power: 1.15, center: 0.8, unlock: 0.9, reply: 0.55, randomness: 290, spread: 0.62 },
61038
- runner: { advancement: 1.55, capture: 0.78, safety: 0.5, power: 0.95, center: 0.7, unlock: 1.1, reply: 0.55, randomness: 250, spread: 0.6 },
61039
- hunter: { advancement: 0.95, capture: 1.45, safety: 0.9, power: 1.05, center: 0.95, unlock: 0.95, reply: 1, randomness: 90, spread: 0.3 },
61040
- guardian: { advancement: 0.88, capture: 1, safety: 1.45, power: 0.85, center: 1.05, unlock: 1, reply: 1.15, randomness: 70, spread: 0.26 },
61041
- jumper: { advancement: 1.12, capture: 1, safety: 0.92, power: 1.42, center: 1.18, unlock: 1.08, reply: 0.95, randomness: 95, spread: 0.32 },
61042
- strategist: { advancement: 1.05, capture: 1.08, safety: 1.22, power: 1.08, center: 1.16, unlock: 1.1, reply: 1.25, randomness: 22, spread: 0.14 },
61043
- predator: { advancement: 0.98, capture: 1.68, safety: 1.02, power: 1.34, center: 1, unlock: 1, reply: 1.12, randomness: 28, spread: 0.16 },
61044
- sprinter: { advancement: 1.72, capture: 0.9, safety: 0.95, power: 1.08, center: 0.86, unlock: 1.18, reply: 1, randomness: 26, spread: 0.15 },
61045
- sentinel: { advancement: 0.9, capture: 1.12, safety: 1.72, power: 0.95, center: 1.28, unlock: 1.05, reply: 1.38, randomness: 18, spread: 0.12 },
61134
+ explorer: { advancement: 1.05, capture: 0.82, safety: 0.62, power: 0.8, center: 1.15, unlock: 1.05, reply: 0.7, randomness: 260, spread: 0.68, mobility: 0.75, trap: 0.5, endgame: 0.55 },
61135
+ impulsive: { advancement: 0.9, capture: 1.45, safety: 0.48, power: 1.15, center: 0.8, unlock: 0.9, reply: 0.55, randomness: 290, spread: 0.62, mobility: 0.85, trap: 0.62, endgame: 0.5 },
61136
+ runner: { advancement: 1.55, capture: 0.78, safety: 0.5, power: 0.95, center: 0.7, unlock: 1.1, reply: 0.55, randomness: 250, spread: 0.6, mobility: 0.72, trap: 0.45, endgame: 1.1 },
61137
+ hunter: { advancement: 0.95, capture: 1.45, safety: 0.9, power: 1.05, center: 0.95, unlock: 0.95, reply: 1, randomness: 90, spread: 0.3, mobility: 0.95, trap: 0.82, endgame: 0.76 },
61138
+ guardian: { advancement: 0.88, capture: 1, safety: 1.45, power: 0.85, center: 1.05, unlock: 1, reply: 1.15, randomness: 70, spread: 0.26, mobility: 0.82, trap: 0.72, endgame: 0.72 },
61139
+ jumper: { advancement: 1.12, capture: 1, safety: 0.92, power: 1.42, center: 1.18, unlock: 1.08, reply: 0.95, randomness: 95, spread: 0.32, mobility: 1.15, trap: 0.9, endgame: 0.82 },
61140
+ strategist: { advancement: 1.05, capture: 1.08, safety: 1.22, power: 1.08, center: 1.16, unlock: 1.1, reply: 1.25, randomness: 22, spread: 0.14, mobility: 1.08, trap: 1.06, endgame: 1 },
61141
+ predator: { advancement: 0.98, capture: 1.68, safety: 1.02, power: 1.34, center: 1, unlock: 1, reply: 1.12, randomness: 28, spread: 0.16, mobility: 1.02, trap: 1.18, endgame: 0.82 },
61142
+ sprinter: { advancement: 1.72, capture: 0.9, safety: 0.95, power: 1.08, center: 0.86, unlock: 1.18, reply: 1, randomness: 26, spread: 0.15, mobility: 0.95, trap: 0.78, endgame: 1.42 },
61143
+ sentinel: { advancement: 0.9, capture: 1.12, safety: 1.72, power: 0.95, center: 1.28, unlock: 1.05, reply: 1.38, randomness: 18, spread: 0.12, mobility: 0.86, trap: 1.04, endgame: 0.84 },
61144
+ oracle: { advancement: 1, capture: 1.12, safety: 1.42, power: 1.1, center: 1.18, unlock: 1.08, reply: 1.8, randomness: 8, spread: 0.08, mobility: 1.06, trap: 1.22, endgame: 1.08 },
61145
+ ambusher: { advancement: 0.9, capture: 1.48, safety: 1.08, power: 1.46, center: 1.05, unlock: 1.02, reply: 1.32, randomness: 14, spread: 0.1, mobility: 1.12, trap: 1.72, endgame: 0.92 },
61146
+ locksmith: { advancement: 0.88, capture: 1.04, safety: 1.55, power: 1.02, center: 1.48, unlock: 1.12, reply: 1.52, randomness: 12, spread: 0.1, mobility: 1.58, trap: 1.24, endgame: 0.86 },
61147
+ 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 },
61148
+ 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 },
61149
+ 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 },
61046
61150
  };
61047
61151
  const DEFAULT_BOT_PROFILE_BY_DIFFICULTY = {
61048
61152
  easy: 'explorer',
@@ -61128,8 +61232,17 @@ function chooseChessimalsBotMove(state, difficulty = 'normal', profileId = DEFAU
61128
61232
  if (moves.length === 0)
61129
61233
  return undefined;
61130
61234
  const style = BOT_STYLES[profileId] ?? BOT_STYLES[DEFAULT_BOT_PROFILE_BY_DIFFICULTY[difficulty]];
61131
- const scored = moves
61132
- .map((move) => ({ move, score: scoreBotMoveWithLookahead(state, move, difficulty, style) }))
61235
+ const quickScored = moves
61236
+ .map((move) => ({ move, score: scoreBotMove(state, move, difficulty, style) }))
61237
+ .sort((a, b) => b.score - a.score);
61238
+ const lookaheadLimit = difficulty === 'hard' ? 32 : difficulty === 'normal' ? 24 : 0;
61239
+ const scored = quickScored
61240
+ .map((item, index) => ({
61241
+ move: item.move,
61242
+ score: index < lookaheadLimit
61243
+ ? scoreBotMoveWithLookahead(state, item.move, difficulty, style)
61244
+ : item.score,
61245
+ }))
61133
61246
  .sort((a, b) => b.score - a.score);
61134
61247
  if (difficulty === 'easy') {
61135
61248
  const playable = scored.filter((item) => item.score > -3000);
@@ -61330,7 +61443,7 @@ function getPowerMoves(state, piece, animal) {
61330
61443
  const directions = getPowerDirections(animal);
61331
61444
  const moves = [];
61332
61445
  for (const direction of directions) {
61333
- for (let distance = 1; distance <= 3; distance += 1) {
61446
+ for (let distance = 1; distance < state.boardSize; distance += 1) {
61334
61447
  const target = {
61335
61448
  row: piece.position.row + direction.row * distance,
61336
61449
  col: piece.position.col + direction.col * distance,
@@ -61391,7 +61504,7 @@ function getKangarooMoves(state, piece) {
61391
61504
  }
61392
61505
  return moves;
61393
61506
  }
61394
- function scoreBotMove(state, move, difficulty, style) {
61507
+ function scoreBotMove(state, move, difficulty, style, includeTacticalPressure = true) {
61395
61508
  const color = state.currentTurn;
61396
61509
  const targetPiece = move.capturesPieceId
61397
61510
  ? activePieces(state).find((piece) => piece.id === move.capturesPieceId)
@@ -61417,6 +61530,14 @@ function scoreBotMove(state, move, difficulty, style) {
61417
61530
  score += 14 * style.power;
61418
61531
  if (wouldUnlockPower(state, color, move.to))
61419
61532
  score += 90 * style.unlock;
61533
+ if (includeTacticalPressure && state.boardSize <= 6) {
61534
+ score += countPowerReachAfterMove(state, move, color) * (difficulty === 'hard' ? 8 : 4) * style.mobility;
61535
+ score += countProtectedThreatsAfterMove(state, move, color) * (difficulty === 'hard' ? 36 : 18) * style.trap;
61536
+ score += scoreEndgamePressure(state, move, color) * style.endgame;
61537
+ }
61538
+ else {
61539
+ score += scoreEndgamePressure(state, move, color) * style.endgame;
61540
+ }
61420
61541
  if (difficulty === 'hard' && isSquareVulnerableAfterMove(state, move)) {
61421
61542
  score -= (targetPiece ? 80 : 140) * style.safety;
61422
61543
  }
@@ -61447,7 +61568,7 @@ function scoreBotMoveWithLookahead(state, move, difficulty, style) {
61447
61568
  score += centerControl * (difficulty === 'hard' ? 18 : 10) * style.center;
61448
61569
  }
61449
61570
  const opponentBestReply = opponentMoves
61450
- .map((opponentMove) => scoreBotMove(afterMove, opponentMove, difficulty, style))
61571
+ .map((opponentMove) => scoreBotMove(afterMove, opponentMove, difficulty, style, false))
61451
61572
  .sort((a, b) => b - a)[0];
61452
61573
  if (opponentBestReply) {
61453
61574
  const replyWeight = difficulty === 'easy' ? 0.12 : difficulty === 'normal' ? 0.32 : 0.48;
@@ -61459,6 +61580,34 @@ function scoreBotMoveWithLookahead(state, move, difficulty, style) {
61459
61580
  }
61460
61581
  return score;
61461
61582
  }
61583
+ function countPowerReachAfterMove(state, move, color) {
61584
+ try {
61585
+ const afterMove = applyChessimalsMove(state, move);
61586
+ const evaluationState = { ...afterMove, currentTurn: color };
61587
+ return getChessimalsAllLegalMoves(evaluationState, color).filter((nextMove) => nextMove.kind === 'power').length;
61588
+ }
61589
+ catch {
61590
+ return 0;
61591
+ }
61592
+ }
61593
+ function countProtectedThreatsAfterMove(state, move, color) {
61594
+ try {
61595
+ const afterMove = applyChessimalsMove(state, move);
61596
+ const evaluationState = { ...afterMove, currentTurn: color };
61597
+ const ourMoves = getChessimalsAllLegalMoves(evaluationState, color);
61598
+ const enemyPieces = activePieces(afterMove).filter((piece) => piece.color !== color && !piece.captured);
61599
+ return enemyPieces.filter((piece) => ourMoves.some((nextMove) => nextMove.capturesPieceId === piece.id)).length;
61600
+ }
61601
+ catch {
61602
+ return 0;
61603
+ }
61604
+ }
61605
+ function scoreEndgamePressure(state, move, color) {
61606
+ const remainingEnemyPieces = activePieces(state).filter((piece) => piece.color !== color && !piece.captured).length;
61607
+ const urgency = remainingEnemyPieces <= Math.max(2, Math.floor(state.boardSize / 2)) ? 1.6 : 1;
61608
+ const distanceToPromotion = color === 'white' ? move.to.row : state.boardSize - 1 - move.to.row;
61609
+ return Math.max(0, state.boardSize - distanceToPromotion) * 14 * urgency;
61610
+ }
61462
61611
  function chooseConservativeHardCapture(state, scored) {
61463
61612
  if (state.boardSize !== 8)
61464
61613
  return undefined;
@@ -62622,6 +62771,121 @@ const MINI_GAMES_I18N = {
62622
62771
  bubbleDescription: 'Revienta grupos de burbujas, encadena combos y sube tu puntaje.',
62623
62772
  chessimalsTitle: 'Chessimals',
62624
62773
  chessimalsDescription: 'Una carrera de peones con cartas de animales y poderes tácticos.',
62774
+ christianityTitle: 'Christianity',
62775
+ christianityDescription: 'Un juego de cartas familiar con líderes, ofrendas y decisiones tácticas.',
62776
+ christianityEyebrow: 'MVP de mesa',
62777
+ christianityTable: 'Mesa de Christianity',
62778
+ christianitySplashEyebrow: 'Genesis 1',
62779
+ christianitySplashTitle: 'Preparando mesa',
62780
+ christianitySplashLoading: 'Cargando cartas reales y armando el mazo tutorial.',
62781
+ christianitySplashReady: 'Mazo listo. Ya puedes entrar al tutorial.',
62782
+ christianitySplashFallback: 'No se pudo cargar la edición real. Usaremos el mazo de prueba.',
62783
+ christianityStartTitle: 'Elige cómo entrar',
62784
+ christianityStartBody: 'Puedes jugar un tutorial pequeño con cartas reales o revisar la edición completa en la galería.',
62785
+ christianityTutorialMode: 'Tutorial MVP',
62786
+ christianityTutorialModeBody: 'Una mesa reducida con líderes, ofrendas y personajes sencillos para probar el flujo de partida.',
62787
+ christianityStartTutorial: 'Jugar tutorial',
62788
+ christianityGalleryModeBody: 'Explora la edición ordenada, filtra por tipo y abre el previsualizador de cartas.',
62789
+ christianityOpenGallery: 'Abrir galería',
62790
+ christianityHowToPlay: 'Cómo se juega',
62791
+ christianityHowToPlayBody: 'Revisa objetivo, turno, ofrendas y batalla antes de entrar a la mesa.',
62792
+ christianityHowToPlayIntro: 'Christianity usa un mazo compartido. La gracia está en adaptarse a lo que aparece y elegir bien cuándo gastar tus ofrendas.',
62793
+ christianityHowToPlayGoal: 'Gana reduciendo la vida del líder rival a 0, o quedando con más vida si el mazo se agota.',
62794
+ christianityHowToPlayTurn: 'En tu turno preparas ofrendas, robas carta, juegas cartas y luego puedes atacar.',
62795
+ christianityHowToPlayOfferings: 'Puedes jugar solo una ofrenda desde tu mano por turno. Las ofrendas listas pagan costes.',
62796
+ christianityHowToPlayBattle: 'Si el rival tiene personajes, debes atacar personajes antes que al líder.',
62797
+ christianityEditionStatus: 'Estado de edición',
62798
+ christianityTutorialActive: 'Tutorial MVP activo',
62799
+ christianityCatalogReady: 'Catálogo real cargado',
62800
+ christianityCatalogFallback: 'Mazo de prueba activo',
62801
+ christianityCatalogLoading: 'Cargando catálogo',
62802
+ christianityFutureModes: 'Modos futuros',
62803
+ christianitySoloBotMode: 'Solitario con bot',
62804
+ christianitySoloBotModeBody: 'Una partida guiada para practicar turnos, ofrendas y combate.',
62805
+ christianityTwoPlayerMode: 'Dos jugadores',
62806
+ christianityTwoPlayerModeBody: 'Partida online con estado sincronizado y manos privadas.',
62807
+ christianityOneDeviceMode: 'Un dispositivo',
62808
+ christianityOneDeviceModeBody: 'Modo local para jugar en familia pasando el dispositivo.',
62809
+ christianitySpectatorMode: 'Espectador',
62810
+ christianitySpectatorModeBody: 'Mesa pública para mirar partidas sin revelar información privada.',
62811
+ christianityTurn: 'Turno',
62812
+ christianityOfferings: 'Ofrendas',
62813
+ christianityHand: 'Mano',
62814
+ christianityOpponentBattle: 'Zona de batalla rival',
62815
+ christianityYourBattle: 'Tu zona de batalla',
62816
+ christianityOpponentHand: 'Mano rival',
62817
+ christianitySharedZone: 'Zona compartida',
62818
+ christianityMatch: 'Match',
62819
+ christianityMatchScore: 'Marcador de match',
62820
+ christianityHistory: 'Historia',
62821
+ christianityDeck: 'Mazo',
62822
+ christianityPlace: 'Lugar',
62823
+ christianityEmpty: 'Vacío',
62824
+ christianityYourHand: 'Tu mano',
62825
+ christianityCost: 'Coste',
62826
+ christianityOfferingCard: 'Ofrenda',
62827
+ christianityCharacterCard: 'Personaje',
62828
+ christianityLeaderCard: 'Líder',
62829
+ christianityWisdomCard: 'Sabiduría',
62830
+ christianityActionCard: 'Acción',
62831
+ christianityToolCard: 'Herramienta',
62832
+ christianityPlaceCard: 'Lugar',
62833
+ christianityEventCard: 'Evento',
62834
+ christianityCardRule: 'Regla de carta',
62835
+ christianityHiddenCard: 'Carta oculta',
62836
+ christianityPreviewCard: 'Ver carta',
62837
+ christianityEndTurn: 'Terminar turno',
62838
+ christianityPlayCard: 'Jugar carta',
62839
+ christianityPlayOffering: 'Jugar ofrenda',
62840
+ christianityPlayHere: 'Jugar aquí',
62841
+ christianityReset: 'Reiniciar mock',
62842
+ christianityWaitTurn: 'Espera el turno rival.',
62843
+ christianityChooseTarget: 'Elige un objetivo para atacar.',
62844
+ christianityChooseCharacterTarget: 'El rival tiene personajes: debes atacarlos antes que al líder.',
62845
+ christianityReadyToPlay: 'Puedes jugar esta carta.',
62846
+ christianityChooseSlot: 'Elige una casilla disponible para jugar esta carta.',
62847
+ christianityPlaceOffering: 'Puedes jugar esta ofrenda con el botón de acción.',
62848
+ christianityNeedOfferings: 'Necesitas más ofrendas para jugar esa carta.',
62849
+ christianityChooseCard: 'Elige una carta o un personaje listo para actuar.',
62850
+ christianityLeaderProtected: 'No puedes atacar directamente al líder mientras tenga personajes en batalla.',
62851
+ christianityLeaderBody: 'Si su vida llega a 0, la partida termina.',
62852
+ christianityLeaderRuleBody: 'El líder representa al jugador. Si su vida llega a 0, pierde la partida. No puede ser atacado directamente mientras tenga personajes en batalla.',
62853
+ christianityOfferingReady: 'Lista',
62854
+ christianityOfferingExhausted: 'Agotada',
62855
+ christianityOfferingBody: 'Se agota para pagar costes y vuelve a estar lista al comenzar tu turno.',
62856
+ christianityOfferingNoAbility: 'Esta ofrenda no tiene habilidad activable.',
62857
+ christianityOfferingsRuleBody: 'Las ofrendas son cartas que entran desde la mano a esta pila. Puedes jugar solo una por turno. Las ofrendas listas pagan costes y vuelven a prepararse al comenzar tu turno.',
62858
+ christianityOfferingRuleBody: 'Se juega desde la mano a la pila de ofrendas. Puedes jugar solo una ofrenda por turno. Sus puntos disponibles pagan costes.',
62859
+ christianityWisdomRuleBody: 'Las cartas de sabiduría entregan efectos tácticos durante tu turno. Para el tutorial se pueden revisar, pero todavía no se resuelven.',
62860
+ christianityActionRuleBody: 'Las acciones son jugadas directas de ataque o defensa. Más adelante podrán responder durante la fase de batalla.',
62861
+ christianityToolRuleBody: 'Las herramientas se anexan a personajes para mejorar o proteger sus estadísticas.',
62862
+ christianityPlaceRuleBody: 'Los lugares cambian la mesa para ambos jugadores. Solo puede haber un lugar activo a la vez.',
62863
+ christianityEventRuleBody: 'Los eventos representan momentos globales que impactan la partida y luego van a historia.',
62864
+ christianityUseAbility: 'Usar',
62865
+ christianityCloseOfferings: 'Cerrar ofrendas',
62866
+ christianityCharacterBody: 'Entra a batalla y debe esperar un turno para atacar.',
62867
+ christianityCharacterRuleBody: 'Se juega en una casilla libre de la zona de batalla. Debe esperar un turno para atacar, salvo que una habilidad indique lo contrario.',
62868
+ christianityCharacterReady: 'Listo para atacar.',
62869
+ christianityCharacterExhausted: 'No puede atacar todavía.',
62870
+ christianityCardRemaining: 'carta restante',
62871
+ christianityCardsRemaining: 'cartas restantes',
62872
+ christianityDeckBody: 'El mazo es una pila compartida. Ambos jugadores roban desde aquí, por eso importa adaptarse a lo que aparece y cuidar el ritmo de la partida.',
62873
+ christianityDeckRuleShared: 'Todas las cartas jugables viven en este mazo compartido, incluyendo personajes y ofrendas.',
62874
+ christianityDeckRuleDraw: 'Al comenzar cada turno, el jugador activo roba la primera carta disponible.',
62875
+ christianityDeckRuleEmpty: 'Si el mazo se queda sin cartas, se revisa la condición de victoria por vida al final del turno.',
62876
+ christianityClosePreview: 'Cerrar previsualizacion de carta',
62877
+ christianityCloseHistory: 'Cerrar historia',
62878
+ christianityHistoryEmpty: 'Todavía no hay cartas en historia.',
62879
+ christianityGallery: 'Galería',
62880
+ christianityCloseGallery: 'Cerrar galería',
62881
+ christianityGallerySearch: 'Buscar',
62882
+ christianityGallerySearchPlaceholder: 'Nombre, texto o referencia',
62883
+ christianityGalleryFilter: 'Tipo',
62884
+ christianityGalleryEmpty: 'No hay cartas que coincidan con el filtro.',
62885
+ christianityGenesisEdition: 'Genesis 1',
62886
+ christianityAllCards: 'Todas',
62887
+ christianityCards: 'cartas',
62888
+ christianityTutorialLoaded: 'Tutorial cargado con cartas reales de Genesis 1.',
62625
62889
  soonTitle: 'Próximamente',
62626
62890
  openGame: 'Jugar',
62627
62891
  close: 'Cerrar',
@@ -62746,10 +63010,10 @@ const MINI_GAMES_I18N = {
62746
63010
  chessimalsRulePowersTitle: 'Cuándo se activan los poderes',
62747
63011
  chessimalsRulePowersBody: 'Tus cartas se desbloquean cuando uno de tus peones cruza la línea central o cuando un peón rival entra en tu mitad del tablero.',
62748
63012
  chessimalsRuleCardsTitle: 'Cartas de animales',
62749
- chessimalsRuleEagle: 'Águila: se mueve hasta 3 casillas en diagonal, hacia adelante o atrás.',
62750
- chessimalsRuleBull: 'Toro: se mueve hasta 3 casillas en línea recta, incluso hacia los lados.',
63013
+ chessimalsRuleEagle: 'Águila: se mueve en diagonal por todo el tablero, hacia adelante o atrás, sin entrar a la última fila.',
63014
+ chessimalsRuleBull: 'Toro: se mueve en línea recta por todo el tablero, incluso hacia los lados, sin entrar a la última fila.',
62751
63015
  chessimalsRuleKangaroo: 'Canguro: salta en L, como el caballo del ajedrez. Puede saltar por encima de piezas y caer libre o capturar una pieza rival.',
62752
- chessimalsRuleLion: 'León: se mueve hasta 3 casillas en cualquier dirección.',
63016
+ chessimalsRuleLion: 'León: se mueve en cualquier dirección por todo el tablero, sin entrar a la última fila.',
62753
63017
  chessimalsRuleLimitsTitle: 'Reglas de equilibrio',
62754
63018
  chessimalsRuleLimitsBody: 'Cada carta se usa una sola vez por partida. Ningún poder puede entrar directamente a la última fila: el paso final para ganar siempre debe ser un avance normal.',
62755
63019
  chessimalsBoardSize: 'Tamaño del tablero',
@@ -62862,6 +63126,18 @@ const MINI_GAMES_I18N = {
62862
63126
  chessimalsBotSprinterBody: 'Optimiza rutas de promoción.',
62863
63127
  chessimalsBotSentinel: 'Centinela',
62864
63128
  chessimalsBotSentinelBody: 'Defiende sólido y castiga errores.',
63129
+ chessimalsBotOracle: 'Oráculo',
63130
+ chessimalsBotOracleBody: 'Lee respuestas y evita trampas profundas.',
63131
+ chessimalsBotAmbusher: 'Emboscador',
63132
+ chessimalsBotAmbusherBody: 'Prepara capturas dobles con poderes largos.',
63133
+ chessimalsBotLocksmith: 'Cerrajero',
63134
+ chessimalsBotLocksmithBody: 'Cierra el centro y reduce tus rutas.',
63135
+ chessimalsBotStorm: 'Tormenta',
63136
+ chessimalsBotStormBody: 'Usa poderes largos para presionar todo el tablero.',
63137
+ chessimalsBotMatriarch: 'Matriarca',
63138
+ chessimalsBotMatriarchBody: 'Protege su estructura y gana por desgaste.',
63139
+ chessimalsBotEndgame: 'Finalista',
63140
+ chessimalsBotEndgameBody: 'Convierte ventajas pequeñas en promoción.',
62865
63141
  chessimalsBotExplorerTendency: 'Tiende a variar rutas, probar el centro y cometer errores suaves.',
62866
63142
  chessimalsBotImpulsiveTendency: 'Tiende a capturar rápido, incluso cuando puede quedar expuesto.',
62867
63143
  chessimalsBotRunnerTendency: 'Tiende a avanzar hacia la promoción antes que defender.',
@@ -62872,6 +63148,12 @@ const MINI_GAMES_I18N = {
62872
63148
  chessimalsBotPredatorTendency: 'Tiende a forzar capturas y usar poderes agresivos.',
62873
63149
  chessimalsBotSprinterTendency: 'Tiende a encontrar caminos rápidos de promoción.',
62874
63150
  chessimalsBotSentinelTendency: 'Tiende a defender sólido y castigar errores.',
63151
+ chessimalsBotOracleTendency: 'Tiende a anticipar respuestas y elegir jugadas difíciles de refutar.',
63152
+ chessimalsBotAmbusherTendency: 'Tiende a dejar piezas bajo amenaza múltiple antes de capturar.',
63153
+ chessimalsBotLocksmithTendency: 'Tiende a cortar rutas por el centro y dejarte sin buenas casillas.',
63154
+ chessimalsBotStormTendency: 'Tiende a convertir poderes largos en presión desde varios ángulos.',
63155
+ chessimalsBotMatriarchTendency: 'Tiende a conservar piezas y cambiar solo cuando queda mejor.',
63156
+ chessimalsBotEndgameTendency: 'Tiende a simplificar y correr hacia la promoción cuando ve ventaja.',
62875
63157
  chessimalsBotReportTitle: 'Reporte del bot',
62876
63158
  chessimalsBotReportVs: 'Contra {bot}',
62877
63159
  chessimalsBotReportBody: '{outcome}. Hizo {captures} capturas y usó {powers} poderes. {style}',
@@ -63053,7 +63335,7 @@ const MINI_GAMES_I18N = {
63053
63335
  chessimalsTutorialStep4Title: 'Devuelve el turno',
63054
63336
  chessimalsTutorialStep4Body: 'Mueve el peón negro de la columna F una casilla hacia abajo para continuar.',
63055
63337
  chessimalsTutorialStep5Title: 'Usa el poder Canguro',
63056
- chessimalsTutorialStep5Body: 'Selecciona la carta Canguro y salta en L para capturar el peón negro.',
63338
+ chessimalsTutorialStep5Body: 'Selecciona la carta Canguro y salta en L para capturar el peón negro. Las otras cartas pueden cruzar todo el tablero, pero ningún poder puede entrar a la última fila.',
63057
63339
  chessimalsTutorialStep6Title: 'Prepara la llegada',
63058
63340
  chessimalsTutorialStep6Body: 'Mueve el último peón negro hacia abajo. Después tendrás camino para ganar.',
63059
63341
  chessimalsTutorialStep7Title: 'Llega a la última fila',
@@ -63126,6 +63408,121 @@ const MINI_GAMES_I18N = {
63126
63408
  bubbleDescription: 'Pop bubble groups, chain combos, and push your score higher.',
63127
63409
  chessimalsTitle: 'Chessimals',
63128
63410
  chessimalsDescription: 'A pawn race with animal cards and tactical powers.',
63411
+ christianityTitle: 'Christianity',
63412
+ christianityDescription: 'A family card game with leaders, offerings, and tactical choices.',
63413
+ christianityEyebrow: 'Table MVP',
63414
+ christianityTable: 'Christianity table',
63415
+ christianitySplashEyebrow: 'Genesis 1',
63416
+ christianitySplashTitle: 'Preparing table',
63417
+ christianitySplashLoading: 'Loading real cards and building the tutorial deck.',
63418
+ christianitySplashReady: 'Deck ready. You can enter the tutorial.',
63419
+ christianitySplashFallback: 'The real edition could not be loaded. The test deck will be used.',
63420
+ christianityStartTitle: 'Choose how to enter',
63421
+ christianityStartBody: 'Play a small tutorial with real cards or browse the full edition in the gallery.',
63422
+ christianityTutorialMode: 'MVP tutorial',
63423
+ christianityTutorialModeBody: 'A reduced table with leaders, offerings, and simple characters to test the match flow.',
63424
+ christianityStartTutorial: 'Play tutorial',
63425
+ christianityGalleryModeBody: 'Explore the ordered edition, filter by type, and open the card preview.',
63426
+ christianityOpenGallery: 'Open gallery',
63427
+ christianityHowToPlay: 'How to play',
63428
+ christianityHowToPlayBody: 'Review goal, turn flow, offerings, and battle before entering the table.',
63429
+ christianityHowToPlayIntro: 'Christianity uses a shared deck. The heart of the game is adapting to what appears and choosing when to spend offerings.',
63430
+ christianityHowToPlayGoal: 'Win by reducing the rival leader life to 0, or by having more life if the deck runs out.',
63431
+ christianityHowToPlayTurn: 'On your turn you ready offerings, draw a card, play cards, and then may attack.',
63432
+ christianityHowToPlayOfferings: 'You can play only one offering from your hand each turn. Ready offerings pay costs.',
63433
+ christianityHowToPlayBattle: 'If the rival has characters, you must attack characters before the leader.',
63434
+ christianityEditionStatus: 'Edition status',
63435
+ christianityTutorialActive: 'MVP tutorial active',
63436
+ christianityCatalogReady: 'Real catalog loaded',
63437
+ christianityCatalogFallback: 'Test deck active',
63438
+ christianityCatalogLoading: 'Loading catalog',
63439
+ christianityFutureModes: 'Future modes',
63440
+ christianitySoloBotMode: 'Solo with bot',
63441
+ christianitySoloBotModeBody: 'A guided match to practice turns, offerings, and combat.',
63442
+ christianityTwoPlayerMode: 'Two players',
63443
+ christianityTwoPlayerModeBody: 'Online match with synced state and private hands.',
63444
+ christianityOneDeviceMode: 'One device',
63445
+ christianityOneDeviceModeBody: 'Local mode for family play by passing the device.',
63446
+ christianitySpectatorMode: 'Spectator',
63447
+ christianitySpectatorModeBody: 'Public table to watch matches without revealing private information.',
63448
+ christianityTurn: 'Turn',
63449
+ christianityOfferings: 'Offerings',
63450
+ christianityHand: 'Hand',
63451
+ christianityOpponentBattle: 'Opponent battle zone',
63452
+ christianityYourBattle: 'Your battle zone',
63453
+ christianityOpponentHand: 'Opponent hand',
63454
+ christianitySharedZone: 'Shared zone',
63455
+ christianityMatch: 'Match',
63456
+ christianityMatchScore: 'Match score',
63457
+ christianityHistory: 'History',
63458
+ christianityDeck: 'Deck',
63459
+ christianityPlace: 'Place',
63460
+ christianityEmpty: 'Empty',
63461
+ christianityYourHand: 'Your hand',
63462
+ christianityCost: 'Cost',
63463
+ christianityOfferingCard: 'Offering',
63464
+ christianityCharacterCard: 'Character',
63465
+ christianityLeaderCard: 'Leader',
63466
+ christianityWisdomCard: 'Wisdom',
63467
+ christianityActionCard: 'Action',
63468
+ christianityToolCard: 'Tool',
63469
+ christianityPlaceCard: 'Place',
63470
+ christianityEventCard: 'Event',
63471
+ christianityCardRule: 'Card rule',
63472
+ christianityHiddenCard: 'Hidden card',
63473
+ christianityPreviewCard: 'Preview card',
63474
+ christianityEndTurn: 'End turn',
63475
+ christianityPlayCard: 'Play card',
63476
+ christianityPlayOffering: 'Play offering',
63477
+ christianityPlayHere: 'Play here',
63478
+ christianityReset: 'Reset mock',
63479
+ christianityWaitTurn: 'Wait for the opponent turn.',
63480
+ christianityChooseTarget: 'Choose a target to attack.',
63481
+ christianityChooseCharacterTarget: 'The opponent has characters: attack them before the leader.',
63482
+ christianityReadyToPlay: 'You can play this card.',
63483
+ christianityChooseSlot: 'Choose an available slot to play this card.',
63484
+ christianityPlaceOffering: 'You can play this offering with the action button.',
63485
+ christianityNeedOfferings: 'You need more offerings to play that card.',
63486
+ christianityChooseCard: 'Choose a card or a ready character.',
63487
+ christianityLeaderProtected: 'You cannot attack the leader directly while they have characters in battle.',
63488
+ christianityLeaderBody: 'If this leader reaches 0 life, the game ends.',
63489
+ christianityLeaderRuleBody: 'The leader represents the player. If their life reaches 0, they lose the game. They cannot be attacked directly while they have characters in battle.',
63490
+ christianityOfferingReady: 'Ready',
63491
+ christianityOfferingExhausted: 'Exhausted',
63492
+ christianityOfferingBody: 'Exhaust it to pay costs. It readies again at the start of your turn.',
63493
+ christianityOfferingNoAbility: 'This offering has no active ability.',
63494
+ christianityOfferingsRuleBody: 'Offerings are cards played from your hand into this pile. You can play only one per turn. Ready offerings pay costs and ready again at the start of your turn.',
63495
+ christianityOfferingRuleBody: 'Play it from your hand into the offering pile. You can play only one offering per turn. Its available points pay costs.',
63496
+ christianityWisdomRuleBody: 'Wisdom cards provide tactical effects during your turn. In the tutorial you can inspect them, but they do not resolve yet.',
63497
+ christianityActionRuleBody: 'Actions are direct offensive or defensive plays. Later they will be able to respond during the battle phase.',
63498
+ christianityToolRuleBody: 'Tools attach to characters to improve or protect their stats.',
63499
+ christianityPlaceRuleBody: 'Places change the table for both players. Only one place can be active at a time.',
63500
+ christianityEventRuleBody: 'Events represent global moments that affect the match and then move to history.',
63501
+ christianityUseAbility: 'Use',
63502
+ christianityCloseOfferings: 'Close offerings',
63503
+ christianityCharacterBody: 'Enters battle and must wait one turn before attacking.',
63504
+ christianityCharacterRuleBody: 'Play it into an open battle slot. It must wait one turn before attacking unless an ability says otherwise.',
63505
+ christianityCharacterReady: 'Ready to attack.',
63506
+ christianityCharacterExhausted: 'Cannot attack yet.',
63507
+ christianityCardRemaining: 'card remaining',
63508
+ christianityCardsRemaining: 'cards remaining',
63509
+ christianityDeckBody: 'The deck is a shared pile. Both players draw from it, so the match rewards adapting to what appears and managing the pace.',
63510
+ christianityDeckRuleShared: 'All playable cards live in this shared deck, including characters and offerings.',
63511
+ christianityDeckRuleDraw: 'At the start of each turn, the active player draws the first available card.',
63512
+ christianityDeckRuleEmpty: 'If the deck runs out, the leader life victory condition is checked at the end of the turn.',
63513
+ christianityClosePreview: 'Close card preview',
63514
+ christianityCloseHistory: 'Close history',
63515
+ christianityHistoryEmpty: 'There are no cards in history yet.',
63516
+ christianityGallery: 'Gallery',
63517
+ christianityCloseGallery: 'Close gallery',
63518
+ christianityGallerySearch: 'Search',
63519
+ christianityGallerySearchPlaceholder: 'Name, text, or reference',
63520
+ christianityGalleryFilter: 'Type',
63521
+ christianityGalleryEmpty: 'No cards match this filter.',
63522
+ christianityGenesisEdition: 'Genesis 1',
63523
+ christianityAllCards: 'All',
63524
+ christianityCards: 'cards',
63525
+ christianityTutorialLoaded: 'Tutorial loaded with real Genesis 1 cards.',
63129
63526
  soonTitle: 'Coming soon',
63130
63527
  openGame: 'Play',
63131
63528
  close: 'Close',
@@ -63250,10 +63647,10 @@ const MINI_GAMES_I18N = {
63250
63647
  chessimalsRulePowersTitle: 'When powers unlock',
63251
63648
  chessimalsRulePowersBody: 'Your cards unlock when one of your pawns crosses the center line, or when a rival pawn enters your half of the board.',
63252
63649
  chessimalsRuleCardsTitle: 'Animal cards',
63253
- chessimalsRuleEagle: 'Eagle: moves up to 3 squares diagonally, forward or backward.',
63254
- chessimalsRuleBull: 'Bull: moves up to 3 squares in a straight line, including sideways.',
63650
+ chessimalsRuleEagle: 'Eagle: moves diagonally across the whole board, forward or backward, without entering the final row.',
63651
+ chessimalsRuleBull: 'Bull: moves in a straight line across the whole board, including sideways, without entering the final row.',
63255
63652
  chessimalsRuleKangaroo: 'Kangaroo: jumps in an L shape, like a chess knight. It can jump over pieces and land on an empty square or capture a rival piece.',
63256
- chessimalsRuleLion: 'Lion: moves up to 3 squares in any direction.',
63653
+ chessimalsRuleLion: 'Lion: moves in any direction across the whole board, without entering the final row.',
63257
63654
  chessimalsRuleLimitsTitle: 'Balance rules',
63258
63655
  chessimalsRuleLimitsBody: 'Each card can be used once per game. No power can land directly on the final row: the winning step must always be a normal forward move.',
63259
63656
  chessimalsBoardSize: 'Board size',
@@ -63366,6 +63763,18 @@ const MINI_GAMES_I18N = {
63366
63763
  chessimalsBotSprinterBody: 'Optimizes promotion routes.',
63367
63764
  chessimalsBotSentinel: 'Sentinel',
63368
63765
  chessimalsBotSentinelBody: 'Defends solidly and punishes mistakes.',
63766
+ chessimalsBotOracle: 'Oracle',
63767
+ chessimalsBotOracleBody: 'Reads replies and avoids deep traps.',
63768
+ chessimalsBotAmbusher: 'Ambusher',
63769
+ chessimalsBotAmbusherBody: 'Sets up double captures with long powers.',
63770
+ chessimalsBotLocksmith: 'Locksmith',
63771
+ chessimalsBotLocksmithBody: 'Closes the center and reduces your routes.',
63772
+ chessimalsBotStorm: 'Storm',
63773
+ chessimalsBotStormBody: 'Uses long powers to pressure the whole board.',
63774
+ chessimalsBotMatriarch: 'Matriarch',
63775
+ chessimalsBotMatriarchBody: 'Protects structure and wins by attrition.',
63776
+ chessimalsBotEndgame: 'Endgame',
63777
+ chessimalsBotEndgameBody: 'Turns small edges into promotion.',
63369
63778
  chessimalsBotExplorerTendency: 'Tends to vary routes, test the center, and make soft mistakes.',
63370
63779
  chessimalsBotImpulsiveTendency: 'Tends to capture quickly, even when it can become exposed.',
63371
63780
  chessimalsBotRunnerTendency: 'Tends to push toward promotion before defending.',
@@ -63376,6 +63785,12 @@ const MINI_GAMES_I18N = {
63376
63785
  chessimalsBotPredatorTendency: 'Tends to force captures and use aggressive powers.',
63377
63786
  chessimalsBotSprinterTendency: 'Tends to find fast promotion paths.',
63378
63787
  chessimalsBotSentinelTendency: 'Tends to defend solidly and punish mistakes.',
63788
+ chessimalsBotOracleTendency: 'Tends to anticipate replies and choose hard-to-refute moves.',
63789
+ chessimalsBotAmbusherTendency: 'Tends to leave pieces under multiple threats before capturing.',
63790
+ chessimalsBotLocksmithTendency: 'Tends to close central routes and leave you without good squares.',
63791
+ chessimalsBotStormTendency: 'Tends to turn long powers into pressure from several angles.',
63792
+ chessimalsBotMatriarchTendency: 'Tends to preserve pieces and trade only when it improves.',
63793
+ chessimalsBotEndgameTendency: 'Tends to simplify and race toward promotion when ahead.',
63379
63794
  chessimalsBotReportTitle: 'Bot report',
63380
63795
  chessimalsBotReportVs: 'Against {bot}',
63381
63796
  chessimalsBotReportBody: '{outcome}. It made {captures} captures and used {powers} powers. {style}',
@@ -63557,7 +63972,7 @@ const MINI_GAMES_I18N = {
63557
63972
  chessimalsTutorialStep4Title: 'Return the turn',
63558
63973
  chessimalsTutorialStep4Body: 'Move the black pawn on file F one square downward to continue.',
63559
63974
  chessimalsTutorialStep5Title: 'Use the Kangaroo power',
63560
- chessimalsTutorialStep5Body: 'Select the Kangaroo card and jump in an L shape to capture the black pawn.',
63975
+ chessimalsTutorialStep5Body: 'Select the Kangaroo card and jump in an L shape to capture the black pawn. The other cards can cross the whole board, but no power can enter the final row.',
63561
63976
  chessimalsTutorialStep6Title: 'Prepare the finish',
63562
63977
  chessimalsTutorialStep6Body: 'Move the last black pawn downward. Then your path to win is open.',
63563
63978
  chessimalsTutorialStep7Title: 'Reach the last row',
@@ -64774,6 +65189,7 @@ class ChessimalsGameComponent {
64774
65189
  });
64775
65190
  this.botThinking = signal(false);
64776
65191
  this.confirmAction = signal(undefined);
65192
+ this.confirmedAction = signal(undefined);
64777
65193
  this.onlineJoinCode = signal('');
64778
65194
  this.onlineLoading = signal(false);
64779
65195
  this.onlineAction = signal(undefined);
@@ -65804,13 +66220,12 @@ class ChessimalsGameComponent {
65804
66220
  closeConfirmModal() {
65805
66221
  this.confirmAction.set(undefined);
65806
66222
  }
65807
- confirmPendingAction(token) {
65808
- if (token !== 'confirm') {
65809
- this.closeConfirmModal();
65810
- return;
65811
- }
65812
- const action = this.confirmAction();
66223
+ handleConfirmModalDismissed() {
65813
66224
  this.confirmAction.set(undefined);
66225
+ const action = this.confirmedAction();
66226
+ this.confirmedAction.set(undefined);
66227
+ if (!action)
66228
+ return;
65814
66229
  if (action === 'restart') {
65815
66230
  this.restartGame();
65816
66231
  return;
@@ -65832,6 +66247,15 @@ class ChessimalsGameComponent {
65832
66247
  this.createNewChallengeRun();
65833
66248
  }
65834
66249
  }
66250
+ confirmPendingAction(token) {
66251
+ if (token !== 'confirm') {
66252
+ this.closeConfirmModal();
66253
+ return;
66254
+ }
66255
+ const action = this.confirmAction();
66256
+ this.confirmedAction.set(action);
66257
+ this.confirmAction.set(undefined);
66258
+ }
65835
66259
  resignGame() {
65836
66260
  const game = this.game();
65837
66261
  if (game.status === 'finished')
@@ -68765,7 +69189,7 @@ class ChessimalsGameComponent {
68765
69189
  <ion-modal
68766
69190
  [isOpen]="!!confirmAction()"
68767
69191
  cssClass="val-modal-adaptive"
68768
- (didDismiss)="closeConfirmModal()"
69192
+ (didDismiss)="handleConfirmModalDismissed()"
68769
69193
  >
68770
69194
  <ng-template>
68771
69195
  <val-modal-layout
@@ -70055,7 +70479,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
70055
70479
  <ion-modal
70056
70480
  [isOpen]="!!confirmAction()"
70057
70481
  cssClass="val-modal-adaptive"
70058
- (didDismiss)="closeConfirmModal()"
70482
+ (didDismiss)="handleConfirmModalDismissed()"
70059
70483
  >
70060
70484
  <ng-template>
70061
70485
  <val-modal-layout
@@ -70081,6 +70505,2520 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
70081
70505
  type: Input
70082
70506
  }] } });
70083
70507
 
70508
+ class ChristianityCardComponent {
70509
+ constructor() {
70510
+ this.card = input.required();
70511
+ this.variant = input('table');
70512
+ this.normalizedTypeLabel = computed(() => this.card().typeLabel.toUpperCase());
70513
+ this.frontTemplate = computed(() => this.card().frontTemplate ?? 'genesis-classic');
70514
+ this.isGenesisClassicTemplate = computed(() => this.frontTemplate() === 'genesis-classic' || this.frontTemplate() === 'genesis-classic-extra');
70515
+ this.typeIconUrl = computed(() => `assets/games/christianity/icons/${this.iconName(this.card().type)}.png`);
70516
+ this.headerMetric = computed(() => {
70517
+ const card = this.card();
70518
+ if (card.type === 'leader')
70519
+ return null;
70520
+ if (card.type === 'offering')
70521
+ return { kind: 'pips', value: card.offeringValue ?? 0 };
70522
+ if (typeof card.cost === 'number')
70523
+ return { kind: 'number', value: card.cost };
70524
+ return null;
70525
+ });
70526
+ this.cardStatsText = computed(() => {
70527
+ const card = this.card();
70528
+ if (card.type !== 'character')
70529
+ return '';
70530
+ return `${card.attack ?? 0} / ${card.currentHp ?? card.life ?? 0}`;
70531
+ });
70532
+ this.leaderLifeText = computed(() => {
70533
+ const card = this.card();
70534
+ const current = card.currentHp ?? card.life ?? 0;
70535
+ const max = card.maxHp ?? card.life ?? current;
70536
+ return `${current}/${max}`;
70537
+ });
70538
+ }
70539
+ offeringPips(value) {
70540
+ const count = Number(value);
70541
+ if (!Number.isFinite(count) || count <= 0)
70542
+ return [];
70543
+ return Array.from({ length: Math.min(Math.floor(count), 5) });
70544
+ }
70545
+ iconName(type) {
70546
+ if (type === 'character')
70547
+ return 'character';
70548
+ if (type === 'offering')
70549
+ return 'offering';
70550
+ if (type === 'leader')
70551
+ return 'leader';
70552
+ return type;
70553
+ }
70554
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70555
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ChristianityCardComponent, isStandalone: true, selector: "val-christianity-card", inputs: { card: { classPropertyName: "card", publicName: "card", isSignal: true, isRequired: true, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
70556
+ @if (variant() === 'back') {
70557
+ <article class="christianity-card-render christianity-card-render--back" aria-hidden="true">
70558
+ <span></span>
70559
+ </article>
70560
+ } @else {
70561
+ <article
70562
+ class="christianity-card-render"
70563
+ [class.christianity-card-render--full]="variant() === 'full'"
70564
+ [class.christianity-card-render--compact]="variant() !== 'full'"
70565
+ [class.christianity-card-render--table]="variant() === 'table'"
70566
+ [class.christianity-card-render--hand]="variant() === 'hand'"
70567
+ [class.christianity-card-render--list]="variant() === 'list'"
70568
+ [class.christianity-card-render--template-genesis-classic]="isGenesisClassicTemplate()"
70569
+ [class.christianity-card-render--template-genesis-full-art]="frontTemplate() === 'genesis-full-art'"
70570
+ [class.is-leader]="card().type === 'leader'"
70571
+ [class.is-offering]="card().type === 'offering'"
70572
+ >
70573
+ <header class="christianity-card-render__header">
70574
+ <span class="christianity-card-render__type-icon" aria-hidden="true">
70575
+ <img [src]="typeIconUrl()" alt="" />
70576
+ </span>
70577
+ <strong>{{ card().name }}</strong>
70578
+ @if (headerMetric(); as metric) {
70579
+ <span
70580
+ class="christianity-card-render__metric"
70581
+ [class.is-pips]="metric.kind === 'pips'"
70582
+ [class.is-offering-value]="card().type === 'offering'"
70583
+ >
70584
+ @if (metric.kind === 'pips') {
70585
+ @for (_ of offeringPips(metric.value); track $index) {
70586
+ <i aria-hidden="true"></i>
70587
+ }
70588
+ } @else {
70589
+ {{ metric.value }}
70590
+ }
70591
+ </span>
70592
+ }
70593
+ </header>
70594
+
70595
+ <section class="christianity-card-render__art" [class.has-image]="card().imageUrl">
70596
+ @if (card().imageUrl) {
70597
+ <img [src]="card().imageUrl" [alt]="card().name" />
70598
+ } @else {
70599
+ <span>{{ card().name }}</span>
70600
+ }
70601
+ <small>{{ normalizedTypeLabel() }}</small>
70602
+ </section>
70603
+
70604
+ @if (variant() === 'full') {
70605
+ <section class="christianity-card-render__verse">
70606
+ @if (card().verseText) {
70607
+ <p>{{ card().verseText }}</p>
70608
+ }
70609
+ @if (card().scripture) {
70610
+ <strong>{{ card().scripture }}</strong>
70611
+ }
70612
+ </section>
70613
+ }
70614
+
70615
+ <section class="christianity-card-render__effect">
70616
+ @if (card().editionIcon) {
70617
+ <img class="christianity-card-render__edition-watermark" [src]="card().editionIcon" alt="" aria-hidden="true" />
70618
+ }
70619
+ <div class="christianity-card-render__stats">
70620
+ @if (card().type === 'offering') {
70621
+ <strong class="is-pips">
70622
+ @for (_ of offeringPips(card().offeringValue); track $index) {
70623
+ <i aria-hidden="true"></i>
70624
+ }
70625
+ </strong>
70626
+ } @else if (card().type === 'leader') {
70627
+ <strong>{{ leaderLifeText() }}</strong>
70628
+ } @else if (cardStatsText()) {
70629
+ <strong>{{ cardStatsText() }}</strong>
70630
+ }
70631
+ </div>
70632
+ @if (variant() === 'full') {
70633
+ <div class="christianity-card-render__text">
70634
+ @if (card().abilityName) {
70635
+ <strong>{{ card().abilityName }}</strong>
70636
+ }
70637
+ @if (card().abilityText || card().statusText) {
70638
+ <p>{{ card().abilityText || card().statusText }}</p>
70639
+ }
70640
+ </div>
70641
+ <span
70642
+ class="christianity-card-render__rarity"
70643
+ [class.is-normal]="!card().rarity || card().rarity === 'normal'"
70644
+ [class.is-uncommon]="card().rarity === 'uncommon'"
70645
+ [class.is-rare]="card().rarity === 'rare'"
70646
+ [class.is-legendary]="card().rarity === 'legendary'"
70647
+ aria-hidden="true"
70648
+ ></span>
70649
+ }
70650
+ </section>
70651
+
70652
+ @if (variant() === 'full') {
70653
+ <footer class="christianity-card-render__footer">
70654
+ <span>{{ card().edition ?? 'MVP' }}</span>
70655
+ <span>{{ card().collectorNumber ?? card().id }}</span>
70656
+ <span>{{ card().year ?? '2026' }} CHRISTIANITY</span>
70657
+ <span>{{ card().author ?? 'MVP' }}</span>
70658
+ </footer>
70659
+ }
70660
+ </article>
70661
+ }
70662
+ `, isInline: true, styles: [":host{--christianity-card-aspect: 5 / 7.45;--christianity-card-back: linear-gradient(135deg, rgba(16, 42, 67, .16), rgba(16, 42, 67, .03)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);display:block;width:100%;min-width:0}.christianity-card-render{position:relative;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.28rem;width:100%;min-width:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;overflow:hidden;border:1px solid rgba(36,48,68,.16);border-radius:.52rem;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 18% 0%,rgba(214,162,29,.12),transparent 44%);color:var(--val-text-color, #1f2933);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-render>*{position:relative;z-index:1}.christianity-card-render--template-genesis-classic{--christianity-frame-width: .26rem;padding:calc(.48rem + var(--christianity-frame-width));border-color:#39475733;background:linear-gradient(180deg,#aab8c7f5,#8fa0b1fa),radial-gradient(circle at 18% 0%,rgba(255,255,255,.24),transparent 42%);box-shadow:0 .5rem 1.25rem #24304421,inset 0 0 0 1px #ffffff6b,inset 0 0 0 var(--christianity-frame-width) #8797a980}.christianity-card-render--template-genesis-classic:before{content:\"\";position:absolute;inset:var(--christianity-frame-width);z-index:0;border-radius:.44rem;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 18% 0%,rgba(214,162,29,.1),transparent 44%);box-shadow:inset 0 0 0 1px #ffffffb8,0 .16rem .35rem #2430441a}.christianity-card-render--full{grid-template-rows:auto minmax(6.9rem,1.15fr) minmax(0,auto) minmax(4.8rem,.9fr) auto;gap:.38rem;min-height:0;padding:.56rem;border-color:#2430442e;border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 20% 0%,rgba(214,162,29,.18),transparent 45%);box-shadow:0 0 0 .18rem #fff4c294,0 0 2.2rem #f5c75552,0 2.4rem 5rem #102a4357,inset 0 0 0 .35rem #ffffff8c}.christianity-card-render--full.christianity-card-render--template-genesis-classic{--christianity-frame-width: .34rem;padding:calc(.56rem + var(--christianity-frame-width));border-radius:.78rem;box-shadow:0 0 0 .14rem #ffffff6b,0 0 2.2rem #f5c7552e,0 2.4rem 5rem #102a4357,inset 0 0 0 1px #ffffff5c,inset 0 0 0 var(--christianity-frame-width) #8797a994}.christianity-card-render--full.christianity-card-render--template-genesis-classic:before{border-radius:.56rem}.christianity-card-render--template-genesis-full-art{border-color:#090d1594;background:#111827;color:#fff;text-shadow:0 .08rem .18rem rgba(0,0,0,.72);box-shadow:0 .7rem 1.45rem #090d1533,inset 0 0 1.2rem #ffffff1a}.christianity-card-render--template-genesis-full-art .christianity-card-render__art{border-radius:.36rem;box-shadow:inset 0 0 0 1px #ffffff29,inset 0 -2rem 2.5rem #090d154d}.christianity-card-render--template-genesis-full-art .christianity-card-render__effect{background:#090d1594;color:#fff;box-shadow:inset 0 0 0 1px #ffffff1f}.christianity-card-render--template-genesis-full-art .christianity-card-render__verse{color:#fff}.christianity-card-render--template-genesis-full-art .christianity-card-render__stats strong{background:#ffffffe6;color:#1f2933;text-shadow:none}.christianity-card-render--full.christianity-card-render--template-genesis-full-art{grid-template-rows:auto minmax(14rem,1fr) auto minmax(8rem,auto) auto;min-height:min(35rem,calc(100vh - 4rem));border-radius:.72rem;background:radial-gradient(circle at 50% 8%,rgba(255,255,255,.16),transparent 38%),#090d15;box-shadow:0 0 0 .12rem #ffffff1f,0 2.4rem 5rem #090d157a,inset 0 0 1.8rem #ffffff24}.christianity-card-render--back{place-items:center;padding:.55rem;background:var(--christianity-card-back);box-shadow:0 .8rem 1.55rem #24304424}.christianity-card-render--back:before{content:\"\";position:absolute;inset:.5rem;border:1px solid rgba(16,42,67,.12);border-radius:.38rem;background:linear-gradient(180deg,#ffffff2e,#ffffff0a);box-shadow:inset 0 0 0 .12rem #ffffff1f}.christianity-card-render--list{grid-template-rows:auto minmax(0,1fr) auto;gap:.22rem;padding:.38rem;border-radius:.48rem;box-shadow:0 .45rem 1rem #2430441a,inset 0 0 0 .14rem #ffffff9e}.christianity-card-render--compact{grid-template-rows:minmax(1.4rem,auto) minmax(0,1fr) minmax(1.95rem,auto);gap:.26rem;padding:.42rem}.christianity-card-render--compact.christianity-card-render--template-genesis-classic{--christianity-frame-width: .2rem;padding:calc(.42rem + var(--christianity-frame-width))}.christianity-card-render--compact.christianity-card-render--template-genesis-classic:before{border-radius:.42rem}.christianity-card-render__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.34rem;align-items:center;min-width:0}.christianity-card-render__type-icon,.christianity-card-render__metric{display:grid;place-items:center;border-radius:999px}.christianity-card-render__type-icon{width:1.2rem;height:1.2rem;background:#24304414}.christianity-card-render__type-icon img{width:.82rem;height:.82rem;object-fit:contain}.christianity-card-render__header strong{min-width:0;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(.86rem,2.5vw,1.06rem);line-height:1.04}.christianity-card-render--compact .christianity-card-render__header{gap:.24rem;align-items:start}.christianity-card-render--compact .christianity-card-render__type-icon{width:1rem;height:1rem}.christianity-card-render--compact .christianity-card-render__type-icon img{width:.7rem;height:.7rem}.christianity-card-render--compact .christianity-card-render__header strong{font-size:clamp(.72rem,2vw,.92rem);line-height:.98;-webkit-line-clamp:2}.christianity-card-render--list .christianity-card-render__header{gap:.22rem}.christianity-card-render--list .christianity-card-render__type-icon{width:.9rem;height:.9rem}.christianity-card-render--list .christianity-card-render__type-icon img{width:.62rem;height:.62rem}.christianity-card-render--list .christianity-card-render__header strong{font-size:.72rem;line-height:1;-webkit-line-clamp:2}.christianity-card-render--full .christianity-card-render__type-icon{width:1.32rem;height:1.32rem}.christianity-card-render--full .christianity-card-render__type-icon img{width:.84rem;height:.84rem}.christianity-card-render--full .christianity-card-render__header strong{font-size:clamp(1.1rem,5vw,1.55rem)}.christianity-card-render__metric{min-width:1.52rem;height:1.52rem;padding:0 .24rem;background:#ffd91a;color:#243044;font-size:.86rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-render--compact .christianity-card-render__metric{min-width:1.28rem;height:1.28rem;padding:0 .2rem;font-size:.72rem}.christianity-card-render--list .christianity-card-render__metric{min-width:1.2rem;height:1.2rem;padding:0 .18rem;font-size:.7rem}.christianity-card-render--full .christianity-card-render__metric{min-width:1.72rem;height:1.72rem;padding:0 .3rem;font-size:.98rem}.christianity-card-render--full .christianity-card-render__metric.is-offering-value{display:none}.christianity-card-render__metric.is-pips,.christianity-card-render__stats .is-pips{grid-auto-flow:column;gap:.16rem;min-width:auto;padding:0 .28rem}.christianity-card-render__metric i,.christianity-card-render__stats i{display:block;width:.72rem;height:.72rem;border-radius:999px;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 .12rem,transparent .13rem),#ffd91a;box-shadow:inset 0 -.08rem #52401c2e,0 .12rem .24rem #102a431a}.christianity-card-render--compact .christianity-card-render__metric i,.christianity-card-render--compact .christianity-card-render__stats i{width:.5rem;height:.5rem}.christianity-card-render--list .christianity-card-render__metric i,.christianity-card-render--list .christianity-card-render__stats i{width:.48rem;height:.48rem}.christianity-card-render__art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-render__art img{width:100%;height:100%;object-fit:cover}.christianity-card-render__art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-render--list .christianity-card-render__art>span{max-width:82%;font-size:.7rem}.christianity-card-render--full .christianity-card-render__art>span{font-size:clamp(1.1rem,5vw,1.8rem)}.christianity-card-render__art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-render--compact .christianity-card-render__art{border-radius:.3rem}.christianity-card-render--compact .christianity-card-render__art>span{max-width:76%;display:-webkit-box;font-size:clamp(.66rem,1.9vw,.84rem);-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-render--compact .christianity-card-render__art small{bottom:.22rem;max-width:72%;padding:.08rem .28rem;font-size:.42rem}.christianity-card-render--list .christianity-card-render__art small{bottom:.2rem;padding:.08rem .26rem;font-size:.42rem}.christianity-card-render--full .christianity-card-render__art small{bottom:.42rem;min-width:4.4rem;padding:.14rem .42rem;font-size:.58rem;text-align:center}.christianity-card-render__verse,.christianity-card-render__effect{display:grid;gap:.32rem}.christianity-card-render__verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.66rem,2.45vw,.78rem)}.christianity-card-render__verse p,.christianity-card-render__effect p{margin:0;line-height:1.18}.christianity-card-render--full .christianity-card-render__verse p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.christianity-card-render__verse strong{font-family:inherit;font-size:.72rem;font-weight:900}.christianity-card-render__effect{position:relative;align-content:center;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-render--compact .christianity-card-render__effect{align-content:end;min-height:1.95rem;padding:.2rem .24rem;border-radius:.3rem;background:radial-gradient(circle at 50% 80%,rgba(36,48,68,.05),transparent 45%),linear-gradient(180deg,#ffffffd1,#fffffff0)}.christianity-card-render--list .christianity-card-render__effect{min-height:1.26rem;padding:.16rem;border-radius:.28rem}.christianity-card-render__edition-watermark{position:absolute;top:50%;left:50%;z-index:0;width:min(42%,4.8rem);max-width:none;opacity:.055;pointer-events:none;transform:translate(-50%,-50%)}.christianity-card-render--compact .christianity-card-render__edition-watermark{width:min(36%,2.6rem);opacity:.045}.christianity-card-render--full .christianity-card-render__effect{align-content:start;min-height:4.8rem;padding:.42rem .5rem;border-radius:.45rem}.christianity-card-render--full .christianity-card-render__edition-watermark{width:min(40%,5.4rem);opacity:.055}.christianity-card-render__stats{position:relative;z-index:1;display:flex;gap:.65rem;min-height:1rem}.christianity-card-render--compact .christianity-card-render__stats{align-items:end;min-height:1rem}.christianity-card-render__stats strong{justify-self:end;align-self:end;margin-left:auto;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-render--compact .christianity-card-render__stats strong{padding:.1rem .28rem;font-size:clamp(.64rem,1.9vw,.78rem)}.christianity-card-render--list .christianity-card-render__stats{min-height:.95rem}.christianity-card-render--list .christianity-card-render__stats strong{padding:.1rem .26rem;font-size:.66rem}.christianity-card-render--full .christianity-card-render__stats strong{margin-left:0;padding:0;background:transparent;font-size:.9rem}.christianity-card-render__text{position:relative;z-index:1;display:grid;gap:.12rem}.christianity-card-render__text strong{font-size:.78rem;line-height:1.05}.christianity-card-render__text p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:clamp(.72rem,2.7vw,.84rem);line-height:1.18}.christianity-card-render__rarity{position:absolute;top:.62rem;right:.62rem;z-index:1;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-card-render__rarity.is-normal{background:#d1d5db}.christianity-card-render__rarity.is-uncommon{background:#22c55e}.christianity-card-render__rarity.is-rare{background:#3b82f6}.christianity-card-render__rarity.is-legendary{background:#eab308}.christianity-card-render__footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.24rem;align-items:center;color:#1f2933ad;font-size:.5rem;line-height:1;text-transform:uppercase}.christianity-card-render__footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host-context(.dark),:host-context(.ion-palette-dark),:host-context(html.ion-palette-dark),:host-context(body.dark),:host-context([data-theme=\"dark\"]){--christianity-card-back: linear-gradient(135deg, rgba(147, 197, 253, .2), rgba(15, 23, 42, .08)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);color-scheme:dark}:host-context(.dark) .christianity-card-render,:host-context(.ion-palette-dark) .christianity-card-render,:host-context(html.ion-palette-dark) .christianity-card-render,:host-context(body.dark) .christianity-card-render,:host-context([data-theme=\"dark\"]) .christianity-card-render{box-shadow:0 .5rem 1.25rem #0000003d,inset 0 0 0 .18rem #ffffff61}:host-context(.dark) .christianity-card-render--back,:host-context(.ion-palette-dark) .christianity-card-render--back,:host-context(html.ion-palette-dark) .christianity-card-render--back,:host-context(body.dark) .christianity-card-render--back,:host-context([data-theme=\"dark\"]) .christianity-card-render--back{border-color:#93c5fd38;box-shadow:0 .8rem 1.55rem #00000052}:host-context(.dark) .christianity-card-render--back:before,:host-context(.ion-palette-dark) .christianity-card-render--back:before,:host-context(html.ion-palette-dark) .christianity-card-render--back:before,:host-context(body.dark) .christianity-card-render--back:before,:host-context([data-theme=\"dark\"]) .christianity-card-render--back:before{border-color:#93c5fd29;background:linear-gradient(180deg,#93c5fd24,#0f172a0a)}:host-context(.dark) .christianity-card-render--list,:host-context(.ion-palette-dark) .christianity-card-render--list,:host-context(html.ion-palette-dark) .christianity-card-render--list,:host-context(body.dark) .christianity-card-render--list,:host-context([data-theme=\"dark\"]) .christianity-card-render--list{box-shadow:0 .45rem 1rem #00000042,inset 0 0 0 .14rem #ffffff7a}:host-context(.dark) .christianity-card-render__type-icon,:host-context(.ion-palette-dark) .christianity-card-render__type-icon,:host-context(html.ion-palette-dark) .christianity-card-render__type-icon,:host-context(body.dark) .christianity-card-render__type-icon,:host-context([data-theme=\"dark\"]) .christianity-card-render__type-icon,:host-context(.dark) .christianity-card-render__stats strong,:host-context(.ion-palette-dark) .christianity-card-render__stats strong,:host-context(html.ion-palette-dark) .christianity-card-render__stats strong,:host-context(body.dark) .christianity-card-render__stats strong,:host-context([data-theme=\"dark\"]) .christianity-card-render__stats strong{background:#e2e8f0db;color:#172033}@media (min-width: 52rem){.christianity-card-render--full{grid-template-rows:auto minmax(8rem,1.2fr) minmax(0,auto) minmax(5.9rem,.9fr) auto;gap:.5rem;min-height:0;padding:1.05rem}.christianity-card-render--full.christianity-card-render--template-genesis-classic{--christianity-frame-width: .46rem;padding:calc(1.05rem + var(--christianity-frame-width))}.christianity-card-render--full .christianity-card-render__type-icon{width:1.6rem;height:1.6rem}.christianity-card-render--full .christianity-card-render__type-icon img{width:1rem;height:1rem}.christianity-card-render--full .christianity-card-render__header strong{font-size:clamp(1.25rem,5vw,1.85rem)}}\n"] }); }
70663
+ }
70664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityCardComponent, decorators: [{
70665
+ type: Component,
70666
+ args: [{ selector: 'val-christianity-card', standalone: true, template: `
70667
+ @if (variant() === 'back') {
70668
+ <article class="christianity-card-render christianity-card-render--back" aria-hidden="true">
70669
+ <span></span>
70670
+ </article>
70671
+ } @else {
70672
+ <article
70673
+ class="christianity-card-render"
70674
+ [class.christianity-card-render--full]="variant() === 'full'"
70675
+ [class.christianity-card-render--compact]="variant() !== 'full'"
70676
+ [class.christianity-card-render--table]="variant() === 'table'"
70677
+ [class.christianity-card-render--hand]="variant() === 'hand'"
70678
+ [class.christianity-card-render--list]="variant() === 'list'"
70679
+ [class.christianity-card-render--template-genesis-classic]="isGenesisClassicTemplate()"
70680
+ [class.christianity-card-render--template-genesis-full-art]="frontTemplate() === 'genesis-full-art'"
70681
+ [class.is-leader]="card().type === 'leader'"
70682
+ [class.is-offering]="card().type === 'offering'"
70683
+ >
70684
+ <header class="christianity-card-render__header">
70685
+ <span class="christianity-card-render__type-icon" aria-hidden="true">
70686
+ <img [src]="typeIconUrl()" alt="" />
70687
+ </span>
70688
+ <strong>{{ card().name }}</strong>
70689
+ @if (headerMetric(); as metric) {
70690
+ <span
70691
+ class="christianity-card-render__metric"
70692
+ [class.is-pips]="metric.kind === 'pips'"
70693
+ [class.is-offering-value]="card().type === 'offering'"
70694
+ >
70695
+ @if (metric.kind === 'pips') {
70696
+ @for (_ of offeringPips(metric.value); track $index) {
70697
+ <i aria-hidden="true"></i>
70698
+ }
70699
+ } @else {
70700
+ {{ metric.value }}
70701
+ }
70702
+ </span>
70703
+ }
70704
+ </header>
70705
+
70706
+ <section class="christianity-card-render__art" [class.has-image]="card().imageUrl">
70707
+ @if (card().imageUrl) {
70708
+ <img [src]="card().imageUrl" [alt]="card().name" />
70709
+ } @else {
70710
+ <span>{{ card().name }}</span>
70711
+ }
70712
+ <small>{{ normalizedTypeLabel() }}</small>
70713
+ </section>
70714
+
70715
+ @if (variant() === 'full') {
70716
+ <section class="christianity-card-render__verse">
70717
+ @if (card().verseText) {
70718
+ <p>{{ card().verseText }}</p>
70719
+ }
70720
+ @if (card().scripture) {
70721
+ <strong>{{ card().scripture }}</strong>
70722
+ }
70723
+ </section>
70724
+ }
70725
+
70726
+ <section class="christianity-card-render__effect">
70727
+ @if (card().editionIcon) {
70728
+ <img class="christianity-card-render__edition-watermark" [src]="card().editionIcon" alt="" aria-hidden="true" />
70729
+ }
70730
+ <div class="christianity-card-render__stats">
70731
+ @if (card().type === 'offering') {
70732
+ <strong class="is-pips">
70733
+ @for (_ of offeringPips(card().offeringValue); track $index) {
70734
+ <i aria-hidden="true"></i>
70735
+ }
70736
+ </strong>
70737
+ } @else if (card().type === 'leader') {
70738
+ <strong>{{ leaderLifeText() }}</strong>
70739
+ } @else if (cardStatsText()) {
70740
+ <strong>{{ cardStatsText() }}</strong>
70741
+ }
70742
+ </div>
70743
+ @if (variant() === 'full') {
70744
+ <div class="christianity-card-render__text">
70745
+ @if (card().abilityName) {
70746
+ <strong>{{ card().abilityName }}</strong>
70747
+ }
70748
+ @if (card().abilityText || card().statusText) {
70749
+ <p>{{ card().abilityText || card().statusText }}</p>
70750
+ }
70751
+ </div>
70752
+ <span
70753
+ class="christianity-card-render__rarity"
70754
+ [class.is-normal]="!card().rarity || card().rarity === 'normal'"
70755
+ [class.is-uncommon]="card().rarity === 'uncommon'"
70756
+ [class.is-rare]="card().rarity === 'rare'"
70757
+ [class.is-legendary]="card().rarity === 'legendary'"
70758
+ aria-hidden="true"
70759
+ ></span>
70760
+ }
70761
+ </section>
70762
+
70763
+ @if (variant() === 'full') {
70764
+ <footer class="christianity-card-render__footer">
70765
+ <span>{{ card().edition ?? 'MVP' }}</span>
70766
+ <span>{{ card().collectorNumber ?? card().id }}</span>
70767
+ <span>{{ card().year ?? '2026' }} CHRISTIANITY</span>
70768
+ <span>{{ card().author ?? 'MVP' }}</span>
70769
+ </footer>
70770
+ }
70771
+ </article>
70772
+ }
70773
+ `, styles: [":host{--christianity-card-aspect: 5 / 7.45;--christianity-card-back: linear-gradient(135deg, rgba(16, 42, 67, .16), rgba(16, 42, 67, .03)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);display:block;width:100%;min-width:0}.christianity-card-render{position:relative;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:.28rem;width:100%;min-width:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;overflow:hidden;border:1px solid rgba(36,48,68,.16);border-radius:.52rem;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 18% 0%,rgba(214,162,29,.12),transparent 44%);color:var(--val-text-color, #1f2933);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-render>*{position:relative;z-index:1}.christianity-card-render--template-genesis-classic{--christianity-frame-width: .26rem;padding:calc(.48rem + var(--christianity-frame-width));border-color:#39475733;background:linear-gradient(180deg,#aab8c7f5,#8fa0b1fa),radial-gradient(circle at 18% 0%,rgba(255,255,255,.24),transparent 42%);box-shadow:0 .5rem 1.25rem #24304421,inset 0 0 0 1px #ffffff6b,inset 0 0 0 var(--christianity-frame-width) #8797a980}.christianity-card-render--template-genesis-classic:before{content:\"\";position:absolute;inset:var(--christianity-frame-width);z-index:0;border-radius:.44rem;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 18% 0%,rgba(214,162,29,.1),transparent 44%);box-shadow:inset 0 0 0 1px #ffffffb8,0 .16rem .35rem #2430441a}.christianity-card-render--full{grid-template-rows:auto minmax(6.9rem,1.15fr) minmax(0,auto) minmax(4.8rem,.9fr) auto;gap:.38rem;min-height:0;padding:.56rem;border-color:#2430442e;border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 20% 0%,rgba(214,162,29,.18),transparent 45%);box-shadow:0 0 0 .18rem #fff4c294,0 0 2.2rem #f5c75552,0 2.4rem 5rem #102a4357,inset 0 0 0 .35rem #ffffff8c}.christianity-card-render--full.christianity-card-render--template-genesis-classic{--christianity-frame-width: .34rem;padding:calc(.56rem + var(--christianity-frame-width));border-radius:.78rem;box-shadow:0 0 0 .14rem #ffffff6b,0 0 2.2rem #f5c7552e,0 2.4rem 5rem #102a4357,inset 0 0 0 1px #ffffff5c,inset 0 0 0 var(--christianity-frame-width) #8797a994}.christianity-card-render--full.christianity-card-render--template-genesis-classic:before{border-radius:.56rem}.christianity-card-render--template-genesis-full-art{border-color:#090d1594;background:#111827;color:#fff;text-shadow:0 .08rem .18rem rgba(0,0,0,.72);box-shadow:0 .7rem 1.45rem #090d1533,inset 0 0 1.2rem #ffffff1a}.christianity-card-render--template-genesis-full-art .christianity-card-render__art{border-radius:.36rem;box-shadow:inset 0 0 0 1px #ffffff29,inset 0 -2rem 2.5rem #090d154d}.christianity-card-render--template-genesis-full-art .christianity-card-render__effect{background:#090d1594;color:#fff;box-shadow:inset 0 0 0 1px #ffffff1f}.christianity-card-render--template-genesis-full-art .christianity-card-render__verse{color:#fff}.christianity-card-render--template-genesis-full-art .christianity-card-render__stats strong{background:#ffffffe6;color:#1f2933;text-shadow:none}.christianity-card-render--full.christianity-card-render--template-genesis-full-art{grid-template-rows:auto minmax(14rem,1fr) auto minmax(8rem,auto) auto;min-height:min(35rem,calc(100vh - 4rem));border-radius:.72rem;background:radial-gradient(circle at 50% 8%,rgba(255,255,255,.16),transparent 38%),#090d15;box-shadow:0 0 0 .12rem #ffffff1f,0 2.4rem 5rem #090d157a,inset 0 0 1.8rem #ffffff24}.christianity-card-render--back{place-items:center;padding:.55rem;background:var(--christianity-card-back);box-shadow:0 .8rem 1.55rem #24304424}.christianity-card-render--back:before{content:\"\";position:absolute;inset:.5rem;border:1px solid rgba(16,42,67,.12);border-radius:.38rem;background:linear-gradient(180deg,#ffffff2e,#ffffff0a);box-shadow:inset 0 0 0 .12rem #ffffff1f}.christianity-card-render--list{grid-template-rows:auto minmax(0,1fr) auto;gap:.22rem;padding:.38rem;border-radius:.48rem;box-shadow:0 .45rem 1rem #2430441a,inset 0 0 0 .14rem #ffffff9e}.christianity-card-render--compact{grid-template-rows:minmax(1.4rem,auto) minmax(0,1fr) minmax(1.95rem,auto);gap:.26rem;padding:.42rem}.christianity-card-render--compact.christianity-card-render--template-genesis-classic{--christianity-frame-width: .2rem;padding:calc(.42rem + var(--christianity-frame-width))}.christianity-card-render--compact.christianity-card-render--template-genesis-classic:before{border-radius:.42rem}.christianity-card-render__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.34rem;align-items:center;min-width:0}.christianity-card-render__type-icon,.christianity-card-render__metric{display:grid;place-items:center;border-radius:999px}.christianity-card-render__type-icon{width:1.2rem;height:1.2rem;background:#24304414}.christianity-card-render__type-icon img{width:.82rem;height:.82rem;object-fit:contain}.christianity-card-render__header strong{min-width:0;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(.86rem,2.5vw,1.06rem);line-height:1.04}.christianity-card-render--compact .christianity-card-render__header{gap:.24rem;align-items:start}.christianity-card-render--compact .christianity-card-render__type-icon{width:1rem;height:1rem}.christianity-card-render--compact .christianity-card-render__type-icon img{width:.7rem;height:.7rem}.christianity-card-render--compact .christianity-card-render__header strong{font-size:clamp(.72rem,2vw,.92rem);line-height:.98;-webkit-line-clamp:2}.christianity-card-render--list .christianity-card-render__header{gap:.22rem}.christianity-card-render--list .christianity-card-render__type-icon{width:.9rem;height:.9rem}.christianity-card-render--list .christianity-card-render__type-icon img{width:.62rem;height:.62rem}.christianity-card-render--list .christianity-card-render__header strong{font-size:.72rem;line-height:1;-webkit-line-clamp:2}.christianity-card-render--full .christianity-card-render__type-icon{width:1.32rem;height:1.32rem}.christianity-card-render--full .christianity-card-render__type-icon img{width:.84rem;height:.84rem}.christianity-card-render--full .christianity-card-render__header strong{font-size:clamp(1.1rem,5vw,1.55rem)}.christianity-card-render__metric{min-width:1.52rem;height:1.52rem;padding:0 .24rem;background:#ffd91a;color:#243044;font-size:.86rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-render--compact .christianity-card-render__metric{min-width:1.28rem;height:1.28rem;padding:0 .2rem;font-size:.72rem}.christianity-card-render--list .christianity-card-render__metric{min-width:1.2rem;height:1.2rem;padding:0 .18rem;font-size:.7rem}.christianity-card-render--full .christianity-card-render__metric{min-width:1.72rem;height:1.72rem;padding:0 .3rem;font-size:.98rem}.christianity-card-render--full .christianity-card-render__metric.is-offering-value{display:none}.christianity-card-render__metric.is-pips,.christianity-card-render__stats .is-pips{grid-auto-flow:column;gap:.16rem;min-width:auto;padding:0 .28rem}.christianity-card-render__metric i,.christianity-card-render__stats i{display:block;width:.72rem;height:.72rem;border-radius:999px;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 .12rem,transparent .13rem),#ffd91a;box-shadow:inset 0 -.08rem #52401c2e,0 .12rem .24rem #102a431a}.christianity-card-render--compact .christianity-card-render__metric i,.christianity-card-render--compact .christianity-card-render__stats i{width:.5rem;height:.5rem}.christianity-card-render--list .christianity-card-render__metric i,.christianity-card-render--list .christianity-card-render__stats i{width:.48rem;height:.48rem}.christianity-card-render__art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-render__art img{width:100%;height:100%;object-fit:cover}.christianity-card-render__art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-render--list .christianity-card-render__art>span{max-width:82%;font-size:.7rem}.christianity-card-render--full .christianity-card-render__art>span{font-size:clamp(1.1rem,5vw,1.8rem)}.christianity-card-render__art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-render--compact .christianity-card-render__art{border-radius:.3rem}.christianity-card-render--compact .christianity-card-render__art>span{max-width:76%;display:-webkit-box;font-size:clamp(.66rem,1.9vw,.84rem);-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-render--compact .christianity-card-render__art small{bottom:.22rem;max-width:72%;padding:.08rem .28rem;font-size:.42rem}.christianity-card-render--list .christianity-card-render__art small{bottom:.2rem;padding:.08rem .26rem;font-size:.42rem}.christianity-card-render--full .christianity-card-render__art small{bottom:.42rem;min-width:4.4rem;padding:.14rem .42rem;font-size:.58rem;text-align:center}.christianity-card-render__verse,.christianity-card-render__effect{display:grid;gap:.32rem}.christianity-card-render__verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.66rem,2.45vw,.78rem)}.christianity-card-render__verse p,.christianity-card-render__effect p{margin:0;line-height:1.18}.christianity-card-render--full .christianity-card-render__verse p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.christianity-card-render__verse strong{font-family:inherit;font-size:.72rem;font-weight:900}.christianity-card-render__effect{position:relative;align-content:center;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-render--compact .christianity-card-render__effect{align-content:end;min-height:1.95rem;padding:.2rem .24rem;border-radius:.3rem;background:radial-gradient(circle at 50% 80%,rgba(36,48,68,.05),transparent 45%),linear-gradient(180deg,#ffffffd1,#fffffff0)}.christianity-card-render--list .christianity-card-render__effect{min-height:1.26rem;padding:.16rem;border-radius:.28rem}.christianity-card-render__edition-watermark{position:absolute;top:50%;left:50%;z-index:0;width:min(42%,4.8rem);max-width:none;opacity:.055;pointer-events:none;transform:translate(-50%,-50%)}.christianity-card-render--compact .christianity-card-render__edition-watermark{width:min(36%,2.6rem);opacity:.045}.christianity-card-render--full .christianity-card-render__effect{align-content:start;min-height:4.8rem;padding:.42rem .5rem;border-radius:.45rem}.christianity-card-render--full .christianity-card-render__edition-watermark{width:min(40%,5.4rem);opacity:.055}.christianity-card-render__stats{position:relative;z-index:1;display:flex;gap:.65rem;min-height:1rem}.christianity-card-render--compact .christianity-card-render__stats{align-items:end;min-height:1rem}.christianity-card-render__stats strong{justify-self:end;align-self:end;margin-left:auto;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-render--compact .christianity-card-render__stats strong{padding:.1rem .28rem;font-size:clamp(.64rem,1.9vw,.78rem)}.christianity-card-render--list .christianity-card-render__stats{min-height:.95rem}.christianity-card-render--list .christianity-card-render__stats strong{padding:.1rem .26rem;font-size:.66rem}.christianity-card-render--full .christianity-card-render__stats strong{margin-left:0;padding:0;background:transparent;font-size:.9rem}.christianity-card-render__text{position:relative;z-index:1;display:grid;gap:.12rem}.christianity-card-render__text strong{font-size:.78rem;line-height:1.05}.christianity-card-render__text p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:clamp(.72rem,2.7vw,.84rem);line-height:1.18}.christianity-card-render__rarity{position:absolute;top:.62rem;right:.62rem;z-index:1;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-card-render__rarity.is-normal{background:#d1d5db}.christianity-card-render__rarity.is-uncommon{background:#22c55e}.christianity-card-render__rarity.is-rare{background:#3b82f6}.christianity-card-render__rarity.is-legendary{background:#eab308}.christianity-card-render__footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.24rem;align-items:center;color:#1f2933ad;font-size:.5rem;line-height:1;text-transform:uppercase}.christianity-card-render__footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host-context(.dark),:host-context(.ion-palette-dark),:host-context(html.ion-palette-dark),:host-context(body.dark),:host-context([data-theme=\"dark\"]){--christianity-card-back: linear-gradient(135deg, rgba(147, 197, 253, .2), rgba(15, 23, 42, .08)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);color-scheme:dark}:host-context(.dark) .christianity-card-render,:host-context(.ion-palette-dark) .christianity-card-render,:host-context(html.ion-palette-dark) .christianity-card-render,:host-context(body.dark) .christianity-card-render,:host-context([data-theme=\"dark\"]) .christianity-card-render{box-shadow:0 .5rem 1.25rem #0000003d,inset 0 0 0 .18rem #ffffff61}:host-context(.dark) .christianity-card-render--back,:host-context(.ion-palette-dark) .christianity-card-render--back,:host-context(html.ion-palette-dark) .christianity-card-render--back,:host-context(body.dark) .christianity-card-render--back,:host-context([data-theme=\"dark\"]) .christianity-card-render--back{border-color:#93c5fd38;box-shadow:0 .8rem 1.55rem #00000052}:host-context(.dark) .christianity-card-render--back:before,:host-context(.ion-palette-dark) .christianity-card-render--back:before,:host-context(html.ion-palette-dark) .christianity-card-render--back:before,:host-context(body.dark) .christianity-card-render--back:before,:host-context([data-theme=\"dark\"]) .christianity-card-render--back:before{border-color:#93c5fd29;background:linear-gradient(180deg,#93c5fd24,#0f172a0a)}:host-context(.dark) .christianity-card-render--list,:host-context(.ion-palette-dark) .christianity-card-render--list,:host-context(html.ion-palette-dark) .christianity-card-render--list,:host-context(body.dark) .christianity-card-render--list,:host-context([data-theme=\"dark\"]) .christianity-card-render--list{box-shadow:0 .45rem 1rem #00000042,inset 0 0 0 .14rem #ffffff7a}:host-context(.dark) .christianity-card-render__type-icon,:host-context(.ion-palette-dark) .christianity-card-render__type-icon,:host-context(html.ion-palette-dark) .christianity-card-render__type-icon,:host-context(body.dark) .christianity-card-render__type-icon,:host-context([data-theme=\"dark\"]) .christianity-card-render__type-icon,:host-context(.dark) .christianity-card-render__stats strong,:host-context(.ion-palette-dark) .christianity-card-render__stats strong,:host-context(html.ion-palette-dark) .christianity-card-render__stats strong,:host-context(body.dark) .christianity-card-render__stats strong,:host-context([data-theme=\"dark\"]) .christianity-card-render__stats strong{background:#e2e8f0db;color:#172033}@media (min-width: 52rem){.christianity-card-render--full{grid-template-rows:auto minmax(8rem,1.2fr) minmax(0,auto) minmax(5.9rem,.9fr) auto;gap:.5rem;min-height:0;padding:1.05rem}.christianity-card-render--full.christianity-card-render--template-genesis-classic{--christianity-frame-width: .46rem;padding:calc(1.05rem + var(--christianity-frame-width))}.christianity-card-render--full .christianity-card-render__type-icon{width:1.6rem;height:1.6rem}.christianity-card-render--full .christianity-card-render__type-icon img{width:1rem;height:1rem}.christianity-card-render--full .christianity-card-render__header strong{font-size:clamp(1.25rem,5vw,1.85rem)}}\n"] }]
70774
+ }] });
70775
+
70776
+ const GENESIS_CATALOG_URL = 'assets/games/christianity/data/01-genesis.cards.json';
70777
+ const GENESIS_ICON_URL = 'assets/games/christianity/icons/1-icon.png';
70778
+ const TUTORIAL_CHARACTER_LIMIT = 12;
70779
+ const TUTORIAL_OFFERING_LIMIT = 6;
70780
+ const SPLASH_MIN_DURATION_MS = 720;
70781
+ const STARTER_CARDS = {
70782
+ o_simple: {
70783
+ id: 'o_simple',
70784
+ name: 'Ofrenda simple',
70785
+ type: 'offering',
70786
+ cost: 0,
70787
+ attack: 0,
70788
+ life: 1,
70789
+ verseText: 'Una ofrenda sencilla queda lista para sostener tus siguientes jugadas.',
70790
+ scripture: 'Genesis 4:4',
70791
+ edition: 'GEN',
70792
+ collectorNumber: '001/020',
70793
+ year: '2026',
70794
+ author: 'MVP',
70795
+ rarity: 'normal',
70796
+ },
70797
+ o_forbidden: {
70798
+ id: 'o_forbidden',
70799
+ name: 'El fruto prohibido',
70800
+ type: 'offering',
70801
+ cost: 0,
70802
+ attack: 0,
70803
+ life: 2,
70804
+ abilityName: 'Conocimiento del bien y del mal',
70805
+ abilityText: 'Al usarla, disminuye en 1 los puntos de vida de tu Líder.',
70806
+ abilityCost: 0,
70807
+ verseText: 'Dios el Señor puso al hombre en el jardín de Edén para que lo labrara y lo cuidara.',
70808
+ scripture: 'Genesis 2:17 NBV',
70809
+ edition: 'GEN',
70810
+ collectorNumber: '012/180',
70811
+ year: '2026',
70812
+ author: 'MVP',
70813
+ rarity: 'uncommon',
70814
+ },
70815
+ p_scout: {
70816
+ id: 'p_scout',
70817
+ name: 'Scout',
70818
+ type: 'character',
70819
+ cost: 1,
70820
+ attack: 1,
70821
+ life: 1,
70822
+ verseText: 'Un explorador humilde abre camino antes de que llegue la batalla.',
70823
+ scripture: 'Genesis 13:17',
70824
+ edition: 'GEN',
70825
+ collectorNumber: '002/020',
70826
+ year: '2026',
70827
+ author: 'MVP',
70828
+ rarity: 'normal',
70829
+ },
70830
+ p_guard: { id: 'p_guard', name: 'Guard', type: 'character', cost: 2, attack: 1, life: 3, edition: 'GEN', collectorNumber: '003/020', year: '2026', author: 'MVP', rarity: 'normal' },
70831
+ p_warrior: { id: 'p_warrior', name: 'Warrior', type: 'character', cost: 2, attack: 2, life: 2, edition: 'GEN', collectorNumber: '004/020', year: '2026', author: 'MVP', rarity: 'normal' },
70832
+ p_elder: { id: 'p_elder', name: 'Elder', type: 'character', cost: 3, attack: 2, life: 4, edition: 'GEN', collectorNumber: '005/020', year: '2026', author: 'MVP', rarity: 'uncommon' },
70833
+ p_champion: { id: 'p_champion', name: 'Champion', type: 'character', cost: 4, attack: 4, life: 4, edition: 'GEN', collectorNumber: '006/020', year: '2026', author: 'MVP', rarity: 'rare' },
70834
+ };
70835
+ const STARTING_SHARED_DECK = [
70836
+ 'o_simple',
70837
+ 'p_scout',
70838
+ 'o_forbidden',
70839
+ 'o_simple',
70840
+ 'p_guard',
70841
+ 'p_warrior',
70842
+ 'o_simple',
70843
+ 'p_elder',
70844
+ 'p_scout',
70845
+ 'o_simple',
70846
+ 'p_champion',
70847
+ 'p_guard',
70848
+ 'o_simple',
70849
+ 'p_warrior',
70850
+ 'p_scout',
70851
+ 'o_simple',
70852
+ 'p_elder',
70853
+ 'p_guard',
70854
+ 'o_simple',
70855
+ ];
70856
+ const STARTING_GAME = {
70857
+ gameId: 'mock-christianity',
70858
+ status: 'in_progress',
70859
+ mode: 'local_pass',
70860
+ turnOwner: 'P1',
70861
+ revision: 0,
70862
+ turnCount: 1,
70863
+ matchScore: { P1: 1, P2: 0 },
70864
+ sharedDeck: STARTING_SHARED_DECK,
70865
+ historyZone: [],
70866
+ players: {
70867
+ P1: {
70868
+ seat: 'P1',
70869
+ displayName: 'Jugador',
70870
+ avatar: 'J',
70871
+ avatarColor: '#2563eb',
70872
+ leaderName: 'Adam',
70873
+ leaderHp: 15,
70874
+ leaderMaxHp: 15,
70875
+ offerings: [
70876
+ { instanceId: 'p1_offering_001', cardId: 'o_simple', name: 'Ofrenda simple', owner: 'P1', ready: true, value: 1 },
70877
+ {
70878
+ instanceId: 'p1_offering_002',
70879
+ cardId: 'o_forbidden',
70880
+ name: 'El fruto prohibido',
70881
+ owner: 'P1',
70882
+ ready: true,
70883
+ value: 2,
70884
+ abilityName: 'Conocimiento del bien y del mal',
70885
+ abilityText: 'Al usarla, disminuye en 1 los puntos de vida de tu Lider.',
70886
+ abilityCost: 0,
70887
+ },
70888
+ ],
70889
+ offeringPlayedThisTurn: false,
70890
+ hand: ['o_simple', 'p_scout', 'p_warrior', 'p_guard'],
70891
+ battleZone: [],
70892
+ },
70893
+ P2: {
70894
+ seat: 'P2',
70895
+ displayName: 'Rival',
70896
+ avatar: 'R',
70897
+ avatarColor: '#b45309',
70898
+ leaderName: 'Noah',
70899
+ leaderHp: 15,
70900
+ leaderMaxHp: 15,
70901
+ offerings: [{ instanceId: 'p2_offering_001', cardId: 'o_simple', name: 'Ofrenda simple', owner: 'P2', ready: true, value: 1 }],
70902
+ offeringPlayedThisTurn: false,
70903
+ handCount: 4,
70904
+ battleZone: [
70905
+ {
70906
+ instanceId: 'opp_001',
70907
+ cardId: 'p_scout',
70908
+ name: 'Scout',
70909
+ owner: 'P2',
70910
+ controller: 'P2',
70911
+ slot: 0,
70912
+ attack: 1,
70913
+ currentHp: 1,
70914
+ maxHp: 1,
70915
+ canAttack: false,
70916
+ },
70917
+ ],
70918
+ },
70919
+ },
70920
+ log: ['Partida iniciada.'],
70921
+ };
70922
+ class ChristianityGameComponent {
70923
+ constructor() {
70924
+ this.i18n = inject(I18nService);
70925
+ this.bootStartedAt = performance.now();
70926
+ this.game = signal(structuredClone(STARTING_GAME));
70927
+ this.screen = signal('splash');
70928
+ this.catalogLoadState = signal('loading');
70929
+ this.selectedHandCard = signal(null);
70930
+ this.selectedAttacker = signal(null);
70931
+ this.selectedPreview = signal(null);
70932
+ this.selectedInfo = signal(null);
70933
+ this.previewTilt = signal({ rotateX: 5, rotateY: -5, shiftX: 0, shiftY: 0 });
70934
+ this.hoveredHandIndex = signal(null);
70935
+ this.draggingCardId = signal(null);
70936
+ this.showHistory = signal(false);
70937
+ this.showGallery = signal(false);
70938
+ this.offeringsSeat = signal(null);
70939
+ this.cardCatalog = signal(STARTER_CARDS);
70940
+ this.allCatalogCards = signal(Object.values(STARTER_CARDS));
70941
+ this.catalogLoaded = signal(false);
70942
+ this.gallerySearch = signal('');
70943
+ this.galleryType = signal('all');
70944
+ this.canDropOnBattleSlot = (drag) => {
70945
+ const card = this.cardDefinition(drag.data);
70946
+ return card.type === 'character' && this.canPlay(card);
70947
+ };
70948
+ this.canDropOnOfferings = (drag) => {
70949
+ const card = this.cardDefinition(drag.data);
70950
+ return card.type === 'offering' && this.canPlay(card);
70951
+ };
70952
+ this.player = computed(() => this.game().players.P1);
70953
+ this.opponent = computed(() => this.game().players.P2);
70954
+ this.currentPlayer = computed(() => this.game().players[this.game().turnOwner]);
70955
+ this.isOwnTurn = computed(() => this.game().turnOwner === 'P1');
70956
+ this.hasOpponentGuards = computed(() => this.opponent().battleZone.length > 0);
70957
+ this.opponentHandCount = computed(() => this.opponent().handCount ?? this.opponent().hand?.length ?? 0);
70958
+ this.galleryCards = computed(() => {
70959
+ const query = this.gallerySearch().trim().toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
70960
+ const type = this.galleryType();
70961
+ return this.allCatalogCards()
70962
+ .filter(card => type === 'all' || card.type === type)
70963
+ .filter(card => {
70964
+ if (!query)
70965
+ return true;
70966
+ const text = this.translatedCardText(card);
70967
+ const haystack = [text.name, card.type, text.scripture, text.abilityName, text.abilityText, text.verseText]
70968
+ .filter(Boolean)
70969
+ .join(' ')
70970
+ .toLowerCase()
70971
+ .normalize('NFD')
70972
+ .replace(/[\u0300-\u036f]/g, '');
70973
+ return haystack.includes(query);
70974
+ })
70975
+ .sort((left, right) => this.cardSortKey(left).localeCompare(this.cardSortKey(right), 'es'));
70976
+ });
70977
+ this.galleryEditionLabel = computed(() => {
70978
+ const count = this.allCatalogCards().length;
70979
+ return `${this.t('christianityGenesisEdition')} · ${count} ${this.t('christianityCards')}`;
70980
+ });
70981
+ this.galleryEditionIcon = computed(() => GENESIS_ICON_URL);
70982
+ this.galleryTypeOptions = computed(() => [
70983
+ { value: 'all', label: this.t('christianityAllCards') },
70984
+ { value: 'leader', label: this.t('christianityLeaderCard') },
70985
+ { value: 'offering', label: this.t('christianityOfferingCard') },
70986
+ { value: 'character', label: this.t('christianityCharacterCard') },
70987
+ { value: 'wisdom', label: this.t('christianityWisdomCard') },
70988
+ { value: 'action', label: this.t('christianityActionCard') },
70989
+ { value: 'tool', label: this.t('christianityToolCard') },
70990
+ { value: 'place', label: this.t('christianityPlaceCard') },
70991
+ { value: 'event', label: this.t('christianityEventCard') },
70992
+ ]);
70993
+ this.splashStatusText = computed(() => {
70994
+ const state = this.catalogLoadState();
70995
+ if (state === 'ready')
70996
+ return this.t('christianitySplashReady');
70997
+ if (state === 'fallback')
70998
+ return this.t('christianitySplashFallback');
70999
+ return this.t('christianitySplashLoading');
71000
+ });
71001
+ this.startFeaturedCards = computed(() => {
71002
+ const cards = this.allCatalogCards();
71003
+ const preferred = ['GEN-009', 'GEN-013', 'GEN-032']
71004
+ .map(id => this.cardCatalog()[id])
71005
+ .filter((card) => !!card);
71006
+ return (preferred.length ? preferred : cards.slice(0, 3)).slice(0, 3);
71007
+ });
71008
+ this.futureModes = computed(() => [
71009
+ { title: this.t('christianitySoloBotMode'), body: this.t('christianitySoloBotModeBody') },
71010
+ { title: this.t('christianityTwoPlayerMode'), body: this.t('christianityTwoPlayerModeBody') },
71011
+ { title: this.t('christianityOneDeviceMode'), body: this.t('christianityOneDeviceModeBody') },
71012
+ { title: this.t('christianitySpectatorMode'), body: this.t('christianitySpectatorModeBody') },
71013
+ ]);
71014
+ this.selectedCardDefinition = computed(() => {
71015
+ const selected = this.selectedHandCard();
71016
+ return selected ? this.cardDefinition(selected) : null;
71017
+ });
71018
+ this.selectedPreviewCard = computed(() => {
71019
+ const cardId = this.selectedPreview()?.cardId;
71020
+ return cardId ? this.cardDefinition(cardId) : null;
71021
+ });
71022
+ this.selectedPreviewRenderCard = computed(() => {
71023
+ const preview = this.selectedPreview();
71024
+ if (!preview)
71025
+ return null;
71026
+ const card = this.selectedPreviewCard();
71027
+ if (card) {
71028
+ return this.definitionToRenderCard(card, {
71029
+ statusText: preview.body,
71030
+ });
71031
+ }
71032
+ if (preview.eyebrow === this.t('christianityLeaderCard')) {
71033
+ const [currentHp, maxHp] = preview.meta.split('/').map(value => Number(value));
71034
+ return {
71035
+ id: `leader-${preview.title.toLowerCase()}`,
71036
+ name: preview.title,
71037
+ type: 'leader',
71038
+ typeLabel: this.t('christianityLeaderCard'),
71039
+ currentHp: Number.isFinite(currentHp) ? currentHp : undefined,
71040
+ maxHp: Number.isFinite(maxHp) ? maxHp : undefined,
71041
+ life: Number.isFinite(currentHp) ? currentHp : undefined,
71042
+ abilityName: this.t('christianityLeaderCard'),
71043
+ abilityText: preview.body,
71044
+ verseText: preview.body,
71045
+ edition: 'MVP',
71046
+ collectorNumber: 'LIDER',
71047
+ year: '2026',
71048
+ author: 'MVP',
71049
+ rarity: 'legendary',
71050
+ };
71051
+ }
71052
+ return {
71053
+ id: `preview-${preview.title.toLowerCase()}`,
71054
+ name: preview.title,
71055
+ type: this.previewRenderType(preview.eyebrow),
71056
+ typeLabel: preview.eyebrow,
71057
+ abilityName: preview.eyebrow,
71058
+ abilityText: preview.body,
71059
+ verseText: preview.body,
71060
+ edition: 'MVP',
71061
+ collectorNumber: preview.eyebrow,
71062
+ year: '2026',
71063
+ author: 'MVP',
71064
+ rarity: 'normal',
71065
+ statusText: preview.meta,
71066
+ };
71067
+ });
71068
+ this.previewRule = computed(() => {
71069
+ const preview = this.selectedPreview();
71070
+ if (!preview)
71071
+ return null;
71072
+ const card = this.selectedPreviewCard();
71073
+ if (card?.type === 'offering') {
71074
+ return { title: this.t('christianityOfferingCard'), body: this.t('christianityOfferingRuleBody') };
71075
+ }
71076
+ if (card?.type === 'character') {
71077
+ return { title: this.t('christianityCharacterCard'), body: this.t('christianityCharacterRuleBody') };
71078
+ }
71079
+ if (card?.type === 'wisdom') {
71080
+ return { title: this.t('christianityWisdomCard'), body: this.t('christianityWisdomRuleBody') };
71081
+ }
71082
+ if (card?.type === 'action') {
71083
+ return { title: this.t('christianityActionCard'), body: this.t('christianityActionRuleBody') };
71084
+ }
71085
+ if (card?.type === 'tool') {
71086
+ return { title: this.t('christianityToolCard'), body: this.t('christianityToolRuleBody') };
71087
+ }
71088
+ if (card?.type === 'place') {
71089
+ return { title: this.t('christianityPlaceCard'), body: this.t('christianityPlaceRuleBody') };
71090
+ }
71091
+ if (card?.type === 'event') {
71092
+ return { title: this.t('christianityEventCard'), body: this.t('christianityEventRuleBody') };
71093
+ }
71094
+ if (card?.type === 'leader') {
71095
+ return { title: this.t('christianityLeaderCard'), body: this.t('christianityLeaderRuleBody') };
71096
+ }
71097
+ if (preview.eyebrow === this.t('christianityLeaderCard')) {
71098
+ return { title: this.t('christianityLeaderCard'), body: this.t('christianityLeaderRuleBody') };
71099
+ }
71100
+ return null;
71101
+ });
71102
+ this.statusText = computed(() => {
71103
+ const attacker = this.selectedAttacker();
71104
+ const handCard = this.selectedCardDefinition();
71105
+ if (!this.isOwnTurn()) {
71106
+ return this.t('christianityWaitTurn');
71107
+ }
71108
+ if (attacker) {
71109
+ return this.hasOpponentGuards() ? this.t('christianityChooseCharacterTarget') : this.t('christianityChooseTarget');
71110
+ }
71111
+ if (handCard) {
71112
+ if (!this.canPlay(handCard)) {
71113
+ return this.t('christianityNeedOfferings');
71114
+ }
71115
+ return handCard.type === 'offering' ? this.t('christianityPlaceOffering') : this.t('christianityChooseSlot');
71116
+ }
71117
+ return this.t('christianityChooseCard');
71118
+ });
71119
+ this.i18n.registerDefaults('MiniGames', MINI_GAMES_I18N);
71120
+ void this.loadGenesisCatalog();
71121
+ }
71122
+ t(key) {
71123
+ this.i18n.lang();
71124
+ return this.i18n.t(key, 'MiniGames');
71125
+ }
71126
+ async loadGenesisCatalog() {
71127
+ let loaded = false;
71128
+ try {
71129
+ const response = await fetch(GENESIS_CATALOG_URL);
71130
+ if (response.ok) {
71131
+ const catalog = await response.json();
71132
+ const cards = (catalog.cards ?? []).map(card => this.normalizeCatalogCard(card, catalog));
71133
+ if (cards.length) {
71134
+ this.cardCatalog.set(Object.fromEntries(cards.map(card => [card.id, card])));
71135
+ this.allCatalogCards.set(cards);
71136
+ this.catalogLoaded.set(true);
71137
+ this.game.set(this.createTutorialGame(cards));
71138
+ loaded = true;
71139
+ }
71140
+ }
71141
+ }
71142
+ catch (error) {
71143
+ console.warn('Christianity catalog could not be loaded. Falling back to starter cards.', error);
71144
+ }
71145
+ this.catalogLoadState.set(loaded ? 'ready' : 'fallback');
71146
+ this.finishSplash();
71147
+ }
71148
+ finishSplash() {
71149
+ const elapsed = performance.now() - this.bootStartedAt;
71150
+ const remaining = Math.max(0, SPLASH_MIN_DURATION_MS - elapsed);
71151
+ window.setTimeout(() => {
71152
+ if (this.screen() === 'splash') {
71153
+ this.screen.set('home');
71154
+ }
71155
+ }, remaining);
71156
+ }
71157
+ normalizeCatalogCard(card, catalog) {
71158
+ const editionIcon = card.editionIcon ?? catalog.edition?.icon ?? GENESIS_ICON_URL;
71159
+ const verseText = card.verseText ?? card.bible?.text;
71160
+ const scripture = card.scripture ?? this.formatScripture(card.bible);
71161
+ const offeringValue = card.type === 'offering' ? card.offeringValue ?? card.life ?? card.cost ?? 1 : card.offeringValue;
71162
+ const life = card.type === 'leader'
71163
+ ? card.leaderLife ?? card.life ?? 10
71164
+ : card.type === 'offering'
71165
+ ? offeringValue
71166
+ : card.life ?? 0;
71167
+ return {
71168
+ ...card,
71169
+ cost: card.type === 'offering' ? 0 : card.cost ?? 0,
71170
+ offeringValue,
71171
+ life,
71172
+ leaderLife: card.type === 'leader' ? card.leaderLife ?? life : card.leaderLife,
71173
+ attack: card.type === 'character' ? card.attack ?? 0 : card.attack,
71174
+ abilityName: card.abilityName ?? card.abilities?.[0]?.name,
71175
+ abilityText: card.abilityText ?? card.abilities?.[0]?.text,
71176
+ verseText,
71177
+ scripture,
71178
+ edition: card.edition ?? catalog.edition?.id ?? 'GEN',
71179
+ editionNumber: card.editionNumber ?? catalog.edition?.number,
71180
+ editionIcon,
71181
+ imageUrl: card.imageUrl ?? card.art?.imageUrl,
71182
+ author: card.author ?? card.art?.artistCredit,
71183
+ year: card.year ?? '2026',
71184
+ frontTemplate: card.frontTemplate ?? 'genesis-classic',
71185
+ };
71186
+ }
71187
+ formatScripture(bible) {
71188
+ if (!bible?.book || !bible.reference)
71189
+ return undefined;
71190
+ return `${bible.book} ${bible.reference}${bible.version ? ` ${bible.version}` : ''}`;
71191
+ }
71192
+ createTutorialGame(cards) {
71193
+ const leaders = cards.filter(card => card.type === 'leader');
71194
+ const playerLeader = this.findCard(leaders, 'Adán') ?? leaders[0];
71195
+ const opponentLeader = this.findCard(leaders, 'Noé') ?? leaders[1] ?? leaders[0];
71196
+ const offerings = cards.filter(card => card.type === 'offering').slice(0, TUTORIAL_OFFERING_LIMIT);
71197
+ const characters = cards
71198
+ .filter(card => card.type === 'character' && (card.cost ?? 0) <= 4 && (card.attack ?? 0) >= 0 && (card.life ?? 0) > 0)
71199
+ .slice(0, TUTORIAL_CHARACTER_LIMIT);
71200
+ const startingOffering = offerings[0] ?? STARTER_CARDS['o_simple'];
71201
+ const tutorialDeck = [
71202
+ ...offerings.slice(1),
71203
+ ...characters,
71204
+ ...offerings.slice(0, 1),
71205
+ ].slice(0, 20);
71206
+ const playerHand = tutorialDeck.slice(0, 4).map(card => card.id);
71207
+ const opponentBattleCard = characters[0];
71208
+ const sharedDeck = tutorialDeck.slice(4).map(card => card.id);
71209
+ return {
71210
+ ...structuredClone(STARTING_GAME),
71211
+ sharedDeck,
71212
+ historyZone: [],
71213
+ players: {
71214
+ P1: this.createTutorialPlayer('P1', playerLeader, startingOffering, playerHand, []),
71215
+ P2: this.createTutorialPlayer('P2', opponentLeader, startingOffering, undefined, opponentBattleCard ? [this.createCharacterInstance(opponentBattleCard, 'P2', 0, 'opp_001')] : []),
71216
+ },
71217
+ log: [this.t('christianityTutorialLoaded')],
71218
+ };
71219
+ }
71220
+ createTutorialPlayer(seat, leader, startingOffering, hand, battleZone) {
71221
+ const base = STARTING_GAME.players[seat];
71222
+ const leaderLife = leader?.leaderLife ?? leader?.life ?? base.leaderMaxHp;
71223
+ return {
71224
+ ...structuredClone(base),
71225
+ leaderCardId: leader?.id,
71226
+ leaderName: leader ? this.translatedCardText(leader).name : base.leaderName,
71227
+ leaderHp: leaderLife,
71228
+ leaderMaxHp: leaderLife,
71229
+ offerings: [this.createOfferingInstance(startingOffering, seat, `${seat.toLowerCase()}_offering_001`)],
71230
+ offeringPlayedThisTurn: false,
71231
+ hand,
71232
+ handCount: hand ? undefined : 4,
71233
+ battleZone,
71234
+ };
71235
+ }
71236
+ createOfferingInstance(card, seat, instanceId) {
71237
+ const value = card.offeringValue ?? card.life ?? 1;
71238
+ return {
71239
+ instanceId,
71240
+ cardId: card.id,
71241
+ name: this.translatedCardText(card).name,
71242
+ owner: seat,
71243
+ ready: true,
71244
+ value,
71245
+ abilityName: card.abilityName,
71246
+ abilityText: card.abilityText,
71247
+ abilityCost: card.abilityCost,
71248
+ };
71249
+ }
71250
+ createCharacterInstance(card, seat, slot, instanceId) {
71251
+ const life = card.life ?? 1;
71252
+ return {
71253
+ instanceId,
71254
+ cardId: card.id,
71255
+ name: this.translatedCardText(card).name,
71256
+ owner: seat,
71257
+ controller: seat,
71258
+ slot,
71259
+ attack: card.attack ?? 0,
71260
+ currentHp: life,
71261
+ maxHp: life,
71262
+ canAttack: false,
71263
+ };
71264
+ }
71265
+ findCard(cards, namePart) {
71266
+ return cards.find(card => this.translatedCardText(card).name.toLowerCase().includes(namePart.toLowerCase()));
71267
+ }
71268
+ cardSortKey(card) {
71269
+ const collector = card.collectorNumber ?? card.id;
71270
+ return `${card.edition ?? ''}-${collector.padStart(8, '0')}-${this.translatedCardText(card).name}`;
71271
+ }
71272
+ cardDefinition(cardId) {
71273
+ return this.cardCatalog()[cardId] ?? STARTER_CARDS[cardId] ?? STARTER_CARDS['p_scout'];
71274
+ }
71275
+ translatedCardText(card) {
71276
+ const lang = this.i18n.lang();
71277
+ const translation = card.i18n?.[lang] ?? card.i18n?.['es'];
71278
+ const primaryAbility = translation?.abilities?.[0] ?? card.abilities?.[0];
71279
+ return {
71280
+ name: translation?.name ?? card.name,
71281
+ fullName: translation?.fullName ?? card.fullName,
71282
+ verseText: translation?.verseText ?? card.verseText,
71283
+ scripture: translation?.scripture ?? card.scripture,
71284
+ abilityName: translation?.abilityName ?? primaryAbility?.name ?? card.abilityName,
71285
+ abilityText: translation?.abilityText ?? primaryAbility?.text ?? card.abilityText,
71286
+ abilities: translation?.abilities ?? card.abilities,
71287
+ };
71288
+ }
71289
+ cardDisplayName(cardId) {
71290
+ return this.translatedCardText(this.cardDefinition(cardId)).name;
71291
+ }
71292
+ playerLeaderDisplayName(player) {
71293
+ return player.leaderCardId ? this.cardDisplayName(player.leaderCardId) : player.leaderName;
71294
+ }
71295
+ catalogStatusLabel() {
71296
+ const state = this.catalogLoadState();
71297
+ if (state === 'ready')
71298
+ return this.t('christianityCatalogReady');
71299
+ if (state === 'fallback')
71300
+ return this.t('christianityCatalogFallback');
71301
+ return this.t('christianityCatalogLoading');
71302
+ }
71303
+ startFeaturedCardTransform(index) {
71304
+ const transforms = [
71305
+ 'translateX(-1.4rem) rotate(-9deg)',
71306
+ 'translateY(-0.55rem) rotate(2deg)',
71307
+ 'translateX(1.4rem) rotate(10deg)',
71308
+ ];
71309
+ return transforms[index] ?? 'none';
71310
+ }
71311
+ cardTypeLabel(card) {
71312
+ const labels = {
71313
+ action: this.t('christianityActionCard'),
71314
+ character: this.t('christianityCharacterCard'),
71315
+ event: this.t('christianityEventCard'),
71316
+ leader: this.t('christianityLeaderCard'),
71317
+ offering: this.t('christianityOfferingCard'),
71318
+ place: this.t('christianityPlaceCard'),
71319
+ tool: this.t('christianityToolCard'),
71320
+ wisdom: this.t('christianityWisdomCard'),
71321
+ };
71322
+ return labels[card.type];
71323
+ }
71324
+ definitionToRenderCard(card, overrides = {}) {
71325
+ const text = this.translatedCardText(card);
71326
+ const base = {
71327
+ id: card.id,
71328
+ name: text.name,
71329
+ type: card.type,
71330
+ typeLabel: this.cardTypeLabel(card),
71331
+ cost: card.cost,
71332
+ offeringValue: card.type === 'offering' ? card.offeringValue ?? card.life : undefined,
71333
+ attack: card.type === 'character' ? card.attack : undefined,
71334
+ life: card.life,
71335
+ currentHp: card.life,
71336
+ maxHp: card.life,
71337
+ abilityName: text.abilityName,
71338
+ abilityText: text.abilityText || this.defaultCardBody(card.type),
71339
+ verseText: text.verseText,
71340
+ scripture: text.scripture,
71341
+ edition: card.edition,
71342
+ collectorNumber: card.collectorNumber,
71343
+ editionIcon: card.editionIcon ?? (card.edition === 'GEN' ? GENESIS_ICON_URL : undefined),
71344
+ year: card.year,
71345
+ author: card.author,
71346
+ rarity: card.rarity,
71347
+ imageUrl: card.imageUrl,
71348
+ frontTemplate: card.frontTemplate ?? (card.edition === 'GEN' ? 'genesis-classic' : undefined),
71349
+ };
71350
+ return { ...base, ...overrides };
71351
+ }
71352
+ defaultCardBody(type) {
71353
+ const bodies = {
71354
+ action: this.t('christianityActionRuleBody'),
71355
+ character: this.t('christianityCharacterBody'),
71356
+ event: this.t('christianityEventRuleBody'),
71357
+ leader: this.t('christianityLeaderBody'),
71358
+ offering: this.t('christianityOfferingBody'),
71359
+ place: this.t('christianityPlaceRuleBody'),
71360
+ tool: this.t('christianityToolRuleBody'),
71361
+ wisdom: this.t('christianityWisdomRuleBody'),
71362
+ };
71363
+ return bodies[type];
71364
+ }
71365
+ characterRenderCard(card) {
71366
+ const definition = this.cardDefinition(card.cardId);
71367
+ return this.definitionToRenderCard(definition, {
71368
+ id: card.instanceId,
71369
+ attack: card.attack,
71370
+ life: card.maxHp,
71371
+ currentHp: card.currentHp,
71372
+ maxHp: card.maxHp,
71373
+ statusText: card.canAttack ? this.t('christianityCharacterReady') : this.t('christianityCharacterExhausted'),
71374
+ });
71375
+ }
71376
+ leaderRenderCard(player) {
71377
+ if (player.leaderCardId) {
71378
+ const definition = this.cardDefinition(player.leaderCardId);
71379
+ return this.definitionToRenderCard(definition, {
71380
+ id: `${player.seat}-leader`,
71381
+ name: this.translatedCardText(definition).name,
71382
+ type: 'leader',
71383
+ typeLabel: this.t('christianityLeaderCard'),
71384
+ life: player.leaderHp,
71385
+ currentHp: player.leaderHp,
71386
+ maxHp: player.leaderMaxHp,
71387
+ statusText: this.t('christianityLeaderBody'),
71388
+ });
71389
+ }
71390
+ return {
71391
+ id: `${player.seat}-leader`,
71392
+ name: player.leaderName,
71393
+ type: 'leader',
71394
+ typeLabel: this.t('christianityLeaderCard'),
71395
+ life: player.leaderHp,
71396
+ currentHp: player.leaderHp,
71397
+ maxHp: player.leaderMaxHp,
71398
+ abilityName: this.t('christianityLeaderCard'),
71399
+ abilityText: this.t('christianityLeaderBody'),
71400
+ verseText: this.t('christianityLeaderBody'),
71401
+ edition: 'MVP',
71402
+ collectorNumber: 'LIDER',
71403
+ editionIcon: GENESIS_ICON_URL,
71404
+ year: '2026',
71405
+ author: 'MVP',
71406
+ rarity: 'legendary',
71407
+ frontTemplate: 'genesis-classic',
71408
+ };
71409
+ }
71410
+ offeringRenderCard(offering) {
71411
+ const definition = this.cardDefinition(offering.cardId);
71412
+ const text = this.translatedCardText(definition);
71413
+ return this.definitionToRenderCard(definition, {
71414
+ id: offering.instanceId,
71415
+ name: text.name,
71416
+ type: 'offering',
71417
+ typeLabel: this.t('christianityOfferingCard'),
71418
+ offeringValue: offering.value,
71419
+ life: offering.value,
71420
+ currentHp: offering.value,
71421
+ maxHp: offering.value,
71422
+ abilityName: text.abilityName ?? offering.abilityName,
71423
+ abilityText: text.abilityText ?? offering.abilityText ?? this.t('christianityOfferingNoAbility'),
71424
+ statusText: offering.ready ? this.t('christianityOfferingReady') : this.t('christianityOfferingExhausted'),
71425
+ });
71426
+ }
71427
+ previewRenderType(typeLabel) {
71428
+ if (typeLabel === this.t('christianityLeaderCard'))
71429
+ return 'leader';
71430
+ if (typeLabel === this.t('christianityOfferingCard'))
71431
+ return 'offering';
71432
+ return 'character';
71433
+ }
71434
+ cardTypeIconUrl(card) {
71435
+ return this.cardTypeIconUrlForType(card.type);
71436
+ }
71437
+ previewTypeIconUrl() {
71438
+ const preview = this.selectedPreview();
71439
+ if (preview?.eyebrow === this.t('christianityLeaderCard'))
71440
+ return this.cardTypeIconUrlForType('leader');
71441
+ if (preview?.eyebrow === this.t('christianityOfferingCard'))
71442
+ return this.cardTypeIconUrlForType('offering');
71443
+ return this.cardTypeIconUrlForType('character');
71444
+ }
71445
+ cardTypeIconUrlForType(type) {
71446
+ const normalized = type.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
71447
+ const icon = normalized === 'lider' ? 'leader' : normalized === 'personaje' ? 'character' : normalized === 'ofrenda' ? 'offering' : normalized;
71448
+ return `assets/games/christianity/icons/${icon}.png`;
71449
+ }
71450
+ offeringPips(value) {
71451
+ const count = Number(value);
71452
+ if (!Number.isFinite(count) || count <= 0)
71453
+ return [];
71454
+ return Array.from({ length: Math.min(Math.floor(count), 5) });
71455
+ }
71456
+ battleSlots(seat) {
71457
+ const cards = this.game().players[seat].battleZone;
71458
+ const positionedCards = new Map();
71459
+ cards.forEach((card, index) => {
71460
+ const slot = Number.isInteger(card.slot) ? card.slot ?? index : index;
71461
+ if (slot >= 0 && slot < 4 && !positionedCards.has(slot)) {
71462
+ positionedCards.set(slot, card);
71463
+ }
71464
+ });
71465
+ return Array.from({ length: 4 }, (_, index) => ({
71466
+ trackId: positionedCards.get(index)?.instanceId ?? `${seat}-empty-${index}`,
71467
+ card: positionedCards.get(index),
71468
+ }));
71469
+ }
71470
+ battleSlotDropId(index) {
71471
+ return `christianity-battle-slot-${index}`;
71472
+ }
71473
+ dropTargetIds() {
71474
+ return ['christianity-offerings-drop', ...this.battleSlots('P1').map((_, index) => this.battleSlotDropId(index))];
71475
+ }
71476
+ hiddenHandCards(count) {
71477
+ return Array.from({ length: count });
71478
+ }
71479
+ fanTransform(index, total, opponent) {
71480
+ if (total <= 1)
71481
+ return 'none';
71482
+ const center = (total - 1) / 2;
71483
+ const offset = index - center;
71484
+ const rotate = offset * (opponent ? 6 : 5);
71485
+ const lift = Math.abs(offset) * 0.25;
71486
+ const hoverLift = opponent ? 0 : this.handWaveLift(index);
71487
+ const scale = opponent ? 1 : this.handWaveScale(index);
71488
+ const fanLift = opponent ? Math.abs(offset) * 0.22 : lift + hoverLift;
71489
+ const fanSpread = opponent ? offset * 0.02 : 0;
71490
+ return `translate(${fanSpread}rem, ${fanLift}rem) rotate(${rotate}deg) scale(${scale})`;
71491
+ }
71492
+ handCardZIndex(index) {
71493
+ const hovered = this.hoveredHandIndex();
71494
+ if (hovered === null)
71495
+ return 2;
71496
+ const distance = Math.abs(index - hovered);
71497
+ return Math.max(2, 8 - distance);
71498
+ }
71499
+ setHoveredHandIndex(index) {
71500
+ this.hoveredHandIndex.set(index);
71501
+ }
71502
+ clearHoveredHandIndex() {
71503
+ this.hoveredHandIndex.set(null);
71504
+ }
71505
+ releaseHoveredHand(event) {
71506
+ if (event.pointerType !== 'mouse') {
71507
+ window.setTimeout(() => this.clearHoveredHandIndex(), 180);
71508
+ }
71509
+ }
71510
+ handWaveLift(index) {
71511
+ const hovered = this.hoveredHandIndex();
71512
+ if (hovered === null)
71513
+ return 0;
71514
+ const distance = Math.abs(index - hovered);
71515
+ if (distance === 0)
71516
+ return -1.15;
71517
+ if (distance === 1)
71518
+ return -0.58;
71519
+ if (distance === 2)
71520
+ return -0.22;
71521
+ return 0;
71522
+ }
71523
+ handWaveScale(index) {
71524
+ const hovered = this.hoveredHandIndex();
71525
+ if (hovered === null)
71526
+ return 1;
71527
+ const distance = Math.abs(index - hovered);
71528
+ if (distance === 0)
71529
+ return 1.06;
71530
+ if (distance === 1)
71531
+ return 1.03;
71532
+ return 1;
71533
+ }
71534
+ readyOfferings(player) {
71535
+ return player.offerings.reduce((total, offering) => total + (offering.ready ? offering.value : 0), 0);
71536
+ }
71537
+ totalOfferings(player) {
71538
+ return player.offerings.reduce((total, offering) => total + offering.value, 0);
71539
+ }
71540
+ canPlay(card) {
71541
+ if (!this.isOwnTurn())
71542
+ return false;
71543
+ if (card.type === 'offering')
71544
+ return !this.player().offeringPlayedThisTurn;
71545
+ if (card.type === 'character')
71546
+ return this.readyOfferings(this.player()) >= (card.cost ?? 0) && this.player().battleZone.length < 4;
71547
+ return false;
71548
+ }
71549
+ canPlaySelected() {
71550
+ const selected = this.selectedHandCard();
71551
+ return !!selected && this.canPlay(this.cardDefinition(selected));
71552
+ }
71553
+ selectedActionLabel() {
71554
+ const selected = this.selectedCardDefinition();
71555
+ if (!selected)
71556
+ return this.t('christianityPlayCard');
71557
+ return selected.type === 'offering' ? this.t('christianityPlayOffering') : this.t('christianityPlayCard');
71558
+ }
71559
+ selectedActionDisabled() {
71560
+ const selected = this.selectedCardDefinition();
71561
+ if (!selected || !this.canPlay(selected))
71562
+ return true;
71563
+ return selected.type === 'character';
71564
+ }
71565
+ canPlaceSelectedCharacter() {
71566
+ const selected = this.selectedCardDefinition();
71567
+ return !!selected && selected.type === 'character' && this.canPlay(selected);
71568
+ }
71569
+ canPlaceSelectedOffering() {
71570
+ const selected = this.selectedCardDefinition();
71571
+ return !!selected && selected.type === 'offering' && this.canPlay(selected);
71572
+ }
71573
+ isDraggingCharacter() {
71574
+ const cardId = this.draggingCardId();
71575
+ if (!cardId)
71576
+ return false;
71577
+ const card = this.cardDefinition(cardId);
71578
+ return card.type === 'character' && this.canPlay(card);
71579
+ }
71580
+ isDraggingOffering() {
71581
+ const cardId = this.draggingCardId();
71582
+ if (!cardId)
71583
+ return false;
71584
+ const card = this.cardDefinition(cardId);
71585
+ return card.type === 'offering' && this.canPlay(card);
71586
+ }
71587
+ startDraggingCard(cardId) {
71588
+ this.selectedAttacker.set(null);
71589
+ this.selectedHandCard.set(cardId);
71590
+ this.draggingCardId.set(cardId);
71591
+ this.closePreview();
71592
+ }
71593
+ endDraggingCard() {
71594
+ this.draggingCardId.set(null);
71595
+ }
71596
+ dropOnBattleSlot(event, slotIndex) {
71597
+ const card = this.cardDefinition(event.item.data);
71598
+ if (card.type !== 'character')
71599
+ return;
71600
+ this.playCardFromHand(event.item.data, slotIndex);
71601
+ }
71602
+ dropOnOfferings(event) {
71603
+ const card = this.cardDefinition(event.item.data);
71604
+ if (card.type !== 'offering')
71605
+ return;
71606
+ this.playCardFromHand(event.item.data);
71607
+ }
71608
+ selectHandCard(cardId) {
71609
+ const wasSelected = this.selectedHandCard() === cardId;
71610
+ this.selectedAttacker.set(null);
71611
+ this.selectedHandCard.set(wasSelected ? null : cardId);
71612
+ this.closePreview();
71613
+ }
71614
+ playSelectedCard(slotIndex) {
71615
+ const cardId = this.selectedHandCard();
71616
+ if (!cardId)
71617
+ return;
71618
+ this.playCardFromHand(cardId, slotIndex);
71619
+ }
71620
+ playCardFromHand(cardId, slotIndex) {
71621
+ const card = this.cardDefinition(cardId);
71622
+ if (!this.canPlay(card))
71623
+ return;
71624
+ this.game.update(game => {
71625
+ const next = structuredClone(game);
71626
+ const player = next.players.P1;
71627
+ const handIndex = player.hand?.indexOf(cardId) ?? -1;
71628
+ if (handIndex < 0 || !player.hand)
71629
+ return game;
71630
+ player.hand.splice(handIndex, 1);
71631
+ if (card.type === 'offering') {
71632
+ player.offerings.push({
71633
+ instanceId: `p1_offering_${next.revision + 1}`,
71634
+ cardId: card.id,
71635
+ name: card.name,
71636
+ owner: 'P1',
71637
+ ready: true,
71638
+ value: card.offeringValue ?? card.life ?? 1,
71639
+ abilityName: card.abilityName,
71640
+ abilityText: card.abilityText,
71641
+ abilityCost: card.abilityCost,
71642
+ });
71643
+ player.offeringPlayedThisTurn = true;
71644
+ }
71645
+ else {
71646
+ this.spendOfferings(player, card.cost ?? 0);
71647
+ const occupiedSlots = new Set(player.battleZone.map((character, index) => Number.isInteger(character.slot) ? character.slot ?? index : index));
71648
+ const targetSlot = slotIndex ?? [0, 1, 2, 3].find(index => !occupiedSlots.has(index));
71649
+ if (targetSlot === undefined || occupiedSlots.has(targetSlot))
71650
+ return game;
71651
+ player.battleZone.push({
71652
+ instanceId: `p1_${next.revision + 1}_${player.battleZone.length}`,
71653
+ cardId: card.id,
71654
+ name: card.name,
71655
+ owner: 'P1',
71656
+ controller: 'P1',
71657
+ slot: targetSlot,
71658
+ attack: card.attack ?? 0,
71659
+ currentHp: card.life ?? 1,
71660
+ maxHp: card.life ?? 1,
71661
+ canAttack: false,
71662
+ });
71663
+ player.battleZone.sort((left, right) => (left.slot ?? 0) - (right.slot ?? 0));
71664
+ }
71665
+ next.revision++;
71666
+ next.log = [
71667
+ card.type === 'offering' ? `${card.name} queda lista como ofrenda.` : `${card.name} entra en batalla.`,
71668
+ ...next.log,
71669
+ ].slice(0, 4);
71670
+ return next;
71671
+ });
71672
+ this.selectedHandCard.set(null);
71673
+ this.draggingCardId.set(null);
71674
+ this.closePreview();
71675
+ }
71676
+ handleOfferingPile(seat) {
71677
+ this.openOfferings(seat);
71678
+ }
71679
+ selectAttacker(card) {
71680
+ this.selectedHandCard.set(null);
71681
+ if (!this.isOwnTurn() || !card.canAttack) {
71682
+ this.inspectCharacter(card);
71683
+ return;
71684
+ }
71685
+ this.closePreview();
71686
+ this.selectedAttacker.set(this.selectedAttacker()?.instanceId === card.instanceId ? null : card);
71687
+ }
71688
+ handleOpponentCharacter(card) {
71689
+ if (this.selectedAttacker()) {
71690
+ this.attackCharacter(card);
71691
+ return;
71692
+ }
71693
+ this.inspectCharacter(card);
71694
+ }
71695
+ handleOpponentLeader() {
71696
+ if (this.selectedAttacker() && !this.hasOpponentGuards()) {
71697
+ this.attackLeader();
71698
+ return;
71699
+ }
71700
+ this.inspectLeader('P2');
71701
+ }
71702
+ attackLeader() {
71703
+ const attacker = this.selectedAttacker();
71704
+ if (!attacker)
71705
+ return;
71706
+ if (this.hasOpponentGuards()) {
71707
+ this.selectedPreview.set({
71708
+ title: this.opponent().leaderName,
71709
+ eyebrow: this.t('christianityLeaderCard'),
71710
+ meta: `${this.opponent().leaderHp}/${this.opponent().leaderMaxHp}`,
71711
+ body: this.t('christianityLeaderProtected'),
71712
+ });
71713
+ return;
71714
+ }
71715
+ this.game.update(game => {
71716
+ const next = structuredClone(game);
71717
+ const liveAttacker = next.players.P1.battleZone.find(card => card.instanceId === attacker.instanceId);
71718
+ if (!liveAttacker || !liveAttacker.canAttack)
71719
+ return game;
71720
+ next.players.P2.leaderHp = Math.max(0, next.players.P2.leaderHp - liveAttacker.attack);
71721
+ liveAttacker.canAttack = false;
71722
+ next.revision++;
71723
+ next.log = [`${liveAttacker.name} ataca al lider rival.`, ...next.log].slice(0, 4);
71724
+ return next;
71725
+ });
71726
+ this.selectedAttacker.set(null);
71727
+ }
71728
+ attackCharacter(target) {
71729
+ const attacker = this.selectedAttacker();
71730
+ if (!attacker)
71731
+ return;
71732
+ this.game.update(game => {
71733
+ const next = structuredClone(game);
71734
+ const liveAttacker = next.players.P1.battleZone.find(card => card.instanceId === attacker.instanceId);
71735
+ const liveTarget = next.players.P2.battleZone.find(card => card.instanceId === target.instanceId);
71736
+ if (!liveAttacker || !liveTarget || !liveAttacker.canAttack)
71737
+ return game;
71738
+ liveTarget.currentHp -= liveAttacker.attack;
71739
+ liveAttacker.currentHp -= liveTarget.attack;
71740
+ liveAttacker.canAttack = false;
71741
+ this.cleanupDestroyed(next.players.P1, next);
71742
+ this.cleanupDestroyed(next.players.P2, next);
71743
+ next.revision++;
71744
+ next.log = [`${liveAttacker.name} combate contra ${liveTarget.name}.`, ...next.log].slice(0, 4);
71745
+ return next;
71746
+ });
71747
+ this.selectedAttacker.set(null);
71748
+ }
71749
+ endTurn() {
71750
+ this.selectedHandCard.set(null);
71751
+ this.selectedAttacker.set(null);
71752
+ this.selectedPreview.set(null);
71753
+ this.selectedInfo.set(null);
71754
+ this.game.update(game => {
71755
+ const next = structuredClone(game);
71756
+ next.turnOwner = next.turnOwner === 'P1' ? 'P2' : 'P1';
71757
+ next.turnCount++;
71758
+ const current = next.players[next.turnOwner];
71759
+ current.offeringPlayedThisTurn = false;
71760
+ current.offerings = current.offerings.map(offering => ({ ...offering, ready: true }));
71761
+ current.battleZone = current.battleZone.map(card => ({ ...card, canAttack: true }));
71762
+ const drawnCard = next.sharedDeck.shift();
71763
+ if (drawnCard) {
71764
+ if (current.hand) {
71765
+ current.hand.push(drawnCard);
71766
+ }
71767
+ else {
71768
+ current.handCount = (current.handCount ?? 0) + 1;
71769
+ }
71770
+ }
71771
+ next.revision++;
71772
+ next.log = [
71773
+ drawnCard ? `${current.displayName} roba una carta.` : `El mazo esta vacio.`,
71774
+ `Turno de ${current.displayName}.`,
71775
+ ...next.log,
71776
+ ].slice(0, 4);
71777
+ return next;
71778
+ });
71779
+ }
71780
+ resetMock() {
71781
+ this.game.set(this.catalogLoaded() ? this.createTutorialGame(this.allCatalogCards()) : structuredClone(STARTING_GAME));
71782
+ this.selectedHandCard.set(null);
71783
+ this.selectedAttacker.set(null);
71784
+ this.selectedPreview.set(null);
71785
+ this.selectedInfo.set(null);
71786
+ this.showHistory.set(false);
71787
+ this.showGallery.set(false);
71788
+ this.offeringsSeat.set(null);
71789
+ }
71790
+ startTutorial() {
71791
+ this.resetMock();
71792
+ this.screen.set('table');
71793
+ }
71794
+ closePreview() {
71795
+ this.selectedPreview.set(null);
71796
+ this.resetPreviewTilt();
71797
+ }
71798
+ closeInfo() {
71799
+ this.selectedInfo.set(null);
71800
+ }
71801
+ openOfferings(seat) {
71802
+ this.selectedPreview.set(null);
71803
+ this.selectedInfo.set(null);
71804
+ this.showHistory.set(false);
71805
+ this.showGallery.set(false);
71806
+ this.offeringsSeat.set(seat);
71807
+ }
71808
+ openHistory() {
71809
+ this.selectedPreview.set(null);
71810
+ this.selectedInfo.set(null);
71811
+ this.offeringsSeat.set(null);
71812
+ this.showGallery.set(false);
71813
+ this.showHistory.set(true);
71814
+ }
71815
+ closeOfferings() {
71816
+ this.offeringsSeat.set(null);
71817
+ }
71818
+ openGallery() {
71819
+ this.selectedPreview.set(null);
71820
+ this.selectedInfo.set(null);
71821
+ this.offeringsSeat.set(null);
71822
+ this.showHistory.set(false);
71823
+ this.showGallery.set(true);
71824
+ }
71825
+ closeGallery() {
71826
+ this.showGallery.set(false);
71827
+ }
71828
+ setGallerySearch(event) {
71829
+ this.gallerySearch.set(event.target.value);
71830
+ }
71831
+ setGalleryType(event) {
71832
+ this.galleryType.set(event.target.value);
71833
+ }
71834
+ tiltPreview(event) {
71835
+ const bounds = event.currentTarget.getBoundingClientRect();
71836
+ const x = (event.clientX - bounds.left) / bounds.width - 0.5;
71837
+ const y = (event.clientY - bounds.top) / bounds.height - 0.5;
71838
+ this.previewTilt.set({
71839
+ rotateX: 5 - y * 18,
71840
+ rotateY: -5 + x * 18,
71841
+ shiftX: x * 10,
71842
+ shiftY: y * 10,
71843
+ });
71844
+ }
71845
+ resetPreviewTilt() {
71846
+ this.previewTilt.set({ rotateX: 5, rotateY: -5, shiftX: 0, shiftY: 0 });
71847
+ }
71848
+ cleanupDestroyed(player, game) {
71849
+ const destroyed = player.battleZone.filter(card => card.currentHp <= 0);
71850
+ if (!destroyed.length)
71851
+ return;
71852
+ game.historyZone.push(...destroyed.map(card => card.cardId));
71853
+ player.battleZone = player.battleZone.filter(card => card.currentHp > 0);
71854
+ }
71855
+ inspectLeader(seat) {
71856
+ this.selectedInfo.set(null);
71857
+ const player = this.game().players[seat];
71858
+ const leader = player.leaderCardId ? this.cardDefinition(player.leaderCardId) : undefined;
71859
+ this.selectedPreview.set({
71860
+ title: leader ? this.translatedCardText(leader).name : player.leaderName,
71861
+ eyebrow: this.t('christianityLeaderCard'),
71862
+ meta: `${player.leaderHp}/${player.leaderMaxHp}`,
71863
+ body: seat === 'P2' && this.hasOpponentGuards() ? this.t('christianityLeaderProtected') : this.t('christianityLeaderBody'),
71864
+ cardId: player.leaderCardId,
71865
+ source: 'board',
71866
+ });
71867
+ }
71868
+ inspectOffering(offering) {
71869
+ this.selectedInfo.set(null);
71870
+ const definition = this.cardDefinition(offering.cardId);
71871
+ const text = this.translatedCardText(definition);
71872
+ this.selectedPreview.set({
71873
+ title: text.name,
71874
+ eyebrow: this.t('christianityOfferingCard'),
71875
+ meta: offering.ready ? this.t('christianityOfferingReady') : this.t('christianityOfferingExhausted'),
71876
+ body: text.abilityText ?? offering.abilityText ?? this.t('christianityOfferingBody'),
71877
+ cardId: offering.cardId,
71878
+ source: 'pile',
71879
+ });
71880
+ }
71881
+ offeringAbilityText(offering) {
71882
+ const text = this.translatedCardText(this.cardDefinition(offering.cardId));
71883
+ return text.abilityText ?? offering.abilityText ?? this.t('christianityOfferingNoAbility');
71884
+ }
71885
+ canUseOfferingAbility(offering, seat) {
71886
+ if (seat !== 'P1' || !this.isOwnTurn())
71887
+ return false;
71888
+ if (!offering.ready || !offering.abilityName)
71889
+ return false;
71890
+ return this.readyOfferings(this.game().players[seat]) >= (offering.abilityCost ?? 0);
71891
+ }
71892
+ useOfferingAbility(offering, seat) {
71893
+ if (!this.canUseOfferingAbility(offering, seat))
71894
+ return;
71895
+ this.game.update(game => {
71896
+ const next = structuredClone(game);
71897
+ const player = next.players[seat];
71898
+ const liveOffering = player.offerings.find(card => card.instanceId === offering.instanceId);
71899
+ if (!liveOffering || !liveOffering.ready)
71900
+ return game;
71901
+ const offeringId = liveOffering.instanceId;
71902
+ this.spendOfferings(player, liveOffering.abilityCost ?? 0);
71903
+ player.offerings = player.offerings.map(card => (card.instanceId === offeringId ? { ...card, ready: false } : card));
71904
+ player.leaderHp = Math.max(0, player.leaderHp - 1);
71905
+ next.revision++;
71906
+ next.log = [`${liveOffering.name}: ${liveOffering.abilityName}.`, ...next.log].slice(0, 4);
71907
+ return next;
71908
+ });
71909
+ }
71910
+ inspectDeck() {
71911
+ const remainingCards = this.game().sharedDeck.length;
71912
+ this.selectedPreview.set(null);
71913
+ this.selectedInfo.set({
71914
+ title: this.t('christianityDeck'),
71915
+ eyebrow: this.t('christianitySharedZone'),
71916
+ meta: `${remainingCards} ${remainingCards === 1 ? this.t('christianityCardRemaining') : this.t('christianityCardsRemaining')}`,
71917
+ body: this.t('christianityDeckBody'),
71918
+ facts: [
71919
+ this.t('christianityDeckRuleShared'),
71920
+ this.t('christianityDeckRuleDraw'),
71921
+ this.t('christianityDeckRuleEmpty'),
71922
+ ],
71923
+ });
71924
+ }
71925
+ inspectHowToPlay() {
71926
+ this.selectedPreview.set(null);
71927
+ this.selectedInfo.set({
71928
+ title: this.t('christianityHowToPlay'),
71929
+ eyebrow: this.t('christianityGenesisEdition'),
71930
+ meta: this.t('christianityTutorialMode'),
71931
+ body: this.t('christianityHowToPlayIntro'),
71932
+ facts: [
71933
+ this.t('christianityHowToPlayGoal'),
71934
+ this.t('christianityHowToPlayTurn'),
71935
+ this.t('christianityHowToPlayOfferings'),
71936
+ this.t('christianityHowToPlayBattle'),
71937
+ ],
71938
+ });
71939
+ }
71940
+ inspectHandCard(cardId, fromHand = false) {
71941
+ this.selectedInfo.set(null);
71942
+ const card = this.cardDefinition(cardId);
71943
+ const text = this.translatedCardText(card);
71944
+ if (fromHand) {
71945
+ this.selectedAttacker.set(null);
71946
+ this.selectedHandCard.set(cardId);
71947
+ }
71948
+ this.selectedPreview.set({
71949
+ title: text.name,
71950
+ eyebrow: this.cardTypeLabel(card),
71951
+ meta: this.cardPreviewMeta(card),
71952
+ body: this.defaultCardBody(card.type),
71953
+ cardId,
71954
+ source: fromHand ? 'hand' : 'pile',
71955
+ });
71956
+ }
71957
+ inspectGalleryCard(cardId) {
71958
+ this.inspectHandCard(cardId);
71959
+ }
71960
+ inspectHistoryCard(cardId) {
71961
+ this.showHistory.set(false);
71962
+ this.inspectHandCard(cardId);
71963
+ }
71964
+ inspectCharacter(card) {
71965
+ this.selectedInfo.set(null);
71966
+ const definition = this.cardDefinition(card.cardId);
71967
+ this.selectedPreview.set({
71968
+ title: this.translatedCardText(definition).name,
71969
+ eyebrow: this.t('christianityCharacterCard'),
71970
+ meta: `${card.attack}/${card.currentHp}`,
71971
+ body: card.canAttack ? this.t('christianityCharacterReady') : this.t('christianityCharacterExhausted'),
71972
+ cardId: card.cardId,
71973
+ source: 'board',
71974
+ });
71975
+ }
71976
+ cardPreviewMeta(card) {
71977
+ if (card.type === 'offering')
71978
+ return `${card.offeringValue ?? card.life ?? 1}`;
71979
+ if (card.type === 'leader')
71980
+ return `${card.leaderLife ?? card.life ?? 0}`;
71981
+ if (card.type === 'character')
71982
+ return `${this.t('christianityCost')} ${card.cost ?? 0} · ${card.attack ?? 0}/${card.life ?? 0}`;
71983
+ if (card.cost !== undefined)
71984
+ return `${this.t('christianityCost')} ${card.cost}`;
71985
+ return card.collectorNumber ?? card.id;
71986
+ }
71987
+ spendOfferings(player, cost) {
71988
+ let remaining = cost;
71989
+ player.offerings = player.offerings.map(offering => {
71990
+ if (remaining <= 0 || !offering.ready)
71991
+ return offering;
71992
+ remaining -= offering.value;
71993
+ return { ...offering, ready: false };
71994
+ });
71995
+ }
71996
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityGameComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71997
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ChristianityGameComponent, isStandalone: true, selector: "val-christianity-game", ngImport: i0, template: `
71998
+ <main class="christianity-shell">
71999
+ <section class="christianity-header">
72000
+ <div>
72001
+ <p>{{ t('christianityEyebrow') }}</p>
72002
+ <h1>{{ t('christianityTitle') }}</h1>
72003
+ </div>
72004
+ <div class="christianity-header-actions">
72005
+ @if (screen() !== 'splash') {
72006
+ <button type="button" class="christianity-gallery-open" valLightRipple (click)="openGallery()">
72007
+ {{ t('christianityGallery') }}
72008
+ </button>
72009
+ }
72010
+ @if (screen() === 'table') {
72011
+ <div class="christianity-turn" [class.is-own-turn]="isOwnTurn()">
72012
+ <span>{{ t('christianityTurn') }}</span>
72013
+ <strong>{{ currentPlayer().displayName }}</strong>
72014
+ </div>
72015
+ }
72016
+ </div>
72017
+ </section>
72018
+
72019
+ @if (screen() === 'splash') {
72020
+ <section class="christianity-splash" role="status" aria-live="polite">
72021
+ <div class="christianity-splash__mark">
72022
+ <i aria-hidden="true"></i>
72023
+ <i aria-hidden="true"></i>
72024
+ <i aria-hidden="true"></i>
72025
+ </div>
72026
+ <div>
72027
+ <span>{{ t('christianitySplashEyebrow') }}</span>
72028
+ <h2>{{ t('christianitySplashTitle') }}</h2>
72029
+ <p>{{ splashStatusText() }}</p>
72030
+ </div>
72031
+ </section>
72032
+ } @else if (screen() === 'home') {
72033
+ <section class="christianity-start">
72034
+ <div class="christianity-start__hero">
72035
+ <div class="christianity-start__copy">
72036
+ <span>{{ t('christianityGenesisEdition') }}</span>
72037
+ <h2>{{ t('christianityStartTitle') }}</h2>
72038
+ <p>{{ t('christianityStartBody') }}</p>
72039
+ </div>
72040
+ <div class="christianity-start__fan" aria-hidden="true">
72041
+ @for (card of startFeaturedCards(); track card.id) {
72042
+ <val-christianity-card
72043
+ [card]="definitionToRenderCard(card)"
72044
+ variant="hand"
72045
+ [style.transform]="startFeaturedCardTransform($index)"
72046
+ ></val-christianity-card>
72047
+ }
72048
+ </div>
72049
+ </div>
72050
+ <div class="christianity-start__cards">
72051
+ <article>
72052
+ <strong>{{ t('christianityTutorialMode') }}</strong>
72053
+ <p>{{ t('christianityTutorialModeBody') }}</p>
72054
+ <button type="button" class="christianity-primary-action" valLightRipple (click)="startTutorial()">
72055
+ {{ t('christianityStartTutorial') }}
72056
+ </button>
72057
+ </article>
72058
+ <article>
72059
+ <strong>{{ t('christianityGallery') }}</strong>
72060
+ <p>{{ t('christianityGalleryModeBody') }}</p>
72061
+ <button type="button" class="christianity-secondary-action" valLightRipple (click)="openGallery()">
72062
+ {{ t('christianityOpenGallery') }}
72063
+ </button>
72064
+ </article>
72065
+ <article>
72066
+ <strong>{{ t('christianityHowToPlay') }}</strong>
72067
+ <p>{{ t('christianityHowToPlayBody') }}</p>
72068
+ <button type="button" class="christianity-secondary-action" valLightRipple (click)="inspectHowToPlay()">
72069
+ {{ t('learnMore') }}
72070
+ </button>
72071
+ </article>
72072
+ </div>
72073
+ <div class="christianity-start__status" [attr.aria-label]="t('christianityEditionStatus')">
72074
+ <span>{{ galleryEditionLabel() }}</span>
72075
+ <span>{{ t('christianityTutorialActive') }}</span>
72076
+ <span>{{ catalogStatusLabel() }}</span>
72077
+ </div>
72078
+ <section class="christianity-start__modes" [attr.aria-label]="t('christianityFutureModes')">
72079
+ @for (mode of futureModes(); track mode.title) {
72080
+ <article>
72081
+ <strong>{{ mode.title }}</strong>
72082
+ <p>{{ mode.body }}</p>
72083
+ <span>{{ t('soonTitle') }}</span>
72084
+ </article>
72085
+ }
72086
+ </section>
72087
+ </section>
72088
+ } @else {
72089
+ <section class="christianity-match-strip" [attr.aria-label]="t('christianityMatchScore')">
72090
+ <article class="christianity-match-player">
72091
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
72092
+ <div>
72093
+ <strong>{{ player().displayName }}</strong>
72094
+ <small>{{ playerLeaderDisplayName(player()) }} · {{ player().leaderHp }}/{{ player().leaderMaxHp }}</small>
72095
+ </div>
72096
+ </article>
72097
+ <div class="christianity-scoreboard">
72098
+ <span>{{ t('christianityMatch') }}</span>
72099
+ <strong>{{ game().matchScore.P1 }}-{{ game().matchScore.P2 }}</strong>
72100
+ </div>
72101
+ <article class="christianity-match-player christianity-match-player--opponent">
72102
+ <span class="christianity-avatar" [style.background]="opponent().avatarColor">{{ opponent().avatar }}</span>
72103
+ <div>
72104
+ <strong>{{ opponent().displayName }}</strong>
72105
+ <small>{{ playerLeaderDisplayName(opponent()) }} · {{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</small>
72106
+ </div>
72107
+ </article>
72108
+ </section>
72109
+
72110
+ <section class="christianity-hand-shelf christianity-hand-shelf--opponent">
72111
+ <div class="christianity-hand-meter christianity-hand-meter--opponent">
72112
+ <span>{{ t('christianityHand') }}</span>
72113
+ <strong>{{ opponentHandCount() }}</strong>
72114
+ </div>
72115
+ <section class="christianity-hand-fan christianity-hand-fan--opponent" [attr.aria-label]="t('christianityOpponentHand')">
72116
+ @for (_ of hiddenHandCards(opponentHandCount()); track $index) {
72117
+ <button
72118
+ type="button"
72119
+ class="christianity-card-preview-card christianity-card-frame christianity-card-frame--back"
72120
+ valLightRipple
72121
+ [style.transform]="fanTransform($index, opponentHandCount(), true)"
72122
+ [attr.aria-label]="t('christianityHiddenCard')"
72123
+ ></button>
72124
+ }
72125
+ </section>
72126
+ </section>
72127
+
72128
+ <section class="christianity-table" [attr.aria-label]="t('christianityTable')">
72129
+ <section class="christianity-player-side christianity-player-side--opponent">
72130
+ <section class="christianity-player-rack christianity-player-rack--opponent">
72131
+ <div class="christianity-offerings-zone">
72132
+ <button type="button" class="christianity-offering-pile" valLightRipple (click)="openOfferings('P2')">
72133
+ <i aria-hidden="true"></i>
72134
+ <i aria-hidden="true"></i>
72135
+ <i aria-hidden="true"></i>
72136
+ <span>{{ t('christianityOfferings') }}</span>
72137
+ <strong>{{ readyOfferings(opponent()) }}/{{ totalOfferings(opponent()) }}</strong>
72138
+ </button>
72139
+ </div>
72140
+ <button type="button" class="christianity-leader-card christianity-render-card-button" valLightRipple [class.is-target]="selectedAttacker() && !hasOpponentGuards()" (click)="handleOpponentLeader()">
72141
+ <val-christianity-card [card]="leaderRenderCard(opponent())" variant="table"></val-christianity-card>
72142
+ </button>
72143
+ <span class="christianity-rack-spacer" aria-hidden="true"></span>
72144
+ </section>
72145
+
72146
+ <section class="christianity-battle-zone christianity-battle-zone--opponent" [attr.aria-label]="t('christianityOpponentBattle')">
72147
+ @for (slot of battleSlots('P2'); track slot.trackId) {
72148
+ @if (slot.card) {
72149
+ <button
72150
+ type="button"
72151
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-render-card-button"
72152
+ valLightRipple
72153
+ [class.is-target]="selectedAttacker()"
72154
+ (click)="handleOpponentCharacter(slot.card)"
72155
+ >
72156
+ <val-christianity-card [card]="characterRenderCard(slot.card)" variant="table"></val-christianity-card>
72157
+ </button>
72158
+ } @else {
72159
+ <span class="christianity-slot"></span>
72160
+ }
72161
+ }
72162
+ </section>
72163
+ </section>
72164
+
72165
+ <section class="christianity-shared-zone" [attr.aria-label]="t('christianitySharedZone')">
72166
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--history" valLightRipple (click)="openHistory()">
72167
+ <i aria-hidden="true"></i>
72168
+ <i aria-hidden="true"></i>
72169
+ <i aria-hidden="true"></i>
72170
+ <span>{{ t('christianityHistory') }}</span>
72171
+ <strong>{{ game().historyZone.length }}</strong>
72172
+ </button>
72173
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--deck" valLightRipple aria-live="polite" (click)="inspectDeck()">
72174
+ <i aria-hidden="true"></i>
72175
+ <i aria-hidden="true"></i>
72176
+ <i aria-hidden="true"></i>
72177
+ <span>{{ t('christianityDeck') }}</span>
72178
+ <strong>{{ game().sharedDeck.length }}</strong>
72179
+ </button>
72180
+ <div class="christianity-zone-card">
72181
+ <span>{{ t('christianityPlace') }}</span>
72182
+ <strong>{{ t('christianityEmpty') }}</strong>
72183
+ </div>
72184
+ </section>
72185
+
72186
+ <section class="christianity-player-side">
72187
+ <section class="christianity-battle-zone" [class.is-placing-card]="canPlaceSelectedCharacter() || isDraggingCharacter()" [attr.aria-label]="t('christianityYourBattle')">
72188
+ @for (slot of battleSlots('P1'); track slot.trackId) {
72189
+ @if (slot.card) {
72190
+ <button
72191
+ type="button"
72192
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-render-card-button"
72193
+ valLightRipple
72194
+ [class.is-selected]="selectedAttacker()?.instanceId === slot.card.instanceId"
72195
+ [class.is-exhausted]="!slot.card.canAttack"
72196
+ [class.is-ready-attacker]="isOwnTurn() && slot.card.canAttack"
72197
+ (click)="selectAttacker(slot.card)"
72198
+ >
72199
+ <val-christianity-card [card]="characterRenderCard(slot.card)" variant="table"></val-christianity-card>
72200
+ </button>
72201
+ } @else {
72202
+ <button
72203
+ type="button"
72204
+ class="christianity-slot"
72205
+ cdkDropList
72206
+ [id]="battleSlotDropId($index)"
72207
+ [cdkDropListData]="$index"
72208
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
72209
+ [cdkDropListEnterPredicate]="canDropOnBattleSlot"
72210
+ [cdkDropListSortingDisabled]="true"
72211
+ [class.christianity-slot--play-target]="canPlaceSelectedCharacter() || isDraggingCharacter()"
72212
+ valLightRipple
72213
+ (cdkDropListDropped)="dropOnBattleSlot($event, $index)"
72214
+ (click)="playSelectedCard($index)"
72215
+ >
72216
+ @if (canPlaceSelectedCharacter() || isDraggingCharacter()) {
72217
+ <span>{{ t('christianityPlayHere') }}</span>
72218
+ }
72219
+ </button>
72220
+ }
72221
+ }
72222
+ </section>
72223
+
72224
+ <section class="christianity-player-rack">
72225
+ <div class="christianity-offerings-zone">
72226
+ <button
72227
+ type="button"
72228
+ class="christianity-offering-pile"
72229
+ cdkDropList
72230
+ id="christianity-offerings-drop"
72231
+ valLightRipple
72232
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
72233
+ [class.is-play-target]="canPlaceSelectedOffering() || isDraggingOffering()"
72234
+ [cdkDropListEnterPredicate]="canDropOnOfferings"
72235
+ [cdkDropListSortingDisabled]="true"
72236
+ (cdkDropListDropped)="dropOnOfferings($event)"
72237
+ (click)="handleOfferingPile('P1')"
72238
+ >
72239
+ <i aria-hidden="true"></i>
72240
+ <i aria-hidden="true"></i>
72241
+ <i aria-hidden="true"></i>
72242
+ <span>{{ t('christianityOfferings') }}</span>
72243
+ <strong>{{ readyOfferings(player()) }}/{{ totalOfferings(player()) }}</strong>
72244
+ </button>
72245
+ </div>
72246
+ <button type="button" class="christianity-leader-card christianity-render-card-button" valLightRipple (click)="inspectLeader('P1')">
72247
+ <val-christianity-card [card]="leaderRenderCard(player())" variant="table"></val-christianity-card>
72248
+ </button>
72249
+ <div class="christianity-player-command">
72250
+ <div class="christianity-player-badge">
72251
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
72252
+ <strong>{{ player().displayName }}</strong>
72253
+ </div>
72254
+ <button
72255
+ type="button"
72256
+ class="christianity-end-turn"
72257
+ (click)="endTurn()"
72258
+ >
72259
+ {{ t('christianityEndTurn') }}
72260
+ </button>
72261
+ </div>
72262
+ </section>
72263
+ </section>
72264
+ </section>
72265
+
72266
+ <section class="christianity-hand-shelf">
72267
+ <div class="christianity-hand-meter">
72268
+ <span>{{ t('christianityHand') }}</span>
72269
+ <strong>{{ player().hand?.length ?? 0 }}</strong>
72270
+ </div>
72271
+ <section
72272
+ class="christianity-hand-fan"
72273
+ cdkDropList
72274
+ id="christianity-hand-source"
72275
+ [cdkDropListConnectedTo]="dropTargetIds()"
72276
+ [attr.aria-label]="t('christianityYourHand')"
72277
+ (pointerleave)="clearHoveredHandIndex()"
72278
+ >
72279
+ @for (cardId of player().hand ?? []; track cardId + $index) {
72280
+ @let card = cardDefinition(cardId);
72281
+ <div
72282
+ class="christianity-hand-card-wrap"
72283
+ [class.is-selected]="selectedHandCard() === cardId"
72284
+ [class.is-dragging]="draggingCardId() === cardId"
72285
+ [style.z-index]="handCardZIndex($index)"
72286
+ [style.transform]="fanTransform($index, player().hand?.length ?? 0, false)"
72287
+ (pointerenter)="setHoveredHandIndex($index)"
72288
+ (pointerdown)="setHoveredHandIndex($index)"
72289
+ (pointerup)="releaseHoveredHand($event)"
72290
+ >
72291
+ <button
72292
+ type="button"
72293
+ class="christianity-card-preview-card christianity-card-preview-card--hand christianity-render-card-button"
72294
+ cdkDrag
72295
+ valLightRipple
72296
+ [cdkDragData]="cardId"
72297
+ [cdkDragDisabled]="!canPlay(card)"
72298
+ [class.is-selected]="selectedHandCard() === cardId"
72299
+ [class.is-disabled]="!canPlay(card)"
72300
+ (cdkDragStarted)="startDraggingCard(cardId)"
72301
+ (cdkDragEnded)="endDraggingCard()"
72302
+ (click)="selectHandCard(cardId)"
72303
+ >
72304
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="hand"></val-christianity-card>
72305
+ </button>
72306
+ <button
72307
+ type="button"
72308
+ class="christianity-card-eye"
72309
+ [attr.aria-label]="t('christianityPreviewCard')"
72310
+ (click)="inspectHandCard(cardId, true); $event.stopPropagation()"
72311
+ ></button>
72312
+ </div>
72313
+ }
72314
+ </section>
72315
+ </section>
72316
+ }
72317
+
72318
+ @if (selectedPreview()) {
72319
+ <button type="button" class="christianity-preview-backdrop" [attr.aria-label]="t('christianityClosePreview')" (click)="closePreview()"></button>
72320
+ <aside
72321
+ class="christianity-floating-card-shell"
72322
+ aria-live="polite"
72323
+ >
72324
+ <button type="button" class="christianity-floating-card-close" (click)="closePreview()">
72325
+ {{ t('close') }}
72326
+ </button>
72327
+ <div
72328
+ class="christianity-floating-card"
72329
+ [style.--preview-rotate-x]="previewTilt().rotateX + 'deg'"
72330
+ [style.--preview-rotate-y]="previewTilt().rotateY + 'deg'"
72331
+ [style.--preview-shift-x]="previewTilt().shiftX + 'px'"
72332
+ [style.--preview-shift-y]="previewTilt().shiftY + 'px'"
72333
+ (pointermove)="tiltPreview($event)"
72334
+ (pointerleave)="resetPreviewTilt()"
72335
+ >
72336
+ @if (selectedPreviewRenderCard(); as previewCard) {
72337
+ <val-christianity-card [card]="previewCard" variant="full"></val-christianity-card>
72338
+ }
72339
+ </div>
72340
+ @if (previewRule(); as rule) {
72341
+ <div class="christianity-preview-rule-note">
72342
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72343
+ <div>
72344
+ <small>{{ t('christianityCardRule') }}</small>
72345
+ <strong>{{ rule.title }}</strong>
72346
+ <p>{{ rule.body }}</p>
72347
+ </div>
72348
+ </div>
72349
+ }
72350
+ </aside>
72351
+ }
72352
+
72353
+ @if (selectedInfo(); as info) {
72354
+ <button type="button" class="christianity-info-backdrop" [attr.aria-label]="t('close')" (click)="closeInfo()"></button>
72355
+ <aside class="christianity-info-panel" aria-live="polite">
72356
+ <button type="button" class="christianity-dialog-close christianity-info-close" (click)="closeInfo()">
72357
+ {{ t('close') }}
72358
+ </button>
72359
+ <div class="christianity-rule-note">
72360
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72361
+ <div>
72362
+ <small>{{ info.eyebrow }}</small>
72363
+ <h2>{{ info.title }}</h2>
72364
+ <strong>{{ info.meta }}</strong>
72365
+ <p>{{ info.body }}</p>
72366
+ <ul>
72367
+ @for (fact of info.facts; track fact) {
72368
+ <li>{{ fact }}</li>
72369
+ }
72370
+ </ul>
72371
+ </div>
72372
+ </div>
72373
+ </aside>
72374
+ }
72375
+
72376
+ @if (screen() === 'table') {
72377
+ <section class="christianity-actions" aria-live="polite">
72378
+ <p>{{ statusText() }}</p>
72379
+ <div>
72380
+ <button type="button" [disabled]="selectedActionDisabled()" (click)="playSelectedCard()">
72381
+ {{ selectedActionLabel() }}
72382
+ </button>
72383
+ <button type="button" (click)="resetMock()">
72384
+ {{ t('christianityReset') }}
72385
+ </button>
72386
+ </div>
72387
+ </section>
72388
+ }
72389
+
72390
+ @if (showHistory()) {
72391
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseHistory')" (click)="showHistory.set(false)"></button>
72392
+ <section class="christianity-history-drawer">
72393
+ <header>
72394
+ <h2>{{ t('christianityHistory') }}</h2>
72395
+ <div class="christianity-dialog-actions">
72396
+ <span>{{ game().historyZone.length }}</span>
72397
+ <button type="button" class="christianity-dialog-close" (click)="showHistory.set(false)">
72398
+ {{ t('close') }}
72399
+ </button>
72400
+ </div>
72401
+ </header>
72402
+ @if (game().historyZone.length) {
72403
+ <div class="christianity-history-grid">
72404
+ @for (cardId of game().historyZone; track cardId + $index) {
72405
+ @let card = cardDefinition(cardId);
72406
+ <button type="button" class="christianity-gallery-card-button christianity-render-card-button" valLightRipple (click)="inspectHistoryCard(cardId)">
72407
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="list"></val-christianity-card>
72408
+ </button>
72409
+ }
72410
+ </div>
72411
+ } @else {
72412
+ <p>{{ t('christianityHistoryEmpty') }}</p>
72413
+ }
72414
+ </section>
72415
+ }
72416
+
72417
+ @if (showGallery()) {
72418
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseGallery')" (click)="closeGallery()"></button>
72419
+ <section class="christianity-history-drawer christianity-gallery-drawer">
72420
+ <header>
72421
+ <div>
72422
+ <h2>{{ t('christianityGallery') }}</h2>
72423
+ <p>{{ galleryEditionLabel() }}</p>
72424
+ </div>
72425
+ <div class="christianity-dialog-actions">
72426
+ <span>{{ galleryCards().length }}</span>
72427
+ <button type="button" class="christianity-dialog-close" (click)="closeGallery()">
72428
+ {{ t('close') }}
72429
+ </button>
72430
+ </div>
72431
+ </header>
72432
+ <div class="christianity-gallery-controls">
72433
+ <label>
72434
+ <span>{{ t('christianityGallerySearch') }}</span>
72435
+ <input type="search" [value]="gallerySearch()" (input)="setGallerySearch($event)" [placeholder]="t('christianityGallerySearchPlaceholder')" />
72436
+ </label>
72437
+ <label>
72438
+ <span>{{ t('christianityGalleryFilter') }}</span>
72439
+ <select [value]="galleryType()" (change)="setGalleryType($event)">
72440
+ @for (option of galleryTypeOptions(); track option.value) {
72441
+ <option [value]="option.value">{{ option.label }}</option>
72442
+ }
72443
+ </select>
72444
+ </label>
72445
+ </div>
72446
+ <div class="christianity-gallery-edition-strip">
72447
+ <button type="button" class="is-active" valLightRipple>
72448
+ <img [src]="galleryEditionIcon()" alt="" />
72449
+ <span>{{ t('christianityGenesisEdition') }}</span>
72450
+ </button>
72451
+ </div>
72452
+ <div class="christianity-gallery-grid">
72453
+ @for (card of galleryCards(); track card.id) {
72454
+ <button type="button" class="christianity-gallery-card-button christianity-render-card-button" valLightRipple (click)="inspectGalleryCard(card.id)">
72455
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="list"></val-christianity-card>
72456
+ </button>
72457
+ } @empty {
72458
+ <p>{{ t('christianityGalleryEmpty') }}</p>
72459
+ }
72460
+ </div>
72461
+ </section>
72462
+ }
72463
+
72464
+ @if (offeringsSeat()) {
72465
+ @let offeringPlayer = game().players[offeringsSeat()!];
72466
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseOfferings')" (click)="closeOfferings()"></button>
72467
+ <section class="christianity-history-drawer christianity-offerings-drawer">
72468
+ <header>
72469
+ <h2>{{ t('christianityOfferings') }}</h2>
72470
+ <div class="christianity-dialog-actions">
72471
+ <span>{{ readyOfferings(offeringPlayer) }}/{{ totalOfferings(offeringPlayer) }}</span>
72472
+ <button type="button" class="christianity-dialog-close" (click)="closeOfferings()">
72473
+ {{ t('close') }}
72474
+ </button>
72475
+ </div>
72476
+ </header>
72477
+ <div class="christianity-offerings-note">
72478
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72479
+ <p>{{ t('christianityOfferingsRuleBody') }}</p>
72480
+ </div>
72481
+ <div class="christianity-offering-list">
72482
+ @for (offering of offeringPlayer.offerings; track offering.instanceId) {
72483
+ <article class="christianity-offering-row" [class.is-exhausted]="!offering.ready">
72484
+ <button type="button" class="christianity-offering-card christianity-render-card-button" valLightRipple (click)="inspectOffering(offering)">
72485
+ <val-christianity-card [card]="offeringRenderCard(offering)" variant="list"></val-christianity-card>
72486
+ </button>
72487
+ <div>
72488
+ <strong>{{ offering.ready ? t('christianityOfferingReady') : t('christianityOfferingExhausted') }}</strong>
72489
+ <p>{{ offeringAbilityText(offering) }}</p>
72490
+ @if (offering.abilityName) {
72491
+ <button
72492
+ type="button"
72493
+ [disabled]="!canUseOfferingAbility(offering, offeringsSeat()!)"
72494
+ (click)="useOfferingAbility(offering, offeringsSeat()!)"
72495
+ >
72496
+ {{ t('christianityUseAbility') }}
72497
+ </button>
72498
+ }
72499
+ </div>
72500
+ </article>
72501
+ }
72502
+ </div>
72503
+ </section>
72504
+ }
72505
+ </main>
72506
+ `, isInline: true, styles: [":host{--christianity-theme-ink: var(--val-text-color, #1f2933);--christianity-theme-surface: #ffffff;--christianity-theme-parchment: #eff6ff;--christianity-theme-olive: #1d4ed8;--christianity-theme-gold: #2563eb;--christianity-theme-gold-soft: rgba(37, 99, 235, .16);--christianity-theme-gold-ring: rgba(37, 99, 235, .44);--christianity-theme-glow: rgba(37, 99, 235, .24);--christianity-theme-focus: #2563eb;--christianity-theme-shadow: rgba(37, 99, 235, .15);--christianity-theme-shadow-strong: rgba(37, 99, 235, .26);--christianity-card-aspect: 5 / 7.45;--christianity-card-back: linear-gradient(135deg, rgba(16, 42, 67, .16), rgba(16, 42, 67, .03)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);--christianity-card-back-soft: linear-gradient(135deg, rgba(16, 42, 67, .11), rgba(16, 42, 67, .02)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);display:block;max-width:100%;min-width:0;overflow-x:clip;color:var(--christianity-theme-ink)}.christianity-shell{box-sizing:border-box;display:grid;gap:.65rem;width:100%;max-width:100%;min-width:0;padding:.75rem .25rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#f6f8fb;overflow-x:clip;overflow-y:visible}.christianity-header,.christianity-match-strip,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-header h1,.christianity-header p,.christianity-match-player strong,.christianity-match-player small,.christianity-scoreboard span,.christianity-history h2,.christianity-actions p{margin:0}.christianity-header h1{font-size:1.35rem;line-height:1.1}.christianity-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.christianity-gallery-open{min-height:2.2rem;padding:0 .75rem;border:1px solid var(--christianity-theme-gold-ring);border-radius:999px;background:linear-gradient(180deg,#eff6fffa,#fffffffa),radial-gradient(circle at 20% 0%,var(--christianity-theme-gold-soft),transparent 42%);color:var(--christianity-theme-ink);font:inherit;font-size:.82rem;font-weight:800;box-shadow:0 .55rem 1.2rem #2563eb1a}.christianity-splash,.christianity-start{min-height:min(34rem,calc(100dvh - 8rem));border:1px solid rgba(37,99,235,.18);border-radius:.9rem;background:radial-gradient(circle at 50% 18%,rgba(37,99,235,.16),transparent 22rem),linear-gradient(180deg,#eff6ffed,#fffffff7),var(--christianity-card-back-soft);box-shadow:0 1.2rem 3.2rem #2563eb1f}.christianity-splash{display:grid;place-items:center;align-content:center;gap:1.2rem;padding:2.5rem 1.25rem;text-align:center}.christianity-splash__mark{position:relative;width:6.4rem;height:8.9rem;filter:drop-shadow(0 1rem 1.8rem rgba(82,64,28,.18))}.christianity-splash__mark i{position:absolute;inset:0;border:1px solid rgba(36,48,68,.16);border-radius:.7rem;background:radial-gradient(circle at 76% 12%,rgba(250,204,21,.9) 0 .42rem,transparent .45rem),linear-gradient(180deg,#fffffffa,#f8fafcfa)}.christianity-splash__mark i:nth-child(1){transform:translate(-1.1rem) rotate(-9deg)}.christianity-splash__mark i:nth-child(2){transform:translateY(-.32rem)}.christianity-splash__mark i:nth-child(3){transform:translate(1.1rem) rotate(9deg)}.christianity-splash__mark:after{content:\"\";position:absolute;inset:2.1rem 1.05rem 2.5rem;border-radius:.55rem;background:radial-gradient(circle at 50% 44%,rgba(245,199,85,.7),transparent 36%),linear-gradient(135deg,#5f6f2a33,#5f6f2a14)}.christianity-splash span,.christianity-start__copy span{color:var(--christianity-theme-olive);font-size:.76rem;font-weight:900;text-transform:uppercase}.christianity-splash h2,.christianity-start h2,.christianity-start p{margin:0}.christianity-splash h2{margin-top:.2rem;font-size:clamp(1.65rem,7vw,2.7rem);line-height:1}.christianity-splash p{max-width:26rem;margin:.55rem auto 0;color:#1f2933ad;font-size:.96rem}.christianity-start{display:grid;align-content:center;gap:1rem;padding:clamp(.85rem,2vw,1.35rem)}.christianity-start__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,18rem);gap:1rem;align-items:center}.christianity-start__copy{display:grid;gap:.45rem;max-width:36rem}.christianity-start h2{font-size:clamp(1.6rem,6vw,2.5rem);line-height:1.02}.christianity-start__copy p,.christianity-start__cards p,.christianity-start__modes p{color:#1f2933ad;line-height:1.42}.christianity-start__fan{position:relative;display:grid;place-items:center;min-height:13rem;overflow:visible}.christianity-start__fan val-christianity-card{position:absolute;width:clamp(5.7rem,12vw,7.2rem);transform-origin:50% 92%;filter:drop-shadow(0 1rem 1.5rem rgba(82,64,28,.18))}.christianity-start__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.christianity-start__cards article,.christianity-start__modes article{display:grid;gap:.65rem;align-content:start;padding:.95rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#ffffffd1;box-shadow:0 .75rem 1.7rem #52401c14}.christianity-start__cards article{min-height:11rem}.christianity-start__cards strong{font-size:1.05rem}.christianity-start__status{display:flex;flex-wrap:wrap;gap:.45rem}.christianity-start__status span,.christianity-start__modes article>span{display:inline-flex;align-items:center;width:fit-content;min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(37,99,235,.22);border-radius:999px;background:#eff6ffe0;color:#1f2933b8;font-size:.75rem;font-weight:850}.christianity-start__modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.christianity-start__modes article{min-height:8.5rem;background:#f8fafcb8;box-shadow:none;opacity:.82}.christianity-start__modes strong{font-size:.92rem}.christianity-start__modes p{margin:0;font-size:.8rem}.christianity-primary-action,.christianity-secondary-action{justify-self:start;min-height:2.5rem;padding:0 .9rem;border-radius:999px;font:inherit;font-weight:900}.christianity-primary-action{border:1px solid rgba(16,42,67,.16);background:#102a43;color:#fff}.christianity-secondary-action{border:1px solid var(--christianity-theme-gold-ring);background:var(--christianity-theme-parchment);color:var(--christianity-theme-ink)}.christianity-header p,.christianity-turn span,.christianity-offerings span,.christianity-hidden-hand span,.christianity-deck span,.christianity-place span,.christianity-pile span,.christianity-leader span{color:#1f2933a3;font-size:.75rem}.christianity-turn,.christianity-leader,.christianity-offerings,.christianity-hidden-hand,.christianity-pile,.christianity-deck,.christianity-place{display:grid;gap:.15rem;min-width:5.25rem;padding:.55rem .65rem;border:1px solid rgba(36,48,68,.12);border-radius:.5rem;background:#fff}.christianity-turn.is-own-turn{border-color:#12806c59;background:#ecfdf5}.christianity-match-strip{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:.45rem;border:1px solid rgba(36,48,68,.1);border-radius:.75rem;background:#fff}.christianity-match-player{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0}.christianity-match-player--opponent{direction:rtl}.christianity-match-player--opponent div{direction:ltr;text-align:right}.christianity-match-player div{display:grid;min-width:0}.christianity-match-player strong,.christianity-match-player small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-match-player small,.christianity-scoreboard span{color:#1f293394;font-size:.72rem}.christianity-scoreboard{display:grid;justify-items:center;min-width:4.2rem;padding:0 .55rem;border-right:1px solid rgba(36,48,68,.1);border-left:1px solid rgba(36,48,68,.1)}.christianity-scoreboard strong{font-size:1.2rem;line-height:1}.christianity-table{box-sizing:border-box;display:grid;gap:.45rem;width:100%;max-width:100%;min-width:0;padding:.45rem .35rem;border-radius:.75rem;background:#dceafb;overflow-x:clip;overflow-y:visible}.christianity-player-side{box-sizing:border-box;display:grid;gap:.35rem;width:100%;max-width:100%;min-width:0;padding:.35rem .3rem;border-radius:.7rem;background:#ffffff57;grid-template-rows:minmax(7rem,1fr) auto;min-height:13.75rem}.christianity-player-side--opponent{grid-template-rows:auto minmax(7rem,1fr)}.christianity-player{display:grid;gap:.65rem}.christianity-battle-zone{--christianity-battle-card-width: clamp(4.8rem, 15vw, 6.6rem);box-sizing:border-box;display:grid;grid-template-columns:repeat(4,var(--christianity-battle-card-width));gap:.5rem;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;min-height:clamp(9.1rem,29vw,11rem);padding:.55rem .4rem;border-radius:.75rem;background:#ffffffc2;transition:background .16s ease,box-shadow .16s ease}.christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#fffaf0f5,#ffffffd6),#ffffffc2;box-shadow:inset 0 0 0 .14rem var(--christianity-theme-gold-soft),0 .8rem 1.7rem #5f6f2a1f}.christianity-shared-zone{padding:.55rem .4rem;border-radius:.75rem;background:#ffffffe6}.christianity-card,.christianity-end-turn,.christianity-actions button,.christianity-pile,.christianity-leader--target{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card{display:grid;align-content:space-between;min-height:5.8rem;padding:.5rem;text-align:left;box-shadow:0 .5rem 1.25rem #24304414}.christianity-card span{font-weight:700}.christianity-card strong{justify-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-card.is-selected{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .18rem var(--christianity-theme-gold-soft),0 .85rem 1.4rem var(--christianity-theme-shadow)}.christianity-card.is-disabled,.christianity-card.is-exhausted{opacity:.55}.christianity-card.is-target{border-color:#dc2626}.christianity-offering-cards{display:grid;grid-auto-flow:column;grid-auto-columns:.7rem;gap:.16rem;align-items:end;min-height:1.05rem}.christianity-offering-cards i{display:block;width:.65rem;height:.95rem;border:1px solid rgba(16,42,67,.22);border-radius:.18rem;background:#f8fafc}.christianity-offering-cards i.is-used{background:#cbd5e1;transform:rotate(90deg);transform-origin:center}.christianity-slot{display:grid;place-items:center;justify-self:center;width:var(--christianity-battle-card-width);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px dashed rgba(36,48,68,.22);border-radius:.5rem;background:#ffffff73;color:inherit;font:inherit}.christianity-slot--play-target{position:relative;border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0eb,#f8fafcd1),#ffffffb3;color:#5d4305;font-weight:800;overflow:hidden;box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-slot--play-target:before{content:\"\";position:absolute;inset:.35rem;border:1px solid rgba(214,162,29,.22);border-radius:.4rem;background:linear-gradient(135deg,rgba(214,162,29,.1),transparent 46%),radial-gradient(circle at 50% 42%,var(--christianity-theme-glow),transparent 58%)}.christianity-slot--play-target span{position:relative;z-index:2;padding:.16rem .44rem;border-radius:999px;background:#ffffffc7;font-size:.78rem}@keyframes christianity-target-pulse{0%,to{box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow)}50%{box-shadow:inset 0 0 0 .16rem #d6a21d57,0 .9rem 1.65rem var(--christianity-theme-shadow-strong)}}.christianity-hand{display:grid;grid-auto-columns:minmax(6rem,8rem);grid-auto-flow:column;gap:.55rem;overflow-x:auto;padding-bottom:.25rem}.christianity-actions{align-items:flex-start;padding:.75rem;border-radius:.75rem;background:#fff}.christianity-actions div{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.christianity-actions button,.christianity-end-turn{min-height:2.4rem;padding:0 .75rem;font-weight:700}.christianity-actions button:not(:disabled),.christianity-end-turn{background:#102a43;color:#fff}.christianity-history{padding:.75rem;border-radius:.75rem;background:#fff}.christianity-hand-fan{position:relative;display:flex;justify-content:center;min-height:10.8rem;padding:.25rem .25rem 2.1rem;isolation:isolate;overflow:visible}.christianity-hand-shelf{position:relative;display:grid;z-index:12;min-height:12rem;margin-top:-1.15rem;padding:1.45rem .25rem 1rem;overflow:visible}.christianity-hand-shelf--opponent{z-index:8;min-height:6.85rem;margin-top:0;margin-bottom:0;padding:.45rem .25rem .85rem}.christianity-hand-fan--opponent{min-height:5.9rem;padding-bottom:.75rem;align-items:start}.christianity-hand-fan--opponent .christianity-card-frame--back{width:clamp(3.7rem,12vw,4.9rem);margin-inline:-.9rem;transform-origin:50% 120%}.christianity-hand-fan--opponent .christianity-card-frame--back:first-child{margin-left:0}.christianity-hand-fan--opponent .christianity-card-frame--back:last-child{margin-right:0}.christianity-card-preview-card,.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile,.christianity-end-turn{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card-preview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;text-align:left;transform-origin:50% 115%;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;box-shadow:0 .5rem 1.25rem #2430441a}.christianity-render-card-button{display:block;padding:0;overflow:visible;border:0;background:transparent;box-shadow:none}.christianity-render-card-button>val-christianity-card{display:block;width:100%;height:100%}.christianity-gallery-card-button{display:block;width:min(100%,6.8rem);min-width:0;aspect-ratio:var(--christianity-card-aspect);padding:0;overflow:visible;border:0;background:transparent;color:inherit;font:inherit;text-align:left;box-shadow:none}.christianity-gallery-card-button>val-christianity-card{display:block;width:100%;height:100%}.christianity-card-preview-card--hand.christianity-render-card-button,.christianity-card-preview-card--battle.christianity-render-card-button,.christianity-leader-card.christianity-render-card-button{aspect-ratio:var(--christianity-card-aspect)}.christianity-card-preview-card--hand.christianity-render-card-button:hover val-christianity-card,.christianity-card-preview-card--hand.christianity-render-card-button.is-selected val-christianity-card,.christianity-card-preview-card--battle.christianity-render-card-button.is-selected val-christianity-card,.christianity-card-preview-card--battle.christianity-render-card-button.is-target val-christianity-card,.christianity-leader-card.christianity-render-card-button.is-target val-christianity-card{filter:drop-shadow(0 0 .55rem rgba(214,162,29,.35))}.christianity-card-preview-card--battle.christianity-render-card-button.is-ready-attacker val-christianity-card{filter:drop-shadow(0 .45rem .8rem rgba(95,111,42,.16))}.christianity-card-preview-card--battle.christianity-render-card-button.is-selected{transform:translateY(-.28rem)}.christianity-card-frame{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;overflow:hidden;padding:.48rem;text-align:left;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 15% 0%,rgba(214,162,29,.12),transparent 44%);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-frame-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.16rem;align-items:start;min-width:0}.christianity-card-frame-header small{grid-column:1;min-width:0;overflow:hidden;color:#1f2933a3;font-size:clamp(.52rem,1.5vw,.68rem);line-height:1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header strong{grid-column:1;justify-self:start;align-self:start;min-width:0;padding:0;overflow:hidden;border-radius:0;background:transparent;font-size:clamp(.82rem,2.5vw,1.05rem);line-height:1.02;text-overflow:ellipsis;white-space:nowrap}.christianity-card-preview-card--hand .christianity-card-frame-header strong,.christianity-card-preview-card--battle .christianity-card-frame-header strong,.christianity-leader-card .christianity-card-frame-header strong{display:-webkit-box;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-preview-card--hand .christianity-card-frame-header small{text-transform:uppercase}.christianity-card-preview-card--hand .christianity-card-frame-art>span{display:-webkit-box;max-width:88%;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-frame-header span{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .22rem;border-radius:999px;background:#ffd91a;color:#243044;font-size:.8rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-frame-header span.is-offering-pips,.christianity-full-card-cost.is-offering-pips,.christianity-offering-card span.is-offering-pips{grid-auto-flow:column;gap:.14rem;min-width:auto;padding:0 .28rem}.christianity-card-frame-header span.is-offering-pips i,.christianity-full-card-cost.is-offering-pips i,.christianity-offering-card span.is-offering-pips i,.christianity-full-card-pips i{display:block;width:.72rem;height:.72rem;border-radius:999px;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 .12rem,transparent .13rem),#ffd91a;box-shadow:inset 0 -.08rem #52401c2e,0 .12rem .24rem #102a431a}.christianity-card-frame-art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-frame-art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-frame-art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-frame-effect{display:grid;align-content:center;gap:.1rem;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-frame-effect strong{justify-self:end;align-self:end;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-frame-effect p{margin:0;overflow:hidden;color:#1f2933b8;font-size:.58rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-footer{display:flex;justify-content:space-between;gap:.22rem;color:#1f293385;font-size:.46rem;font-weight:800;line-height:1}.christianity-card-frame--battle{gap:.22rem;padding:.42rem}.christianity-card-frame--battle .christianity-card-frame-art{min-height:2.6rem}.christianity-card-frame--leader .christianity-card-frame-art{background:linear-gradient(135deg,#2563eb24,#d6a21d29),radial-gradient(circle at 50% 18%,rgba(255,255,255,.78),transparent 48%),#e7eef8}.christianity-card-frame--list{width:clamp(4.4rem,22vw,5.8rem);padding:.38rem}.christianity-card-frame--list .christianity-card-frame-art{min-height:2.5rem}.christianity-hand-card-wrap{position:relative;display:grid;justify-items:center;flex:0 0 auto;margin-inline:-.42rem;padding-bottom:2rem;transform-origin:50% 115%;transition:transform .16s ease,filter .16s ease}.christianity-hand-card-wrap:hover,.christianity-hand-card-wrap.is-selected,.christianity-hand-card-wrap.is-dragging{z-index:3}.christianity-hand-card-wrap:hover .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-selected .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-dragging .christianity-card-preview-card--hand{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .12rem var(--christianity-theme-gold-soft),0 1rem 2rem var(--christianity-theme-shadow)}.christianity-card-preview-card--hand{touch-action:none}.christianity-card-preview-card--hand.cdk-drag-disabled{cursor:not-allowed}.christianity-card-preview-card.cdk-drag-preview{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px solid var(--christianity-theme-gold-ring);box-shadow:0 0 0 .16rem #fff4c2ad,0 1.5rem 3rem var(--christianity-theme-shadow-strong);transform:rotate(2deg) scale(1.03)}.christianity-card-preview-card.cdk-drag-placeholder{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);opacity:.22}.christianity-slot.cdk-drop-list-dragging,.christianity-offering-pile.cdk-drop-list-dragging{border-color:var(--christianity-theme-gold-ring)}.christianity-slot.cdk-drop-list-receiving,.christianity-offering-pile.cdk-drop-list-receiving{box-shadow:inset 0 0 0 .18rem #d6a21d57,0 1rem 1.9rem var(--christianity-theme-shadow-strong)}.christianity-card-eye{position:absolute;right:50%;bottom:.38rem;width:2.15rem;height:1.55rem;border:1px solid color-mix(in srgb,var(--christianity-theme-focus) 52%,transparent);border-radius:999px;background:#fffffff0;box-shadow:0 .55rem 1.1rem #102a4324;opacity:0;transform:translate(50%,-.2rem) scale(.92);transition:opacity .14s ease,transform .14s ease,border-color .14s ease}.christianity-card-eye:before{content:\"\";position:absolute;top:50%;left:50%;width:1.1rem;height:1.1rem;border:.12rem solid var(--christianity-theme-focus);border-radius:82% 0;background:#fffffff0;transform:translate(-50%,-50%) rotate(45deg)}.christianity-card-eye:after{content:\"\";position:absolute;top:50%;left:50%;width:.42rem;height:.42rem;border:.09rem solid rgba(255,255,255,.95);border-radius:999px;background:radial-gradient(circle at 35% 32%,#ffffff 0 .06rem,transparent .07rem),var(--christianity-theme-focus);transform:translate(-50%,-50%)}.christianity-hand-card-wrap:hover .christianity-card-eye,.christianity-hand-card-wrap.is-selected .christianity-card-eye,.christianity-card-eye:focus-visible{opacity:1;transform:translate(50%) scale(1)}.christianity-offering-pile.is-play-target{border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0f5,#fffffff0),radial-gradient(circle at 82% 14%,rgba(250,204,21,.28) 0 .7rem,transparent .72rem);box-shadow:inset 0 0 0 .12rem #d6a21d3d,0 .8rem 1.55rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-card-frame--back,.christianity-card-preview-card--back{width:clamp(4rem,14vw,5.7rem);min-height:0;aspect-ratio:var(--christianity-card-aspect);place-items:center;padding:.55rem;overflow:hidden;box-shadow:0 .8rem 1.55rem #24304424;transform-origin:50% -18%;background:var(--christianity-card-back)}.christianity-card-frame--back:before,.christianity-card-preview-card--back:before{content:\"\";position:absolute;inset:.5rem;border:1px solid rgba(16,42,67,.12);border-radius:.38rem;background:linear-gradient(180deg,#ffffff2e,#ffffff0a);box-shadow:inset 0 0 0 .12rem #ffffff1f}.christianity-card-preview-card--battle{justify-self:center;width:var(--christianity-battle-card-width);min-width:0;height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);margin-inline:0}.christianity-card-preview-card>span,.christianity-card-mini>span,.christianity-offering-pile>span,.christianity-offering-card>span,.christianity-leader-card>span,.christianity-zone-card>span,.christianity-zone-pile>span{position:relative;z-index:2;align-self:start;font-weight:700;line-height:1.05}.christianity-card-preview-card>strong,.christianity-card-mini>strong,.christianity-offering-pile>strong,.christianity-offering-card>strong,.christianity-leader-card>strong,.christianity-zone-card>strong,.christianity-zone-pile>strong{position:relative;z-index:3;justify-self:end;align-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-player-rack{box-sizing:border-box;display:grid;grid-template-columns:minmax(5.9rem,7rem) minmax(5rem,1fr) minmax(4.2rem,7rem);gap:.45rem;align-items:end;justify-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-player-rack--opponent{align-items:start}.christianity-hand-meter{position:absolute;top:0;right:.35rem;z-index:4;display:inline-grid;grid-auto-flow:column;gap:.25rem;align-items:center;min-height:1.7rem;padding:.18rem .46rem;border:1px solid rgba(36,48,68,.12);border-radius:999px;background:#ffffffe6;box-shadow:0 .35rem .8rem #102a4314}.christianity-hand-meter--opponent{top:.15rem}.christianity-hand-meter span{color:#1f293394;font-size:.68rem}.christianity-hand-meter strong{font-size:.86rem}.christianity-player-badge,.christianity-player-command{display:grid;gap:.35rem;justify-items:center;min-width:0}.christianity-player-badge{align-content:start;color:#1f2933c2;font-size:.74rem}.christianity-player-badge--opponent{justify-self:center;grid-auto-flow:column;align-items:center;justify-content:center}.christianity-player-badge strong{max-width:6.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-avatar{display:grid;place-items:center;width:1.85rem;height:1.85rem;border-radius:999px;color:#fff;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .9rem #102a4329}.christianity-offerings-zone{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:flex-start;justify-self:start;width:100%}.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile{display:grid;align-content:space-between;min-height:4.9rem;padding:.48rem;text-align:left}.christianity-card-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}.christianity-offering-pile,.christianity-zone-card,.christianity-zone-pile{grid-template-rows:auto minmax(2.6rem,1fr) auto;align-content:stretch;gap:.32rem}.christianity-card-mini{width:3.5rem}.christianity-offering-pile{position:relative;isolation:isolate;overflow:hidden;justify-self:start;width:min(100%,5.9rem);height:7.1rem;min-height:0;max-height:7.1rem;padding:.95rem .52rem .6rem;background:linear-gradient(180deg,#fff,#f8fafc),linear-gradient(135deg,rgba(250,204,21,.18),transparent 42%)}.christianity-offering-pile>.cdk-drag-placeholder,.christianity-slot>.cdk-drag-placeholder{display:none}.christianity-offering-pile i{position:absolute;top:2.45rem;left:.72rem;z-index:-1;width:2.55rem;height:3.55rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:linear-gradient(180deg,#ffffffeb,#f1f5f9eb),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem);box-shadow:0 .35rem .85rem #102a431a;transform:rotate(-5deg)}.christianity-offering-pile i:nth-child(2){transform:translate(.28rem,.08rem) rotate(3deg)}.christianity-offering-pile i:nth-child(3){transform:translate(.55rem,.18rem) rotate(-1deg)}.christianity-leader-card{align-self:center;justify-self:center;width:clamp(4.75rem,17vw,6rem);min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-rack-spacer{display:block;min-height:1px}.christianity-battle-zone{grid-template-columns:repeat(4,var(--christianity-battle-card-width))}.christianity-shared-zone{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(4.3rem,1fr));align-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-zone-card,.christianity-zone-pile{min-height:6.45rem;padding:.7rem .52rem .55rem}.christianity-zone-pile{position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 0 0 999px #ffffff1f}.christianity-zone-pile i{position:absolute;top:2.2rem;right:.72rem;z-index:-1;width:2.7rem;height:3.7rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:#f8fafc;box-shadow:0 .35rem .85rem #102a431c;transform:rotate(4deg)}.christianity-zone-pile i:nth-child(2){transform:translate(-.28rem,.12rem) rotate(-3deg)}.christianity-zone-pile i:nth-child(3){background:var(--christianity-card-back);transform:translate(-.54rem,.24rem) rotate(2deg)}.christianity-floating-card-shell{position:fixed;top:50%;left:50%;z-index:80;display:grid;grid-template-rows:minmax(0,auto) auto;gap:.55rem;width:min(17.5rem,calc(52dvh - 3rem),calc(100vw - 1.25rem));max-height:calc(100dvh - 1rem);padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-floating-card{position:relative;z-index:1;display:block;width:100%;min-height:0;padding:0;border:0;border-radius:.75rem;background:transparent;box-shadow:0 0 2.2rem var(--christianity-theme-glow);touch-action:none;transform:translate(var(--preview-shift-x, 0px),var(--preview-shift-y, 0px)) perspective(48rem) rotateX(var(--preview-rotate-x, 5deg)) rotateY(var(--preview-rotate-y, -5deg));transition:transform 90ms ease-out}.christianity-floating-card val-christianity-card{display:block;width:100%;min-height:0}.christianity-full-card-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.42rem;align-items:center}.christianity-full-card-header strong{min-width:0;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(1.25rem,5vw,1.85rem);line-height:1.04}.christianity-full-card-type-icon,.christianity-full-card-cost{display:grid;place-items:center;border-radius:999px}.christianity-full-card-type-icon{width:1.6rem;height:1.6rem;background:radial-gradient(circle at 50% 50%,rgba(95,111,42,.72) 0 .22rem,transparent .24rem),#2430441a}.christianity-full-card-type-icon img{width:1rem;height:1rem;object-fit:contain}.christianity-full-card-cost{min-width:2.1rem;height:2.1rem;padding:0 .36rem;background:#ffd91a;color:#243044;font-size:1.1rem;font-weight:900;box-shadow:inset 0 -.12rem #52401c2e}.christianity-full-card-art{position:relative;display:grid;place-items:center;min-height:9rem;overflow:hidden;border-radius:.48rem;background:linear-gradient(135deg,#5f6f2a33,#d6a21d29),radial-gradient(circle at 50% 25%,rgba(255,255,255,.76),transparent 42%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-full-card-art img{width:100%;height:100%;object-fit:cover}.christianity-full-card-art>span{max-width:80%;color:#24304494;font-size:clamp(1.1rem,5vw,1.8rem);font-weight:900;line-height:1.05;text-align:center}.christianity-full-card-art small{position:absolute;right:0;bottom:.55rem;min-width:5rem;padding:.16rem .48rem;border-radius:999px 0 0 999px;background:#ffffffe6;box-shadow:0 .3rem .8rem #102a431f;color:#1f2933bd;font-size:.68rem;font-style:italic;font-weight:900;text-align:center;text-transform:uppercase}.christianity-full-card-verse,.christianity-full-card-effect{display:grid;gap:.32rem}.christianity-full-card-verse p,.christianity-full-card-effect p{margin:0;line-height:1.25}.christianity-full-card-verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.72rem,2.7vw,.86rem)}.christianity-full-card-verse strong{font-family:inherit;font-size:.78rem;font-weight:900}.christianity-full-card-effect{position:relative;align-content:start;min-height:7rem;padding:.6rem .7rem;overflow:hidden;border-radius:.45rem;background:radial-gradient(circle at 50% 72%,rgba(36,48,68,.07),transparent 34%),#ffffffdb}.christianity-full-card-stats{display:flex;gap:1rem;min-height:1.35rem}.christianity-full-card-stats strong{font-size:1rem;line-height:1}.christianity-full-card-stats .christianity-full-card-pips{display:inline-grid;grid-auto-flow:column;gap:.2rem;justify-self:start;padding:0;background:transparent}.christianity-full-card-effect>div:last-of-type{display:grid;gap:.12rem}.christianity-full-card-effect>div:last-of-type strong{font-size:.82rem}.christianity-full-card-effect p{font-size:clamp(.78rem,2.9vw,.92rem)}.christianity-full-card-rarity{position:absolute;top:.62rem;right:.62rem;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-full-card-rarity.is-normal{background:#d1d5db}.christianity-full-card-rarity.is-uncommon{background:#22c55e}.christianity-full-card-rarity.is-rare{background:#3b82f6}.christianity-full-card-rarity.is-legendary{background:#eab308}.christianity-full-card-footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.34rem;align-items:center;color:#1f2933ad;font-size:.58rem;line-height:1;text-transform:uppercase}.christianity-full-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-floating-card-close{position:absolute;top:0;right:.15rem;z-index:4;min-height:2rem;padding:0 .6rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#ffffffe6;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .45rem 1rem #102a431a}.christianity-preview-backdrop,.christianity-history-backdrop,.christianity-info-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#0f172a75}.christianity-preview-backdrop{z-index:79}.christianity-info-backdrop{z-index:50}.christianity-info-panel{position:fixed;top:50%;left:50%;z-index:51;width:min(31rem,calc(100vw - 1.25rem));max-height:min(34rem,calc(100vh - 2rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-info-close{position:absolute;top:0;right:.15rem;z-index:2}.christianity-rule-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.85rem;max-height:inherit;padding:1rem;overflow-y:auto;border:1px solid rgba(36,48,68,.14);border-radius:.9rem;background:linear-gradient(180deg,#fffffff7,#f8fafcf7),radial-gradient(circle at 8% 0%,rgba(37,99,235,.1),transparent 38%);box-shadow:0 1.2rem 2.6rem #102a433d,inset 0 0 0 .25rem #ffffff85}.christianity-rule-note-icon{display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:999px;background:color-mix(in srgb,var(--christianity-theme-focus) 12%,#ffffff);color:var(--christianity-theme-focus);font-size:1rem;font-weight:900;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent)}.christianity-rule-note small,.christianity-rule-note strong,.christianity-rule-note p,.christianity-rule-note h2{margin:0}.christianity-rule-note small{color:#1f29339e;font-size:.78rem;font-weight:800;text-transform:uppercase}.christianity-rule-note h2{margin-top:.18rem;font-size:clamp(1.5rem,7vw,2.2rem);line-height:1.05}.christianity-rule-note strong{display:inline-flex;width:fit-content;margin-top:.55rem;padding:.22rem .55rem;border-radius:999px;background:#edf2f7;font-size:.92rem}.christianity-rule-note p{margin-top:.75rem;color:#1f2933c7;line-height:1.45}.christianity-rule-note ul{display:grid;gap:.45rem;margin:.8rem 0 0;padding-left:1.05rem;color:#1f2933c7;line-height:1.35}.christianity-floating-card>small,.christianity-floating-card>span{color:#1f2933a3}.christianity-floating-card>strong{font-size:clamp(1.55rem,8vw,2.35rem);line-height:1.05}.christianity-floating-card>p{margin:0;align-self:end;font-size:.95rem;line-height:1.35}.christianity-preview-rule-note{position:relative;z-index:4;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:start;padding:.75rem .85rem;border:1px solid rgba(36,48,68,.14);border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 8% 0%,rgba(37,99,235,.08),transparent 44%);box-shadow:0 .75rem 1.6rem #102a431f}.christianity-preview-rule-note small,.christianity-preview-rule-note strong,.christianity-preview-rule-note p{margin:0}.christianity-preview-rule-note small{color:#1f293394;font-size:.68rem;font-weight:800;text-transform:uppercase}.christianity-preview-rule-note strong{display:block;margin-top:.08rem;font-size:.92rem;line-height:1.1}.christianity-preview-rule-note p{margin-top:.22rem;color:#1f2933bd;font-size:.82rem;line-height:1.32}@media (min-width: 52rem){.christianity-floating-card-shell{width:min(22rem,calc(67dvh - 5.85rem),calc(100vw - 3rem))}.christianity-floating-card{min-height:0;padding:0}}@media (max-width: 51.99rem){.christianity-floating-card-shell{top:48%;gap:.45rem;max-height:calc(100dvh - 1.5rem);padding-top:2.15rem}.christianity-floating-card-close{min-height:1.9rem;padding:0 .58rem;font-size:.72rem}.christianity-preview-rule-note{max-height:min(8.25rem,24dvh);padding:.62rem .68rem;overflow-y:auto;scrollbar-color:rgba(36,48,68,.28) transparent;scrollbar-gutter:stable}.christianity-preview-rule-note .christianity-rule-note-icon{width:1.8rem;height:1.8rem;font-size:.9rem}.christianity-preview-rule-note strong{font-size:.86rem}.christianity-preview-rule-note p{font-size:.78rem;line-height:1.28}}.christianity-history-backdrop{z-index:40}.christianity-history-drawer{position:fixed;right:auto;bottom:max(.5rem,env(safe-area-inset-bottom));left:50%;z-index:41;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.75rem;width:min(calc(100vw - 1rem),44rem);min-height:min(18rem,calc(100dvh - 1rem));max-height:min(32rem,calc(100dvh - 2rem));padding:.8rem;border:1px solid rgba(36,48,68,.16);border-radius:.75rem;background:#fffffffa;box-shadow:0 1.5rem 4rem #102a4347;transform:translate(-50%)}.christianity-history-drawer header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-history-drawer h2,.christianity-history-drawer p{margin:0}.christianity-history-drawer header span{display:grid;place-items:center;min-width:1.85rem;height:1.85rem;border-radius:999px;background:#edf2f7;font-weight:800}.christianity-dialog-actions{display:flex;align-items:center;gap:.45rem}.christianity-dialog-close{min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#fff;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .8rem #102a4314}.christianity-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.4rem,1fr));gap:.55rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .25rem}.christianity-history-grid::-webkit-scrollbar,.christianity-offering-list::-webkit-scrollbar{width:.65rem}.christianity-history-grid::-webkit-scrollbar-track,.christianity-offering-list::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-history-grid::-webkit-scrollbar-thumb,.christianity-offering-list::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offerings-drawer{grid-template-rows:auto auto minmax(0,1fr);width:min(calc(100vw - 1rem),48rem);min-height:min(20rem,calc(100dvh - 1rem));max-height:min(34rem,calc(100dvh - 2rem))}.christianity-offerings-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:start;padding:.72rem .8rem;border:1px solid rgba(36,48,68,.12);border-radius:.7rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 8% 0%,rgba(214,162,29,.12),transparent 42%)}.christianity-offerings-note p{margin:0;color:#1f2933c2;font-size:.86rem;line-height:1.35}.christianity-offering-list{display:grid;gap:.6rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem}.christianity-offering-row{display:grid;grid-template-columns:minmax(5.4rem,6.5rem) minmax(0,1fr);gap:.65rem;align-items:center;padding:.45rem;border:1px solid rgba(36,48,68,.12);border-radius:.65rem;background:#fff}.christianity-offering-row.is-exhausted{opacity:.68}.christianity-gallery-drawer{grid-template-rows:auto auto auto minmax(0,1fr);width:min(calc(100vw - 1rem),50rem);min-height:min(22rem,calc(100dvh - 1rem));max-height:min(36rem,calc(100dvh - 2rem))}.christianity-gallery-drawer header>div:first-child{display:grid;gap:.15rem;min-width:0}.christianity-gallery-drawer header p{color:#1f293394;font-size:.82rem}.christianity-gallery-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(8.5rem,13rem);gap:.65rem}.christianity-gallery-controls label{display:grid;gap:.25rem;min-width:0;color:#1f29339e;font-size:.74rem;font-weight:800}.christianity-gallery-controls input,.christianity-gallery-controls select{width:100%;min-width:0;min-height:2.35rem;padding:0 .75rem;border:1px solid rgba(36,48,68,.16);border-radius:.65rem;background:#fff;color:var(--christianity-theme-ink);font:inherit;font-size:.9rem}.christianity-gallery-edition-strip{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.1rem}.christianity-gallery-edition-strip button{display:inline-flex;align-items:center;gap:.45rem;min-height:2.35rem;padding:0 .75rem;border:1px solid rgba(214,162,29,.38);border-radius:999px;background:var(--christianity-theme-parchment);color:var(--christianity-theme-ink);font:inherit;font-size:.82rem;font-weight:800}.christianity-gallery-edition-strip img{width:1.2rem;height:1.2rem;object-fit:contain}.christianity-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.8rem,6.8rem));justify-content:center;align-content:start;gap:.65rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .35rem}.christianity-gallery-grid::-webkit-scrollbar{width:.65rem}.christianity-gallery-grid::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-gallery-grid::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offering-card{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:.26rem;width:100%;min-height:7.7rem;padding:.58rem;overflow:hidden;text-align:left;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 78% 14%,rgba(250,204,21,.78) 0 .42rem,transparent .44rem);box-shadow:0 .45rem 1rem #102a431a}.christianity-offering-card small{min-width:0;overflow:hidden;color:#1f293394;font-size:.62rem;font-weight:800;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-offering-card strong{display:-webkit-box;align-self:start;min-width:0;margin-top:.1rem;overflow:hidden;overflow-wrap:anywhere;font-size:.88rem;line-height:1.05;-webkit-box-orient:vertical;-webkit-line-clamp:3}.christianity-offering-card span{position:absolute;right:.42rem;bottom:.42rem;display:grid;place-items:center;min-width:1.55rem;height:1.55rem;padding:0 .28rem;border-radius:999px;background:#edf2f7;font-size:.82rem;font-weight:900}.christianity-offering-card em{align-self:end;max-width:calc(100% - 1.9rem);overflow:hidden;color:#1f29339e;font-size:.64rem;font-style:normal;font-weight:800;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.christianity-offering-card p,.christianity-offering-row p{margin:0}.christianity-offering-card p{align-self:end;color:#1f2933a3;font-size:.72rem;line-height:1.2}.christianity-offering-row>div{display:grid;gap:.35rem;align-content:center;min-width:0}.christianity-offering-row>div p{color:#1f2933b8;font-size:.85rem;line-height:1.3}.christianity-offering-row>div button{justify-self:start;min-height:2.2rem;padding:0 .7rem;border:1px solid rgba(16,42,67,.16);border-radius:.5rem;background:#102a43;color:#fff;font:inherit;font-weight:800}.christianity-offering-row>div button:disabled{background:#e2e8f0;color:#1f293394}.christianity-history-grid .christianity-render-card-button{justify-self:center;width:min(100%,6.4rem)}.christianity-gallery-grid .christianity-render-card-button{justify-self:center;width:min(100%,7rem)}.christianity-offering-card.christianity-render-card-button{width:min(100%,5.8rem);min-height:0;padding:0;border:0;background:transparent;box-shadow:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible{outline:.1875rem solid color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent);outline-offset:.125rem}:host-context(.dark),:host-context(.ion-palette-dark),:host-context(html.ion-palette-dark),:host-context(body.dark),:host-context([data-theme=\"dark\"]){--christianity-theme-ink: var(--ion-text-color, #e5edf8);--christianity-theme-surface: #111827;--christianity-theme-parchment: #13223a;--christianity-theme-olive: #93c5fd;--christianity-theme-gold: #60a5fa;--christianity-theme-gold-soft: rgba(96, 165, 250, .18);--christianity-theme-gold-ring: rgba(147, 197, 253, .42);--christianity-theme-glow: rgba(96, 165, 250, .24);--christianity-theme-focus: #93c5fd;--christianity-theme-shadow: rgba(0, 0, 0, .34);--christianity-theme-shadow-strong: rgba(0, 0, 0, .48);--christianity-card-back: linear-gradient(135deg, rgba(147, 197, 253, .2), rgba(15, 23, 42, .08)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);--christianity-card-back-soft: linear-gradient(135deg, rgba(147, 197, 253, .15), rgba(15, 23, 42, .06)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);color-scheme:dark}:host-context(.dark) .christianity-shell,:host-context(.ion-palette-dark) .christianity-shell,:host-context(html.ion-palette-dark) .christianity-shell,:host-context(body.dark) .christianity-shell,:host-context([data-theme=\"dark\"]) .christianity-shell{border-color:#94a3b82e;background:#07111f}:host-context(.dark) .christianity-gallery-open,:host-context(.ion-palette-dark) .christianity-gallery-open,:host-context(html.ion-palette-dark) .christianity-gallery-open,:host-context(body.dark) .christianity-gallery-open,:host-context([data-theme=\"dark\"]) .christianity-gallery-open,:host-context(.dark) .christianity-secondary-action,:host-context(.ion-palette-dark) .christianity-secondary-action,:host-context(html.ion-palette-dark) .christianity-secondary-action,:host-context(body.dark) .christianity-secondary-action,:host-context([data-theme=\"dark\"]) .christianity-secondary-action,:host-context(.dark) .christianity-gallery-edition-strip button,:host-context(.ion-palette-dark) .christianity-gallery-edition-strip button,:host-context(html.ion-palette-dark) .christianity-gallery-edition-strip button,:host-context(body.dark) .christianity-gallery-edition-strip button,:host-context([data-theme=\"dark\"]) .christianity-gallery-edition-strip button{border-color:#93c5fd5c;background:linear-gradient(180deg,#1e3a5fd1,#0f172ae0),radial-gradient(circle at 20% 0%,rgba(96,165,250,.16),transparent 42%);color:var(--christianity-theme-ink);box-shadow:0 .55rem 1.2rem #0000003d}:host-context(.dark) .christianity-splash,:host-context(.ion-palette-dark) .christianity-splash,:host-context(html.ion-palette-dark) .christianity-splash,:host-context(body.dark) .christianity-splash,:host-context([data-theme=\"dark\"]) .christianity-splash,:host-context(.dark) .christianity-start,:host-context(.ion-palette-dark) .christianity-start,:host-context(html.ion-palette-dark) .christianity-start,:host-context(body.dark) .christianity-start,:host-context([data-theme=\"dark\"]) .christianity-start{border-color:#93c5fd38;background:radial-gradient(circle at 50% 18%,rgba(96,165,250,.16),transparent 22rem),linear-gradient(180deg,#0f172ae0,#07111ff7),var(--christianity-card-back-soft);box-shadow:0 1.2rem 3.2rem #00000047}:host-context(.dark) .christianity-start__cards article,:host-context(.ion-palette-dark) .christianity-start__cards article,:host-context(html.ion-palette-dark) .christianity-start__cards article,:host-context(body.dark) .christianity-start__cards article,:host-context([data-theme=\"dark\"]) .christianity-start__cards article,:host-context(.dark) .christianity-start__modes article,:host-context(.ion-palette-dark) .christianity-start__modes article,:host-context(html.ion-palette-dark) .christianity-start__modes article,:host-context(body.dark) .christianity-start__modes article,:host-context([data-theme=\"dark\"]) .christianity-start__modes article,:host-context(.dark) .christianity-start__status span,:host-context(.ion-palette-dark) .christianity-start__status span,:host-context(html.ion-palette-dark) .christianity-start__status span,:host-context(body.dark) .christianity-start__status span,:host-context([data-theme=\"dark\"]) .christianity-start__status span,:host-context(.dark) .christianity-start__modes article>span,:host-context(.ion-palette-dark) .christianity-start__modes article>span,:host-context(html.ion-palette-dark) .christianity-start__modes article>span,:host-context(body.dark) .christianity-start__modes article>span,:host-context([data-theme=\"dark\"]) .christianity-start__modes article>span{border-color:#94a3b833;background:#0f172aad;box-shadow:0 .75rem 1.7rem #00000038}:host-context(.dark) .christianity-splash p,:host-context(.ion-palette-dark) .christianity-splash p,:host-context(html.ion-palette-dark) .christianity-splash p,:host-context(body.dark) .christianity-splash p,:host-context([data-theme=\"dark\"]) .christianity-splash p,:host-context(.dark) .christianity-start__copy p,:host-context(.ion-palette-dark) .christianity-start__copy p,:host-context(html.ion-palette-dark) .christianity-start__copy p,:host-context(body.dark) .christianity-start__copy p,:host-context([data-theme=\"dark\"]) .christianity-start__copy p,:host-context(.dark) .christianity-start__cards p,:host-context(.ion-palette-dark) .christianity-start__cards p,:host-context(html.ion-palette-dark) .christianity-start__cards p,:host-context(body.dark) .christianity-start__cards p,:host-context([data-theme=\"dark\"]) .christianity-start__cards p,:host-context(.dark) .christianity-start__modes p,:host-context(.ion-palette-dark) .christianity-start__modes p,:host-context(html.ion-palette-dark) .christianity-start__modes p,:host-context(body.dark) .christianity-start__modes p,:host-context([data-theme=\"dark\"]) .christianity-start__modes p,:host-context(.dark) .christianity-header p,:host-context(.ion-palette-dark) .christianity-header p,:host-context(html.ion-palette-dark) .christianity-header p,:host-context(body.dark) .christianity-header p,:host-context([data-theme=\"dark\"]) .christianity-header p,:host-context(.dark) .christianity-match-player small,:host-context(.ion-palette-dark) .christianity-match-player small,:host-context(html.ion-palette-dark) .christianity-match-player small,:host-context(body.dark) .christianity-match-player small,:host-context([data-theme=\"dark\"]) .christianity-match-player small,:host-context(.dark) .christianity-scoreboard span,:host-context(.ion-palette-dark) .christianity-scoreboard span,:host-context(html.ion-palette-dark) .christianity-scoreboard span,:host-context(body.dark) .christianity-scoreboard span,:host-context([data-theme=\"dark\"]) .christianity-scoreboard span{color:#e2e8f0bd}:host-context(.dark) .christianity-turn,:host-context(.ion-palette-dark) .christianity-turn,:host-context(html.ion-palette-dark) .christianity-turn,:host-context(body.dark) .christianity-turn,:host-context([data-theme=\"dark\"]) .christianity-turn,:host-context(.dark) .christianity-leader,:host-context(.ion-palette-dark) .christianity-leader,:host-context(html.ion-palette-dark) .christianity-leader,:host-context(body.dark) .christianity-leader,:host-context([data-theme=\"dark\"]) .christianity-leader,:host-context(.dark) .christianity-offerings,:host-context(.ion-palette-dark) .christianity-offerings,:host-context(html.ion-palette-dark) .christianity-offerings,:host-context(body.dark) .christianity-offerings,:host-context([data-theme=\"dark\"]) .christianity-offerings,:host-context(.dark) .christianity-hidden-hand,:host-context(.ion-palette-dark) .christianity-hidden-hand,:host-context(html.ion-palette-dark) .christianity-hidden-hand,:host-context(body.dark) .christianity-hidden-hand,:host-context([data-theme=\"dark\"]) .christianity-hidden-hand,:host-context(.dark) .christianity-pile,:host-context(.ion-palette-dark) .christianity-pile,:host-context(html.ion-palette-dark) .christianity-pile,:host-context(body.dark) .christianity-pile,:host-context([data-theme=\"dark\"]) .christianity-pile,:host-context(.dark) .christianity-deck,:host-context(.ion-palette-dark) .christianity-deck,:host-context(html.ion-palette-dark) .christianity-deck,:host-context(body.dark) .christianity-deck,:host-context([data-theme=\"dark\"]) .christianity-deck,:host-context(.dark) .christianity-place,:host-context(.ion-palette-dark) .christianity-place,:host-context(html.ion-palette-dark) .christianity-place,:host-context(body.dark) .christianity-place,:host-context([data-theme=\"dark\"]) .christianity-place,:host-context(.dark) .christianity-match-strip,:host-context(.ion-palette-dark) .christianity-match-strip,:host-context(html.ion-palette-dark) .christianity-match-strip,:host-context(body.dark) .christianity-match-strip,:host-context([data-theme=\"dark\"]) .christianity-match-strip,:host-context(.dark) .christianity-actions,:host-context(.ion-palette-dark) .christianity-actions,:host-context(html.ion-palette-dark) .christianity-actions,:host-context(body.dark) .christianity-actions,:host-context([data-theme=\"dark\"]) .christianity-actions,:host-context(.dark) .christianity-history,:host-context(.ion-palette-dark) .christianity-history,:host-context(html.ion-palette-dark) .christianity-history,:host-context(body.dark) .christianity-history,:host-context([data-theme=\"dark\"]) .christianity-history{border-color:#94a3b82e;background:#0f172ad1}:host-context(.dark) .christianity-turn.is-own-turn,:host-context(.ion-palette-dark) .christianity-turn.is-own-turn,:host-context(html.ion-palette-dark) .christianity-turn.is-own-turn,:host-context(body.dark) .christianity-turn.is-own-turn,:host-context([data-theme=\"dark\"]) .christianity-turn.is-own-turn{border-color:#2dd4bf5c;background:#14534c5c}:host-context(.dark) .christianity-table,:host-context(.ion-palette-dark) .christianity-table,:host-context(html.ion-palette-dark) .christianity-table,:host-context(body.dark) .christianity-table,:host-context([data-theme=\"dark\"]) .christianity-table{background:linear-gradient(180deg,#10233d,#0b1728)}:host-context(.dark) .christianity-player-side,:host-context(.ion-palette-dark) .christianity-player-side,:host-context(html.ion-palette-dark) .christianity-player-side,:host-context(body.dark) .christianity-player-side,:host-context([data-theme=\"dark\"]) .christianity-player-side{background:#0f172a57}:host-context(.dark) .christianity-battle-zone,:host-context(.ion-palette-dark) .christianity-battle-zone,:host-context(html.ion-palette-dark) .christianity-battle-zone,:host-context(body.dark) .christianity-battle-zone,:host-context([data-theme=\"dark\"]) .christianity-battle-zone,:host-context(.dark) .christianity-shared-zone,:host-context(.ion-palette-dark) .christianity-shared-zone,:host-context(html.ion-palette-dark) .christianity-shared-zone,:host-context(body.dark) .christianity-shared-zone,:host-context([data-theme=\"dark\"]) .christianity-shared-zone{background:#0f172a94}:host-context(.dark) .christianity-battle-zone.is-placing-card,:host-context(.ion-palette-dark) .christianity-battle-zone.is-placing-card,:host-context(html.ion-palette-dark) .christianity-battle-zone.is-placing-card,:host-context(body.dark) .christianity-battle-zone.is-placing-card,:host-context([data-theme=\"dark\"]) .christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#1e3a5fd1,#0f172ab8),#0f172a94}:host-context(.dark) .christianity-card,:host-context(.ion-palette-dark) .christianity-card,:host-context(html.ion-palette-dark) .christianity-card,:host-context(body.dark) .christianity-card,:host-context([data-theme=\"dark\"]) .christianity-card,:host-context(.dark) .christianity-slot,:host-context(.ion-palette-dark) .christianity-slot,:host-context(html.ion-palette-dark) .christianity-slot,:host-context(body.dark) .christianity-slot,:host-context([data-theme=\"dark\"]) .christianity-slot{border-color:#94a3b83d;background:#0f172a8a}:host-context(.dark) .christianity-slot--play-target,:host-context(.ion-palette-dark) .christianity-slot--play-target,:host-context(html.ion-palette-dark) .christianity-slot--play-target,:host-context(body.dark) .christianity-slot--play-target,:host-context([data-theme=\"dark\"]) .christianity-slot--play-target{color:var(--christianity-theme-ink);background:linear-gradient(180deg,#2563eb3d,#0f172ac7),#0f172abd}:host-context(.dark) .christianity-slot--play-target span,:host-context(.ion-palette-dark) .christianity-slot--play-target span,:host-context(html.ion-palette-dark) .christianity-slot--play-target span,:host-context(body.dark) .christianity-slot--play-target span,:host-context([data-theme=\"dark\"]) .christianity-slot--play-target span,:host-context(.dark) .christianity-card strong,:host-context(.ion-palette-dark) .christianity-card strong,:host-context(html.ion-palette-dark) .christianity-card strong,:host-context(body.dark) .christianity-card strong,:host-context([data-theme=\"dark\"]) .christianity-card strong{background:#1e293beb}:host-context(.dark) .christianity-offering-pile,:host-context(.ion-palette-dark) .christianity-offering-pile,:host-context(html.ion-palette-dark) .christianity-offering-pile,:host-context(body.dark) .christianity-offering-pile,:host-context([data-theme=\"dark\"]) .christianity-offering-pile,:host-context(.dark) .christianity-zone-card,:host-context(.ion-palette-dark) .christianity-zone-card,:host-context(html.ion-palette-dark) .christianity-zone-card,:host-context(body.dark) .christianity-zone-card,:host-context([data-theme=\"dark\"]) .christianity-zone-card,:host-context(.dark) .christianity-zone-pile,:host-context(.ion-palette-dark) .christianity-zone-pile,:host-context(html.ion-palette-dark) .christianity-zone-pile,:host-context(body.dark) .christianity-zone-pile,:host-context([data-theme=\"dark\"]) .christianity-zone-pile{border-color:#94a3b83d;background:linear-gradient(180deg,#111827f5,#0f172af0),radial-gradient(circle at 14% 0%,rgba(96,165,250,.12),transparent 42%);color:var(--christianity-theme-ink);box-shadow:0 .55rem 1.25rem #00000047,inset 0 0 0 .12rem #ffffff08}:host-context(.dark) .christianity-offering-pile>span,:host-context(.ion-palette-dark) .christianity-offering-pile>span,:host-context(html.ion-palette-dark) .christianity-offering-pile>span,:host-context(body.dark) .christianity-offering-pile>span,:host-context([data-theme=\"dark\"]) .christianity-offering-pile>span,:host-context(.dark) .christianity-zone-card>span,:host-context(.ion-palette-dark) .christianity-zone-card>span,:host-context(html.ion-palette-dark) .christianity-zone-card>span,:host-context(body.dark) .christianity-zone-card>span,:host-context([data-theme=\"dark\"]) .christianity-zone-card>span,:host-context(.dark) .christianity-zone-pile>span,:host-context(.ion-palette-dark) .christianity-zone-pile>span,:host-context(html.ion-palette-dark) .christianity-zone-pile>span,:host-context(body.dark) .christianity-zone-pile>span,:host-context([data-theme=\"dark\"]) .christianity-zone-pile>span,:host-context(.dark) .christianity-player-badge,:host-context(.ion-palette-dark) .christianity-player-badge,:host-context(html.ion-palette-dark) .christianity-player-badge,:host-context(body.dark) .christianity-player-badge,:host-context([data-theme=\"dark\"]) .christianity-player-badge{color:#e2e8f0c7}:host-context(.dark) .christianity-offering-pile>strong,:host-context(.ion-palette-dark) .christianity-offering-pile>strong,:host-context(html.ion-palette-dark) .christianity-offering-pile>strong,:host-context(body.dark) .christianity-offering-pile>strong,:host-context([data-theme=\"dark\"]) .christianity-offering-pile>strong,:host-context(.dark) .christianity-zone-card>strong,:host-context(.ion-palette-dark) .christianity-zone-card>strong,:host-context(html.ion-palette-dark) .christianity-zone-card>strong,:host-context(body.dark) .christianity-zone-card>strong,:host-context([data-theme=\"dark\"]) .christianity-zone-card>strong,:host-context(.dark) .christianity-zone-pile>strong,:host-context(.ion-palette-dark) .christianity-zone-pile>strong,:host-context(html.ion-palette-dark) .christianity-zone-pile>strong,:host-context(body.dark) .christianity-zone-pile>strong,:host-context([data-theme=\"dark\"]) .christianity-zone-pile>strong,:host-context(.dark) .christianity-hand-meter,:host-context(.ion-palette-dark) .christianity-hand-meter,:host-context(html.ion-palette-dark) .christianity-hand-meter,:host-context(body.dark) .christianity-hand-meter,:host-context([data-theme=\"dark\"]) .christianity-hand-meter{border-color:#94a3b833;background:#0f172ae0;color:var(--christianity-theme-ink);box-shadow:0 .35rem .8rem #00000047}:host-context(.dark) .christianity-hand-meter span,:host-context(.ion-palette-dark) .christianity-hand-meter span,:host-context(html.ion-palette-dark) .christianity-hand-meter span,:host-context(body.dark) .christianity-hand-meter span,:host-context([data-theme=\"dark\"]) .christianity-hand-meter span{color:#e2e8f0b3}:host-context(.dark) .christianity-offering-pile i,:host-context(.ion-palette-dark) .christianity-offering-pile i,:host-context(html.ion-palette-dark) .christianity-offering-pile i,:host-context(body.dark) .christianity-offering-pile i,:host-context([data-theme=\"dark\"]) .christianity-offering-pile i{border-color:#94a3b833;background:linear-gradient(180deg,#e2e8f0f0,#cbd5e1e6),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem)}:host-context(.dark) .christianity-zone-pile i,:host-context(.ion-palette-dark) .christianity-zone-pile i,:host-context(html.ion-palette-dark) .christianity-zone-pile i,:host-context(body.dark) .christianity-zone-pile i,:host-context([data-theme=\"dark\"]) .christianity-zone-pile i{border-color:#94a3b838;background:#e2e8f0eb;box-shadow:0 .35rem .85rem #00000042}:host-context(.dark) .christianity-zone-pile i:nth-child(3),:host-context(.ion-palette-dark) .christianity-zone-pile i:nth-child(3),:host-context(html.ion-palette-dark) .christianity-zone-pile i:nth-child(3),:host-context(body.dark) .christianity-zone-pile i:nth-child(3),:host-context([data-theme=\"dark\"]) .christianity-zone-pile i:nth-child(3){background:var(--christianity-card-back)}:host-context(.dark) .christianity-end-turn:disabled,:host-context(.ion-palette-dark) .christianity-end-turn:disabled,:host-context(html.ion-palette-dark) .christianity-end-turn:disabled,:host-context(body.dark) .christianity-end-turn:disabled,:host-context([data-theme=\"dark\"]) .christianity-end-turn:disabled{border-color:#94a3b829;background:#0f172a75;color:#e2e8f06b;opacity:1}:host-context(.dark) .christianity-history-drawer,:host-context(.ion-palette-dark) .christianity-history-drawer,:host-context(html.ion-palette-dark) .christianity-history-drawer,:host-context(body.dark) .christianity-history-drawer,:host-context([data-theme=\"dark\"]) .christianity-history-drawer,:host-context(.dark) .christianity-rule-note,:host-context(.ion-palette-dark) .christianity-rule-note,:host-context(html.ion-palette-dark) .christianity-rule-note,:host-context(body.dark) .christianity-rule-note,:host-context([data-theme=\"dark\"]) .christianity-rule-note,:host-context(.dark) .christianity-preview-rule-note,:host-context(.ion-palette-dark) .christianity-preview-rule-note,:host-context(html.ion-palette-dark) .christianity-preview-rule-note,:host-context(body.dark) .christianity-preview-rule-note,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note{border-color:#94a3b82e;background:linear-gradient(180deg,#0f172af5,#111827f5),radial-gradient(circle at 8% 0%,rgba(96,165,250,.12),transparent 40%);box-shadow:0 1.5rem 4rem #0000006b}:host-context(.dark) .christianity-dialog-close,:host-context(.ion-palette-dark) .christianity-dialog-close,:host-context(html.ion-palette-dark) .christianity-dialog-close,:host-context(body.dark) .christianity-dialog-close,:host-context([data-theme=\"dark\"]) .christianity-dialog-close,:host-context(.dark) .christianity-floating-card-close,:host-context(.ion-palette-dark) .christianity-floating-card-close,:host-context(html.ion-palette-dark) .christianity-floating-card-close,:host-context(body.dark) .christianity-floating-card-close,:host-context([data-theme=\"dark\"]) .christianity-floating-card-close{border-color:#94a3b838;background:#0f172af0;color:var(--christianity-theme-ink);box-shadow:0 .35rem .8rem #0000004d}:host-context(.dark) .christianity-history-drawer header span,:host-context(.ion-palette-dark) .christianity-history-drawer header span,:host-context(html.ion-palette-dark) .christianity-history-drawer header span,:host-context(body.dark) .christianity-history-drawer header span,:host-context([data-theme=\"dark\"]) .christianity-history-drawer header span,:host-context(.dark) .christianity-rule-note strong,:host-context(.ion-palette-dark) .christianity-rule-note strong,:host-context(html.ion-palette-dark) .christianity-rule-note strong,:host-context(body.dark) .christianity-rule-note strong,:host-context([data-theme=\"dark\"]) .christianity-rule-note strong{background:#1e293beb}:host-context(.dark) .christianity-rule-note small,:host-context(.ion-palette-dark) .christianity-rule-note small,:host-context(html.ion-palette-dark) .christianity-rule-note small,:host-context(body.dark) .christianity-rule-note small,:host-context([data-theme=\"dark\"]) .christianity-rule-note small,:host-context(.dark) .christianity-preview-rule-note small,:host-context(.ion-palette-dark) .christianity-preview-rule-note small,:host-context(html.ion-palette-dark) .christianity-preview-rule-note small,:host-context(body.dark) .christianity-preview-rule-note small,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note small,:host-context(.dark) .christianity-gallery-drawer header p,:host-context(.ion-palette-dark) .christianity-gallery-drawer header p,:host-context(html.ion-palette-dark) .christianity-gallery-drawer header p,:host-context(body.dark) .christianity-gallery-drawer header p,:host-context([data-theme=\"dark\"]) .christianity-gallery-drawer header p,:host-context(.dark) .christianity-gallery-controls label,:host-context(.ion-palette-dark) .christianity-gallery-controls label,:host-context(html.ion-palette-dark) .christianity-gallery-controls label,:host-context(body.dark) .christianity-gallery-controls label,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls label{color:#e2e8f0ad}:host-context(.dark) .christianity-rule-note p,:host-context(.ion-palette-dark) .christianity-rule-note p,:host-context(html.ion-palette-dark) .christianity-rule-note p,:host-context(body.dark) .christianity-rule-note p,:host-context([data-theme=\"dark\"]) .christianity-rule-note p,:host-context(.dark) .christianity-rule-note ul,:host-context(.ion-palette-dark) .christianity-rule-note ul,:host-context(html.ion-palette-dark) .christianity-rule-note ul,:host-context(body.dark) .christianity-rule-note ul,:host-context([data-theme=\"dark\"]) .christianity-rule-note ul,:host-context(.dark) .christianity-preview-rule-note p,:host-context(.ion-palette-dark) .christianity-preview-rule-note p,:host-context(html.ion-palette-dark) .christianity-preview-rule-note p,:host-context(body.dark) .christianity-preview-rule-note p,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note p,:host-context(.dark) .christianity-offerings-note p,:host-context(.ion-palette-dark) .christianity-offerings-note p,:host-context(html.ion-palette-dark) .christianity-offerings-note p,:host-context(body.dark) .christianity-offerings-note p,:host-context([data-theme=\"dark\"]) .christianity-offerings-note p{color:#e2e8f0cc}:host-context(.dark) .christianity-gallery-controls input,:host-context(.ion-palette-dark) .christianity-gallery-controls input,:host-context(html.ion-palette-dark) .christianity-gallery-controls input,:host-context(body.dark) .christianity-gallery-controls input,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls input,:host-context(.dark) .christianity-gallery-controls select,:host-context(.ion-palette-dark) .christianity-gallery-controls select,:host-context(html.ion-palette-dark) .christianity-gallery-controls select,:host-context(body.dark) .christianity-gallery-controls select,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls select,:host-context(.dark) .christianity-offering-row,:host-context(.ion-palette-dark) .christianity-offering-row,:host-context(html.ion-palette-dark) .christianity-offering-row,:host-context(body.dark) .christianity-offering-row,:host-context([data-theme=\"dark\"]) .christianity-offering-row,:host-context(.dark) .christianity-offerings-note,:host-context(.ion-palette-dark) .christianity-offerings-note,:host-context(html.ion-palette-dark) .christianity-offerings-note,:host-context(body.dark) .christianity-offerings-note,:host-context([data-theme=\"dark\"]) .christianity-offerings-note{border-color:#94a3b833;background:#0f172ac7;color:var(--christianity-theme-ink)}:host-context(.dark) .christianity-history-grid,:host-context(.ion-palette-dark) .christianity-history-grid,:host-context(html.ion-palette-dark) .christianity-history-grid,:host-context(body.dark) .christianity-history-grid,:host-context([data-theme=\"dark\"]) .christianity-history-grid,:host-context(.dark) .christianity-offering-list,:host-context(.ion-palette-dark) .christianity-offering-list,:host-context(html.ion-palette-dark) .christianity-offering-list,:host-context(body.dark) .christianity-offering-list,:host-context([data-theme=\"dark\"]) .christianity-offering-list,:host-context(.dark) .christianity-gallery-grid,:host-context(.ion-palette-dark) .christianity-gallery-grid,:host-context(html.ion-palette-dark) .christianity-gallery-grid,:host-context(body.dark) .christianity-gallery-grid,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid,:host-context(.dark) .christianity-preview-rule-note,:host-context(.ion-palette-dark) .christianity-preview-rule-note,:host-context(html.ion-palette-dark) .christianity-preview-rule-note,:host-context(body.dark) .christianity-preview-rule-note,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note{scrollbar-color:rgba(148,163,184,.54) rgba(15,23,42,.86)}:host-context(.dark) .christianity-rule-note-icon,:host-context(.ion-palette-dark) .christianity-rule-note-icon,:host-context(html.ion-palette-dark) .christianity-rule-note-icon,:host-context(body.dark) .christianity-rule-note-icon,:host-context([data-theme=\"dark\"]) .christianity-rule-note-icon{background:#60a5fa29;color:#bfdbfe;box-shadow:inset 0 0 0 1px #93c5fd38}:host-context(.dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(body.dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-history-grid::-webkit-scrollbar-track,:host-context(.dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(body.dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-offering-list::-webkit-scrollbar-track,:host-context(.dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(body.dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid::-webkit-scrollbar-track{background:#0f172adb}:host-context(.dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(.dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(.dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid::-webkit-scrollbar-thumb{border-color:#0f172adb;background:#94a3b88a}@media (max-width: 720px){:host{overflow-x:hidden}.christianity-shell{padding:.55rem 0 .65rem;border-right:0;border-left:0;border-radius:0}.christianity-header,.christianity-match-strip,.christianity-actions{box-sizing:border-box;width:100%;padding-right:max(.5rem,env(safe-area-inset-right));padding-left:max(.5rem,env(safe-area-inset-left))}.christianity-header,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{align-items:stretch;flex-direction:column}.christianity-match-strip{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.35rem;padding:.35rem}.christianity-match-player{gap:.35rem}.christianity-match-player small{display:none}.christianity-header-actions{align-items:flex-end;flex-direction:column}.christianity-start__cards,.christianity-start__hero{grid-template-columns:minmax(0,1fr)}.christianity-start__fan{min-height:10.5rem}.christianity-start__fan val-christianity-card{width:clamp(5.2rem,22vw,6.4rem)}.christianity-start__modes{grid-template-columns:repeat(2,minmax(0,1fr))}.christianity-splash,.christianity-start{min-height:min(30rem,calc(100dvh - 7rem));padding-right:max(.65rem,env(safe-area-inset-right));padding-left:max(.65rem,env(safe-area-inset-left));border-right:0;border-left:0;border-radius:0}.christianity-scoreboard{min-width:3.65rem;padding:0 .35rem}.christianity-scoreboard strong{font-size:1.05rem}.christianity-table{gap:.35rem;padding-right:.25rem;padding-left:.25rem}.christianity-player-side{padding:.3rem .25rem}.christianity-battle-zone{--christianity-battle-card-width: min(5.2rem, calc((100vw - 4.25rem)/4) );grid-template-columns:repeat(4,var(--christianity-battle-card-width));justify-content:center;min-height:8.75rem;overflow-x:clip}.christianity-hand-fan{min-height:11.45rem;padding-bottom:2rem;overflow:visible}.christianity-hand-shelf{min-height:12.65rem;margin-top:-1rem;padding-top:1.35rem;padding-bottom:.9rem}.christianity-hand-shelf--opponent{min-height:6.65rem;margin-top:0;margin-bottom:0;padding-top:.4rem;padding-bottom:.85rem}.christianity-player-rack{grid-template-columns:minmax(4.5rem,5.7rem) minmax(4.4rem,1fr) minmax(3.5rem,4.8rem)}.christianity-shared-zone{gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.christianity-zone-card,.christianity-zone-pile{min-height:6.15rem;padding:.58rem .46rem .5rem;gap:.24rem}.christianity-zone-pile i{top:2rem;right:.52rem;width:2.35rem;height:3.25rem}.christianity-offering-pile{height:6.85rem;min-height:0;max-height:6.85rem;padding:.88rem .46rem .55rem;gap:.24rem}.christianity-offering-pile i{top:2.25rem;left:.56rem;width:2.35rem;height:3.25rem}.christianity-card-preview-card{width:clamp(4.2rem,20vw,5.7rem);height:auto;min-height:0}.christianity-leader-card{width:clamp(4.55rem,20vw,5.7rem);min-height:0}.christianity-offering-row{grid-template-columns:minmax(5rem,5.8rem) minmax(0,1fr);gap:.5rem}.christianity-gallery-controls{grid-template-columns:minmax(0,1fr)}.christianity-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(5.35rem,6.1rem));justify-content:center}.christianity-offering-card{min-height:7.25rem;padding:.5rem}.christianity-hand-fan--opponent{min-height:5.75rem;padding-bottom:.7rem}.christianity-hand-fan--opponent .christianity-card-frame--back{width:clamp(3.35rem,15vw,4.25rem);margin-inline:-.72rem}}\n"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: LightRippleDirective, selector: "[valLightRipple]" }, { kind: "component", type: ChristianityCardComponent, selector: "val-christianity-card", inputs: ["card", "variant"] }] }); }
72507
+ }
72508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChristianityGameComponent, decorators: [{
72509
+ type: Component,
72510
+ args: [{ selector: 'val-christianity-game', standalone: true, imports: [CdkDrag, CdkDropList, LightRippleDirective, ChristianityCardComponent], template: `
72511
+ <main class="christianity-shell">
72512
+ <section class="christianity-header">
72513
+ <div>
72514
+ <p>{{ t('christianityEyebrow') }}</p>
72515
+ <h1>{{ t('christianityTitle') }}</h1>
72516
+ </div>
72517
+ <div class="christianity-header-actions">
72518
+ @if (screen() !== 'splash') {
72519
+ <button type="button" class="christianity-gallery-open" valLightRipple (click)="openGallery()">
72520
+ {{ t('christianityGallery') }}
72521
+ </button>
72522
+ }
72523
+ @if (screen() === 'table') {
72524
+ <div class="christianity-turn" [class.is-own-turn]="isOwnTurn()">
72525
+ <span>{{ t('christianityTurn') }}</span>
72526
+ <strong>{{ currentPlayer().displayName }}</strong>
72527
+ </div>
72528
+ }
72529
+ </div>
72530
+ </section>
72531
+
72532
+ @if (screen() === 'splash') {
72533
+ <section class="christianity-splash" role="status" aria-live="polite">
72534
+ <div class="christianity-splash__mark">
72535
+ <i aria-hidden="true"></i>
72536
+ <i aria-hidden="true"></i>
72537
+ <i aria-hidden="true"></i>
72538
+ </div>
72539
+ <div>
72540
+ <span>{{ t('christianitySplashEyebrow') }}</span>
72541
+ <h2>{{ t('christianitySplashTitle') }}</h2>
72542
+ <p>{{ splashStatusText() }}</p>
72543
+ </div>
72544
+ </section>
72545
+ } @else if (screen() === 'home') {
72546
+ <section class="christianity-start">
72547
+ <div class="christianity-start__hero">
72548
+ <div class="christianity-start__copy">
72549
+ <span>{{ t('christianityGenesisEdition') }}</span>
72550
+ <h2>{{ t('christianityStartTitle') }}</h2>
72551
+ <p>{{ t('christianityStartBody') }}</p>
72552
+ </div>
72553
+ <div class="christianity-start__fan" aria-hidden="true">
72554
+ @for (card of startFeaturedCards(); track card.id) {
72555
+ <val-christianity-card
72556
+ [card]="definitionToRenderCard(card)"
72557
+ variant="hand"
72558
+ [style.transform]="startFeaturedCardTransform($index)"
72559
+ ></val-christianity-card>
72560
+ }
72561
+ </div>
72562
+ </div>
72563
+ <div class="christianity-start__cards">
72564
+ <article>
72565
+ <strong>{{ t('christianityTutorialMode') }}</strong>
72566
+ <p>{{ t('christianityTutorialModeBody') }}</p>
72567
+ <button type="button" class="christianity-primary-action" valLightRipple (click)="startTutorial()">
72568
+ {{ t('christianityStartTutorial') }}
72569
+ </button>
72570
+ </article>
72571
+ <article>
72572
+ <strong>{{ t('christianityGallery') }}</strong>
72573
+ <p>{{ t('christianityGalleryModeBody') }}</p>
72574
+ <button type="button" class="christianity-secondary-action" valLightRipple (click)="openGallery()">
72575
+ {{ t('christianityOpenGallery') }}
72576
+ </button>
72577
+ </article>
72578
+ <article>
72579
+ <strong>{{ t('christianityHowToPlay') }}</strong>
72580
+ <p>{{ t('christianityHowToPlayBody') }}</p>
72581
+ <button type="button" class="christianity-secondary-action" valLightRipple (click)="inspectHowToPlay()">
72582
+ {{ t('learnMore') }}
72583
+ </button>
72584
+ </article>
72585
+ </div>
72586
+ <div class="christianity-start__status" [attr.aria-label]="t('christianityEditionStatus')">
72587
+ <span>{{ galleryEditionLabel() }}</span>
72588
+ <span>{{ t('christianityTutorialActive') }}</span>
72589
+ <span>{{ catalogStatusLabel() }}</span>
72590
+ </div>
72591
+ <section class="christianity-start__modes" [attr.aria-label]="t('christianityFutureModes')">
72592
+ @for (mode of futureModes(); track mode.title) {
72593
+ <article>
72594
+ <strong>{{ mode.title }}</strong>
72595
+ <p>{{ mode.body }}</p>
72596
+ <span>{{ t('soonTitle') }}</span>
72597
+ </article>
72598
+ }
72599
+ </section>
72600
+ </section>
72601
+ } @else {
72602
+ <section class="christianity-match-strip" [attr.aria-label]="t('christianityMatchScore')">
72603
+ <article class="christianity-match-player">
72604
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
72605
+ <div>
72606
+ <strong>{{ player().displayName }}</strong>
72607
+ <small>{{ playerLeaderDisplayName(player()) }} · {{ player().leaderHp }}/{{ player().leaderMaxHp }}</small>
72608
+ </div>
72609
+ </article>
72610
+ <div class="christianity-scoreboard">
72611
+ <span>{{ t('christianityMatch') }}</span>
72612
+ <strong>{{ game().matchScore.P1 }}-{{ game().matchScore.P2 }}</strong>
72613
+ </div>
72614
+ <article class="christianity-match-player christianity-match-player--opponent">
72615
+ <span class="christianity-avatar" [style.background]="opponent().avatarColor">{{ opponent().avatar }}</span>
72616
+ <div>
72617
+ <strong>{{ opponent().displayName }}</strong>
72618
+ <small>{{ playerLeaderDisplayName(opponent()) }} · {{ opponent().leaderHp }}/{{ opponent().leaderMaxHp }}</small>
72619
+ </div>
72620
+ </article>
72621
+ </section>
72622
+
72623
+ <section class="christianity-hand-shelf christianity-hand-shelf--opponent">
72624
+ <div class="christianity-hand-meter christianity-hand-meter--opponent">
72625
+ <span>{{ t('christianityHand') }}</span>
72626
+ <strong>{{ opponentHandCount() }}</strong>
72627
+ </div>
72628
+ <section class="christianity-hand-fan christianity-hand-fan--opponent" [attr.aria-label]="t('christianityOpponentHand')">
72629
+ @for (_ of hiddenHandCards(opponentHandCount()); track $index) {
72630
+ <button
72631
+ type="button"
72632
+ class="christianity-card-preview-card christianity-card-frame christianity-card-frame--back"
72633
+ valLightRipple
72634
+ [style.transform]="fanTransform($index, opponentHandCount(), true)"
72635
+ [attr.aria-label]="t('christianityHiddenCard')"
72636
+ ></button>
72637
+ }
72638
+ </section>
72639
+ </section>
72640
+
72641
+ <section class="christianity-table" [attr.aria-label]="t('christianityTable')">
72642
+ <section class="christianity-player-side christianity-player-side--opponent">
72643
+ <section class="christianity-player-rack christianity-player-rack--opponent">
72644
+ <div class="christianity-offerings-zone">
72645
+ <button type="button" class="christianity-offering-pile" valLightRipple (click)="openOfferings('P2')">
72646
+ <i aria-hidden="true"></i>
72647
+ <i aria-hidden="true"></i>
72648
+ <i aria-hidden="true"></i>
72649
+ <span>{{ t('christianityOfferings') }}</span>
72650
+ <strong>{{ readyOfferings(opponent()) }}/{{ totalOfferings(opponent()) }}</strong>
72651
+ </button>
72652
+ </div>
72653
+ <button type="button" class="christianity-leader-card christianity-render-card-button" valLightRipple [class.is-target]="selectedAttacker() && !hasOpponentGuards()" (click)="handleOpponentLeader()">
72654
+ <val-christianity-card [card]="leaderRenderCard(opponent())" variant="table"></val-christianity-card>
72655
+ </button>
72656
+ <span class="christianity-rack-spacer" aria-hidden="true"></span>
72657
+ </section>
72658
+
72659
+ <section class="christianity-battle-zone christianity-battle-zone--opponent" [attr.aria-label]="t('christianityOpponentBattle')">
72660
+ @for (slot of battleSlots('P2'); track slot.trackId) {
72661
+ @if (slot.card) {
72662
+ <button
72663
+ type="button"
72664
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-render-card-button"
72665
+ valLightRipple
72666
+ [class.is-target]="selectedAttacker()"
72667
+ (click)="handleOpponentCharacter(slot.card)"
72668
+ >
72669
+ <val-christianity-card [card]="characterRenderCard(slot.card)" variant="table"></val-christianity-card>
72670
+ </button>
72671
+ } @else {
72672
+ <span class="christianity-slot"></span>
72673
+ }
72674
+ }
72675
+ </section>
72676
+ </section>
72677
+
72678
+ <section class="christianity-shared-zone" [attr.aria-label]="t('christianitySharedZone')">
72679
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--history" valLightRipple (click)="openHistory()">
72680
+ <i aria-hidden="true"></i>
72681
+ <i aria-hidden="true"></i>
72682
+ <i aria-hidden="true"></i>
72683
+ <span>{{ t('christianityHistory') }}</span>
72684
+ <strong>{{ game().historyZone.length }}</strong>
72685
+ </button>
72686
+ <button type="button" class="christianity-zone-pile christianity-zone-pile--deck" valLightRipple aria-live="polite" (click)="inspectDeck()">
72687
+ <i aria-hidden="true"></i>
72688
+ <i aria-hidden="true"></i>
72689
+ <i aria-hidden="true"></i>
72690
+ <span>{{ t('christianityDeck') }}</span>
72691
+ <strong>{{ game().sharedDeck.length }}</strong>
72692
+ </button>
72693
+ <div class="christianity-zone-card">
72694
+ <span>{{ t('christianityPlace') }}</span>
72695
+ <strong>{{ t('christianityEmpty') }}</strong>
72696
+ </div>
72697
+ </section>
72698
+
72699
+ <section class="christianity-player-side">
72700
+ <section class="christianity-battle-zone" [class.is-placing-card]="canPlaceSelectedCharacter() || isDraggingCharacter()" [attr.aria-label]="t('christianityYourBattle')">
72701
+ @for (slot of battleSlots('P1'); track slot.trackId) {
72702
+ @if (slot.card) {
72703
+ <button
72704
+ type="button"
72705
+ class="christianity-card-preview-card christianity-card-preview-card--battle christianity-render-card-button"
72706
+ valLightRipple
72707
+ [class.is-selected]="selectedAttacker()?.instanceId === slot.card.instanceId"
72708
+ [class.is-exhausted]="!slot.card.canAttack"
72709
+ [class.is-ready-attacker]="isOwnTurn() && slot.card.canAttack"
72710
+ (click)="selectAttacker(slot.card)"
72711
+ >
72712
+ <val-christianity-card [card]="characterRenderCard(slot.card)" variant="table"></val-christianity-card>
72713
+ </button>
72714
+ } @else {
72715
+ <button
72716
+ type="button"
72717
+ class="christianity-slot"
72718
+ cdkDropList
72719
+ [id]="battleSlotDropId($index)"
72720
+ [cdkDropListData]="$index"
72721
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
72722
+ [cdkDropListEnterPredicate]="canDropOnBattleSlot"
72723
+ [cdkDropListSortingDisabled]="true"
72724
+ [class.christianity-slot--play-target]="canPlaceSelectedCharacter() || isDraggingCharacter()"
72725
+ valLightRipple
72726
+ (cdkDropListDropped)="dropOnBattleSlot($event, $index)"
72727
+ (click)="playSelectedCard($index)"
72728
+ >
72729
+ @if (canPlaceSelectedCharacter() || isDraggingCharacter()) {
72730
+ <span>{{ t('christianityPlayHere') }}</span>
72731
+ }
72732
+ </button>
72733
+ }
72734
+ }
72735
+ </section>
72736
+
72737
+ <section class="christianity-player-rack">
72738
+ <div class="christianity-offerings-zone">
72739
+ <button
72740
+ type="button"
72741
+ class="christianity-offering-pile"
72742
+ cdkDropList
72743
+ id="christianity-offerings-drop"
72744
+ valLightRipple
72745
+ [cdkDropListConnectedTo]="['christianity-hand-source']"
72746
+ [class.is-play-target]="canPlaceSelectedOffering() || isDraggingOffering()"
72747
+ [cdkDropListEnterPredicate]="canDropOnOfferings"
72748
+ [cdkDropListSortingDisabled]="true"
72749
+ (cdkDropListDropped)="dropOnOfferings($event)"
72750
+ (click)="handleOfferingPile('P1')"
72751
+ >
72752
+ <i aria-hidden="true"></i>
72753
+ <i aria-hidden="true"></i>
72754
+ <i aria-hidden="true"></i>
72755
+ <span>{{ t('christianityOfferings') }}</span>
72756
+ <strong>{{ readyOfferings(player()) }}/{{ totalOfferings(player()) }}</strong>
72757
+ </button>
72758
+ </div>
72759
+ <button type="button" class="christianity-leader-card christianity-render-card-button" valLightRipple (click)="inspectLeader('P1')">
72760
+ <val-christianity-card [card]="leaderRenderCard(player())" variant="table"></val-christianity-card>
72761
+ </button>
72762
+ <div class="christianity-player-command">
72763
+ <div class="christianity-player-badge">
72764
+ <span class="christianity-avatar" [style.background]="player().avatarColor">{{ player().avatar }}</span>
72765
+ <strong>{{ player().displayName }}</strong>
72766
+ </div>
72767
+ <button
72768
+ type="button"
72769
+ class="christianity-end-turn"
72770
+ (click)="endTurn()"
72771
+ >
72772
+ {{ t('christianityEndTurn') }}
72773
+ </button>
72774
+ </div>
72775
+ </section>
72776
+ </section>
72777
+ </section>
72778
+
72779
+ <section class="christianity-hand-shelf">
72780
+ <div class="christianity-hand-meter">
72781
+ <span>{{ t('christianityHand') }}</span>
72782
+ <strong>{{ player().hand?.length ?? 0 }}</strong>
72783
+ </div>
72784
+ <section
72785
+ class="christianity-hand-fan"
72786
+ cdkDropList
72787
+ id="christianity-hand-source"
72788
+ [cdkDropListConnectedTo]="dropTargetIds()"
72789
+ [attr.aria-label]="t('christianityYourHand')"
72790
+ (pointerleave)="clearHoveredHandIndex()"
72791
+ >
72792
+ @for (cardId of player().hand ?? []; track cardId + $index) {
72793
+ @let card = cardDefinition(cardId);
72794
+ <div
72795
+ class="christianity-hand-card-wrap"
72796
+ [class.is-selected]="selectedHandCard() === cardId"
72797
+ [class.is-dragging]="draggingCardId() === cardId"
72798
+ [style.z-index]="handCardZIndex($index)"
72799
+ [style.transform]="fanTransform($index, player().hand?.length ?? 0, false)"
72800
+ (pointerenter)="setHoveredHandIndex($index)"
72801
+ (pointerdown)="setHoveredHandIndex($index)"
72802
+ (pointerup)="releaseHoveredHand($event)"
72803
+ >
72804
+ <button
72805
+ type="button"
72806
+ class="christianity-card-preview-card christianity-card-preview-card--hand christianity-render-card-button"
72807
+ cdkDrag
72808
+ valLightRipple
72809
+ [cdkDragData]="cardId"
72810
+ [cdkDragDisabled]="!canPlay(card)"
72811
+ [class.is-selected]="selectedHandCard() === cardId"
72812
+ [class.is-disabled]="!canPlay(card)"
72813
+ (cdkDragStarted)="startDraggingCard(cardId)"
72814
+ (cdkDragEnded)="endDraggingCard()"
72815
+ (click)="selectHandCard(cardId)"
72816
+ >
72817
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="hand"></val-christianity-card>
72818
+ </button>
72819
+ <button
72820
+ type="button"
72821
+ class="christianity-card-eye"
72822
+ [attr.aria-label]="t('christianityPreviewCard')"
72823
+ (click)="inspectHandCard(cardId, true); $event.stopPropagation()"
72824
+ ></button>
72825
+ </div>
72826
+ }
72827
+ </section>
72828
+ </section>
72829
+ }
72830
+
72831
+ @if (selectedPreview()) {
72832
+ <button type="button" class="christianity-preview-backdrop" [attr.aria-label]="t('christianityClosePreview')" (click)="closePreview()"></button>
72833
+ <aside
72834
+ class="christianity-floating-card-shell"
72835
+ aria-live="polite"
72836
+ >
72837
+ <button type="button" class="christianity-floating-card-close" (click)="closePreview()">
72838
+ {{ t('close') }}
72839
+ </button>
72840
+ <div
72841
+ class="christianity-floating-card"
72842
+ [style.--preview-rotate-x]="previewTilt().rotateX + 'deg'"
72843
+ [style.--preview-rotate-y]="previewTilt().rotateY + 'deg'"
72844
+ [style.--preview-shift-x]="previewTilt().shiftX + 'px'"
72845
+ [style.--preview-shift-y]="previewTilt().shiftY + 'px'"
72846
+ (pointermove)="tiltPreview($event)"
72847
+ (pointerleave)="resetPreviewTilt()"
72848
+ >
72849
+ @if (selectedPreviewRenderCard(); as previewCard) {
72850
+ <val-christianity-card [card]="previewCard" variant="full"></val-christianity-card>
72851
+ }
72852
+ </div>
72853
+ @if (previewRule(); as rule) {
72854
+ <div class="christianity-preview-rule-note">
72855
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72856
+ <div>
72857
+ <small>{{ t('christianityCardRule') }}</small>
72858
+ <strong>{{ rule.title }}</strong>
72859
+ <p>{{ rule.body }}</p>
72860
+ </div>
72861
+ </div>
72862
+ }
72863
+ </aside>
72864
+ }
72865
+
72866
+ @if (selectedInfo(); as info) {
72867
+ <button type="button" class="christianity-info-backdrop" [attr.aria-label]="t('close')" (click)="closeInfo()"></button>
72868
+ <aside class="christianity-info-panel" aria-live="polite">
72869
+ <button type="button" class="christianity-dialog-close christianity-info-close" (click)="closeInfo()">
72870
+ {{ t('close') }}
72871
+ </button>
72872
+ <div class="christianity-rule-note">
72873
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72874
+ <div>
72875
+ <small>{{ info.eyebrow }}</small>
72876
+ <h2>{{ info.title }}</h2>
72877
+ <strong>{{ info.meta }}</strong>
72878
+ <p>{{ info.body }}</p>
72879
+ <ul>
72880
+ @for (fact of info.facts; track fact) {
72881
+ <li>{{ fact }}</li>
72882
+ }
72883
+ </ul>
72884
+ </div>
72885
+ </div>
72886
+ </aside>
72887
+ }
72888
+
72889
+ @if (screen() === 'table') {
72890
+ <section class="christianity-actions" aria-live="polite">
72891
+ <p>{{ statusText() }}</p>
72892
+ <div>
72893
+ <button type="button" [disabled]="selectedActionDisabled()" (click)="playSelectedCard()">
72894
+ {{ selectedActionLabel() }}
72895
+ </button>
72896
+ <button type="button" (click)="resetMock()">
72897
+ {{ t('christianityReset') }}
72898
+ </button>
72899
+ </div>
72900
+ </section>
72901
+ }
72902
+
72903
+ @if (showHistory()) {
72904
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseHistory')" (click)="showHistory.set(false)"></button>
72905
+ <section class="christianity-history-drawer">
72906
+ <header>
72907
+ <h2>{{ t('christianityHistory') }}</h2>
72908
+ <div class="christianity-dialog-actions">
72909
+ <span>{{ game().historyZone.length }}</span>
72910
+ <button type="button" class="christianity-dialog-close" (click)="showHistory.set(false)">
72911
+ {{ t('close') }}
72912
+ </button>
72913
+ </div>
72914
+ </header>
72915
+ @if (game().historyZone.length) {
72916
+ <div class="christianity-history-grid">
72917
+ @for (cardId of game().historyZone; track cardId + $index) {
72918
+ @let card = cardDefinition(cardId);
72919
+ <button type="button" class="christianity-gallery-card-button christianity-render-card-button" valLightRipple (click)="inspectHistoryCard(cardId)">
72920
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="list"></val-christianity-card>
72921
+ </button>
72922
+ }
72923
+ </div>
72924
+ } @else {
72925
+ <p>{{ t('christianityHistoryEmpty') }}</p>
72926
+ }
72927
+ </section>
72928
+ }
72929
+
72930
+ @if (showGallery()) {
72931
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseGallery')" (click)="closeGallery()"></button>
72932
+ <section class="christianity-history-drawer christianity-gallery-drawer">
72933
+ <header>
72934
+ <div>
72935
+ <h2>{{ t('christianityGallery') }}</h2>
72936
+ <p>{{ galleryEditionLabel() }}</p>
72937
+ </div>
72938
+ <div class="christianity-dialog-actions">
72939
+ <span>{{ galleryCards().length }}</span>
72940
+ <button type="button" class="christianity-dialog-close" (click)="closeGallery()">
72941
+ {{ t('close') }}
72942
+ </button>
72943
+ </div>
72944
+ </header>
72945
+ <div class="christianity-gallery-controls">
72946
+ <label>
72947
+ <span>{{ t('christianityGallerySearch') }}</span>
72948
+ <input type="search" [value]="gallerySearch()" (input)="setGallerySearch($event)" [placeholder]="t('christianityGallerySearchPlaceholder')" />
72949
+ </label>
72950
+ <label>
72951
+ <span>{{ t('christianityGalleryFilter') }}</span>
72952
+ <select [value]="galleryType()" (change)="setGalleryType($event)">
72953
+ @for (option of galleryTypeOptions(); track option.value) {
72954
+ <option [value]="option.value">{{ option.label }}</option>
72955
+ }
72956
+ </select>
72957
+ </label>
72958
+ </div>
72959
+ <div class="christianity-gallery-edition-strip">
72960
+ <button type="button" class="is-active" valLightRipple>
72961
+ <img [src]="galleryEditionIcon()" alt="" />
72962
+ <span>{{ t('christianityGenesisEdition') }}</span>
72963
+ </button>
72964
+ </div>
72965
+ <div class="christianity-gallery-grid">
72966
+ @for (card of galleryCards(); track card.id) {
72967
+ <button type="button" class="christianity-gallery-card-button christianity-render-card-button" valLightRipple (click)="inspectGalleryCard(card.id)">
72968
+ <val-christianity-card [card]="definitionToRenderCard(card)" variant="list"></val-christianity-card>
72969
+ </button>
72970
+ } @empty {
72971
+ <p>{{ t('christianityGalleryEmpty') }}</p>
72972
+ }
72973
+ </div>
72974
+ </section>
72975
+ }
72976
+
72977
+ @if (offeringsSeat()) {
72978
+ @let offeringPlayer = game().players[offeringsSeat()!];
72979
+ <button type="button" class="christianity-history-backdrop" [attr.aria-label]="t('christianityCloseOfferings')" (click)="closeOfferings()"></button>
72980
+ <section class="christianity-history-drawer christianity-offerings-drawer">
72981
+ <header>
72982
+ <h2>{{ t('christianityOfferings') }}</h2>
72983
+ <div class="christianity-dialog-actions">
72984
+ <span>{{ readyOfferings(offeringPlayer) }}/{{ totalOfferings(offeringPlayer) }}</span>
72985
+ <button type="button" class="christianity-dialog-close" (click)="closeOfferings()">
72986
+ {{ t('close') }}
72987
+ </button>
72988
+ </div>
72989
+ </header>
72990
+ <div class="christianity-offerings-note">
72991
+ <span class="christianity-rule-note-icon" aria-hidden="true">i</span>
72992
+ <p>{{ t('christianityOfferingsRuleBody') }}</p>
72993
+ </div>
72994
+ <div class="christianity-offering-list">
72995
+ @for (offering of offeringPlayer.offerings; track offering.instanceId) {
72996
+ <article class="christianity-offering-row" [class.is-exhausted]="!offering.ready">
72997
+ <button type="button" class="christianity-offering-card christianity-render-card-button" valLightRipple (click)="inspectOffering(offering)">
72998
+ <val-christianity-card [card]="offeringRenderCard(offering)" variant="list"></val-christianity-card>
72999
+ </button>
73000
+ <div>
73001
+ <strong>{{ offering.ready ? t('christianityOfferingReady') : t('christianityOfferingExhausted') }}</strong>
73002
+ <p>{{ offeringAbilityText(offering) }}</p>
73003
+ @if (offering.abilityName) {
73004
+ <button
73005
+ type="button"
73006
+ [disabled]="!canUseOfferingAbility(offering, offeringsSeat()!)"
73007
+ (click)="useOfferingAbility(offering, offeringsSeat()!)"
73008
+ >
73009
+ {{ t('christianityUseAbility') }}
73010
+ </button>
73011
+ }
73012
+ </div>
73013
+ </article>
73014
+ }
73015
+ </div>
73016
+ </section>
73017
+ }
73018
+ </main>
73019
+ `, styles: [":host{--christianity-theme-ink: var(--val-text-color, #1f2933);--christianity-theme-surface: #ffffff;--christianity-theme-parchment: #eff6ff;--christianity-theme-olive: #1d4ed8;--christianity-theme-gold: #2563eb;--christianity-theme-gold-soft: rgba(37, 99, 235, .16);--christianity-theme-gold-ring: rgba(37, 99, 235, .44);--christianity-theme-glow: rgba(37, 99, 235, .24);--christianity-theme-focus: #2563eb;--christianity-theme-shadow: rgba(37, 99, 235, .15);--christianity-theme-shadow-strong: rgba(37, 99, 235, .26);--christianity-card-aspect: 5 / 7.45;--christianity-card-back: linear-gradient(135deg, rgba(16, 42, 67, .16), rgba(16, 42, 67, .03)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);--christianity-card-back-soft: linear-gradient(135deg, rgba(16, 42, 67, .11), rgba(16, 42, 67, .02)), repeating-linear-gradient(45deg, #dbeafe 0 .33rem, #ffffff .33rem .66rem);display:block;max-width:100%;min-width:0;overflow-x:clip;color:var(--christianity-theme-ink)}.christianity-shell{box-sizing:border-box;display:grid;gap:.65rem;width:100%;max-width:100%;min-width:0;padding:.75rem .25rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#f6f8fb;overflow-x:clip;overflow-y:visible}.christianity-header,.christianity-match-strip,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-header h1,.christianity-header p,.christianity-match-player strong,.christianity-match-player small,.christianity-scoreboard span,.christianity-history h2,.christianity-actions p{margin:0}.christianity-header h1{font-size:1.35rem;line-height:1.1}.christianity-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0}.christianity-gallery-open{min-height:2.2rem;padding:0 .75rem;border:1px solid var(--christianity-theme-gold-ring);border-radius:999px;background:linear-gradient(180deg,#eff6fffa,#fffffffa),radial-gradient(circle at 20% 0%,var(--christianity-theme-gold-soft),transparent 42%);color:var(--christianity-theme-ink);font:inherit;font-size:.82rem;font-weight:800;box-shadow:0 .55rem 1.2rem #2563eb1a}.christianity-splash,.christianity-start{min-height:min(34rem,calc(100dvh - 8rem));border:1px solid rgba(37,99,235,.18);border-radius:.9rem;background:radial-gradient(circle at 50% 18%,rgba(37,99,235,.16),transparent 22rem),linear-gradient(180deg,#eff6ffed,#fffffff7),var(--christianity-card-back-soft);box-shadow:0 1.2rem 3.2rem #2563eb1f}.christianity-splash{display:grid;place-items:center;align-content:center;gap:1.2rem;padding:2.5rem 1.25rem;text-align:center}.christianity-splash__mark{position:relative;width:6.4rem;height:8.9rem;filter:drop-shadow(0 1rem 1.8rem rgba(82,64,28,.18))}.christianity-splash__mark i{position:absolute;inset:0;border:1px solid rgba(36,48,68,.16);border-radius:.7rem;background:radial-gradient(circle at 76% 12%,rgba(250,204,21,.9) 0 .42rem,transparent .45rem),linear-gradient(180deg,#fffffffa,#f8fafcfa)}.christianity-splash__mark i:nth-child(1){transform:translate(-1.1rem) rotate(-9deg)}.christianity-splash__mark i:nth-child(2){transform:translateY(-.32rem)}.christianity-splash__mark i:nth-child(3){transform:translate(1.1rem) rotate(9deg)}.christianity-splash__mark:after{content:\"\";position:absolute;inset:2.1rem 1.05rem 2.5rem;border-radius:.55rem;background:radial-gradient(circle at 50% 44%,rgba(245,199,85,.7),transparent 36%),linear-gradient(135deg,#5f6f2a33,#5f6f2a14)}.christianity-splash span,.christianity-start__copy span{color:var(--christianity-theme-olive);font-size:.76rem;font-weight:900;text-transform:uppercase}.christianity-splash h2,.christianity-start h2,.christianity-start p{margin:0}.christianity-splash h2{margin-top:.2rem;font-size:clamp(1.65rem,7vw,2.7rem);line-height:1}.christianity-splash p{max-width:26rem;margin:.55rem auto 0;color:#1f2933ad;font-size:.96rem}.christianity-start{display:grid;align-content:center;gap:1rem;padding:clamp(.85rem,2vw,1.35rem)}.christianity-start__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,18rem);gap:1rem;align-items:center}.christianity-start__copy{display:grid;gap:.45rem;max-width:36rem}.christianity-start h2{font-size:clamp(1.6rem,6vw,2.5rem);line-height:1.02}.christianity-start__copy p,.christianity-start__cards p,.christianity-start__modes p{color:#1f2933ad;line-height:1.42}.christianity-start__fan{position:relative;display:grid;place-items:center;min-height:13rem;overflow:visible}.christianity-start__fan val-christianity-card{position:absolute;width:clamp(5.7rem,12vw,7.2rem);transform-origin:50% 92%;filter:drop-shadow(0 1rem 1.5rem rgba(82,64,28,.18))}.christianity-start__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.christianity-start__cards article,.christianity-start__modes article{display:grid;gap:.65rem;align-content:start;padding:.95rem;border:1px solid rgba(36,48,68,.12);border-radius:.75rem;background:#ffffffd1;box-shadow:0 .75rem 1.7rem #52401c14}.christianity-start__cards article{min-height:11rem}.christianity-start__cards strong{font-size:1.05rem}.christianity-start__status{display:flex;flex-wrap:wrap;gap:.45rem}.christianity-start__status span,.christianity-start__modes article>span{display:inline-flex;align-items:center;width:fit-content;min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(37,99,235,.22);border-radius:999px;background:#eff6ffe0;color:#1f2933b8;font-size:.75rem;font-weight:850}.christianity-start__modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.christianity-start__modes article{min-height:8.5rem;background:#f8fafcb8;box-shadow:none;opacity:.82}.christianity-start__modes strong{font-size:.92rem}.christianity-start__modes p{margin:0;font-size:.8rem}.christianity-primary-action,.christianity-secondary-action{justify-self:start;min-height:2.5rem;padding:0 .9rem;border-radius:999px;font:inherit;font-weight:900}.christianity-primary-action{border:1px solid rgba(16,42,67,.16);background:#102a43;color:#fff}.christianity-secondary-action{border:1px solid var(--christianity-theme-gold-ring);background:var(--christianity-theme-parchment);color:var(--christianity-theme-ink)}.christianity-header p,.christianity-turn span,.christianity-offerings span,.christianity-hidden-hand span,.christianity-deck span,.christianity-place span,.christianity-pile span,.christianity-leader span{color:#1f2933a3;font-size:.75rem}.christianity-turn,.christianity-leader,.christianity-offerings,.christianity-hidden-hand,.christianity-pile,.christianity-deck,.christianity-place{display:grid;gap:.15rem;min-width:5.25rem;padding:.55rem .65rem;border:1px solid rgba(36,48,68,.12);border-radius:.5rem;background:#fff}.christianity-turn.is-own-turn{border-color:#12806c59;background:#ecfdf5}.christianity-match-strip{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:.45rem;border:1px solid rgba(36,48,68,.1);border-radius:.75rem;background:#fff}.christianity-match-player{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0}.christianity-match-player--opponent{direction:rtl}.christianity-match-player--opponent div{direction:ltr;text-align:right}.christianity-match-player div{display:grid;min-width:0}.christianity-match-player strong,.christianity-match-player small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-match-player small,.christianity-scoreboard span{color:#1f293394;font-size:.72rem}.christianity-scoreboard{display:grid;justify-items:center;min-width:4.2rem;padding:0 .55rem;border-right:1px solid rgba(36,48,68,.1);border-left:1px solid rgba(36,48,68,.1)}.christianity-scoreboard strong{font-size:1.2rem;line-height:1}.christianity-table{box-sizing:border-box;display:grid;gap:.45rem;width:100%;max-width:100%;min-width:0;padding:.45rem .35rem;border-radius:.75rem;background:#dceafb;overflow-x:clip;overflow-y:visible}.christianity-player-side{box-sizing:border-box;display:grid;gap:.35rem;width:100%;max-width:100%;min-width:0;padding:.35rem .3rem;border-radius:.7rem;background:#ffffff57;grid-template-rows:minmax(7rem,1fr) auto;min-height:13.75rem}.christianity-player-side--opponent{grid-template-rows:auto minmax(7rem,1fr)}.christianity-player{display:grid;gap:.65rem}.christianity-battle-zone{--christianity-battle-card-width: clamp(4.8rem, 15vw, 6.6rem);box-sizing:border-box;display:grid;grid-template-columns:repeat(4,var(--christianity-battle-card-width));gap:.5rem;align-items:center;justify-content:center;width:100%;max-width:100%;min-width:0;min-height:clamp(9.1rem,29vw,11rem);padding:.55rem .4rem;border-radius:.75rem;background:#ffffffc2;transition:background .16s ease,box-shadow .16s ease}.christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#fffaf0f5,#ffffffd6),#ffffffc2;box-shadow:inset 0 0 0 .14rem var(--christianity-theme-gold-soft),0 .8rem 1.7rem #5f6f2a1f}.christianity-shared-zone{padding:.55rem .4rem;border-radius:.75rem;background:#ffffffe6}.christianity-card,.christianity-end-turn,.christianity-actions button,.christianity-pile,.christianity-leader--target{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card{display:grid;align-content:space-between;min-height:5.8rem;padding:.5rem;text-align:left;box-shadow:0 .5rem 1.25rem #24304414}.christianity-card span{font-weight:700}.christianity-card strong{justify-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-card.is-selected{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .18rem var(--christianity-theme-gold-soft),0 .85rem 1.4rem var(--christianity-theme-shadow)}.christianity-card.is-disabled,.christianity-card.is-exhausted{opacity:.55}.christianity-card.is-target{border-color:#dc2626}.christianity-offering-cards{display:grid;grid-auto-flow:column;grid-auto-columns:.7rem;gap:.16rem;align-items:end;min-height:1.05rem}.christianity-offering-cards i{display:block;width:.65rem;height:.95rem;border:1px solid rgba(16,42,67,.22);border-radius:.18rem;background:#f8fafc}.christianity-offering-cards i.is-used{background:#cbd5e1;transform:rotate(90deg);transform-origin:center}.christianity-slot{display:grid;place-items:center;justify-self:center;width:var(--christianity-battle-card-width);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px dashed rgba(36,48,68,.22);border-radius:.5rem;background:#ffffff73;color:inherit;font:inherit}.christianity-slot--play-target{position:relative;border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0eb,#f8fafcd1),#ffffffb3;color:#5d4305;font-weight:800;overflow:hidden;box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-slot--play-target:before{content:\"\";position:absolute;inset:.35rem;border:1px solid rgba(214,162,29,.22);border-radius:.4rem;background:linear-gradient(135deg,rgba(214,162,29,.1),transparent 46%),radial-gradient(circle at 50% 42%,var(--christianity-theme-glow),transparent 58%)}.christianity-slot--play-target span{position:relative;z-index:2;padding:.16rem .44rem;border-radius:999px;background:#ffffffc7;font-size:.78rem}@keyframes christianity-target-pulse{0%,to{box-shadow:inset 0 0 0 .12rem #d6a21d33,0 .7rem 1.25rem var(--christianity-theme-shadow)}50%{box-shadow:inset 0 0 0 .16rem #d6a21d57,0 .9rem 1.65rem var(--christianity-theme-shadow-strong)}}.christianity-hand{display:grid;grid-auto-columns:minmax(6rem,8rem);grid-auto-flow:column;gap:.55rem;overflow-x:auto;padding-bottom:.25rem}.christianity-actions{align-items:flex-start;padding:.75rem;border-radius:.75rem;background:#fff}.christianity-actions div{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.christianity-actions button,.christianity-end-turn{min-height:2.4rem;padding:0 .75rem;font-weight:700}.christianity-actions button:not(:disabled),.christianity-end-turn{background:#102a43;color:#fff}.christianity-history{padding:.75rem;border-radius:.75rem;background:#fff}.christianity-hand-fan{position:relative;display:flex;justify-content:center;min-height:10.8rem;padding:.25rem .25rem 2.1rem;isolation:isolate;overflow:visible}.christianity-hand-shelf{position:relative;display:grid;z-index:12;min-height:12rem;margin-top:-1.15rem;padding:1.45rem .25rem 1rem;overflow:visible}.christianity-hand-shelf--opponent{z-index:8;min-height:6.85rem;margin-top:0;margin-bottom:0;padding:.45rem .25rem .85rem}.christianity-hand-fan--opponent{min-height:5.9rem;padding-bottom:.75rem;align-items:start}.christianity-hand-fan--opponent .christianity-card-frame--back{width:clamp(3.7rem,12vw,4.9rem);margin-inline:-.9rem;transform-origin:50% 120%}.christianity-hand-fan--opponent .christianity-card-frame--back:first-child{margin-left:0}.christianity-hand-fan--opponent .christianity-card-frame--back:last-child{margin-right:0}.christianity-card-preview-card,.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile,.christianity-end-turn{border:1px solid rgba(36,48,68,.16);border-radius:.5rem;background:#fff;color:inherit;font:inherit}.christianity-card-preview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);padding:.48rem;text-align:left;transform-origin:50% 115%;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;box-shadow:0 .5rem 1.25rem #2430441a}.christianity-render-card-button{display:block;padding:0;overflow:visible;border:0;background:transparent;box-shadow:none}.christianity-render-card-button>val-christianity-card{display:block;width:100%;height:100%}.christianity-gallery-card-button{display:block;width:min(100%,6.8rem);min-width:0;aspect-ratio:var(--christianity-card-aspect);padding:0;overflow:visible;border:0;background:transparent;color:inherit;font:inherit;text-align:left;box-shadow:none}.christianity-gallery-card-button>val-christianity-card{display:block;width:100%;height:100%}.christianity-card-preview-card--hand.christianity-render-card-button,.christianity-card-preview-card--battle.christianity-render-card-button,.christianity-leader-card.christianity-render-card-button{aspect-ratio:var(--christianity-card-aspect)}.christianity-card-preview-card--hand.christianity-render-card-button:hover val-christianity-card,.christianity-card-preview-card--hand.christianity-render-card-button.is-selected val-christianity-card,.christianity-card-preview-card--battle.christianity-render-card-button.is-selected val-christianity-card,.christianity-card-preview-card--battle.christianity-render-card-button.is-target val-christianity-card,.christianity-leader-card.christianity-render-card-button.is-target val-christianity-card{filter:drop-shadow(0 0 .55rem rgba(214,162,29,.35))}.christianity-card-preview-card--battle.christianity-render-card-button.is-ready-attacker val-christianity-card{filter:drop-shadow(0 .45rem .8rem rgba(95,111,42,.16))}.christianity-card-preview-card--battle.christianity-render-card-button.is-selected{transform:translateY(-.28rem)}.christianity-card-frame{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:.28rem;align-content:stretch;overflow:hidden;padding:.48rem;text-align:left;background:linear-gradient(180deg,#fffffffa,#f8fafcfa),radial-gradient(circle at 15% 0%,rgba(214,162,29,.12),transparent 44%);box-shadow:0 .5rem 1.25rem #2430441a,inset 0 0 0 .18rem #ffffff9e}.christianity-card-frame-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.16rem;align-items:start;min-width:0}.christianity-card-frame-header small{grid-column:1;min-width:0;overflow:hidden;color:#1f2933a3;font-size:clamp(.52rem,1.5vw,.68rem);line-height:1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-header strong{grid-column:1;justify-self:start;align-self:start;min-width:0;padding:0;overflow:hidden;border-radius:0;background:transparent;font-size:clamp(.82rem,2.5vw,1.05rem);line-height:1.02;text-overflow:ellipsis;white-space:nowrap}.christianity-card-preview-card--hand .christianity-card-frame-header strong,.christianity-card-preview-card--battle .christianity-card-frame-header strong,.christianity-leader-card .christianity-card-frame-header strong{display:-webkit-box;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-preview-card--hand .christianity-card-frame-header small{text-transform:uppercase}.christianity-card-preview-card--hand .christianity-card-frame-art>span{display:-webkit-box;max-width:88%;overflow-wrap:anywhere;text-overflow:clip;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.christianity-card-frame-header span{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;min-width:1.3rem;height:1.3rem;padding:0 .22rem;border-radius:999px;background:#ffd91a;color:#243044;font-size:.8rem;font-weight:900;line-height:1;box-shadow:inset 0 -.08rem #52401c2e}.christianity-card-frame-header span.is-offering-pips,.christianity-full-card-cost.is-offering-pips,.christianity-offering-card span.is-offering-pips{grid-auto-flow:column;gap:.14rem;min-width:auto;padding:0 .28rem}.christianity-card-frame-header span.is-offering-pips i,.christianity-full-card-cost.is-offering-pips i,.christianity-offering-card span.is-offering-pips i,.christianity-full-card-pips i{display:block;width:.72rem;height:.72rem;border-radius:999px;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 .12rem,transparent .13rem),#ffd91a;box-shadow:inset 0 -.08rem #52401c2e,0 .12rem .24rem #102a431a}.christianity-card-frame-art{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:.36rem;background:linear-gradient(135deg,#5f6f2a2e,#d6a21d24),radial-gradient(circle at 50% 18%,rgba(255,255,255,.72),transparent 48%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-card-frame-art>span{max-width:78%;overflow:hidden;color:#2430447a;font-size:clamp(.82rem,2.2vw,1.05rem);font-weight:900;line-height:1.02;text-align:center;text-overflow:ellipsis}.christianity-card-frame-art small{position:absolute;right:0;bottom:.28rem;max-width:78%;padding:.1rem .34rem;overflow:hidden;border-radius:999px 0 0 999px;background:#ffffffe6;color:#1f2933a8;font-size:.48rem;font-style:italic;font-weight:900;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-card-frame-effect{display:grid;align-content:center;gap:.1rem;min-height:1.45rem;padding:.24rem;overflow:hidden;border-radius:.34rem;background:radial-gradient(circle at 50% 70%,rgba(36,48,68,.06),transparent 44%),#ffffffdb}.christianity-card-frame-effect strong{justify-self:end;align-self:end;padding:.12rem .32rem;border-radius:999px;background:#edf2f7;font-size:clamp(.66rem,2vw,.82rem);line-height:1.05}.christianity-card-frame-effect p{margin:0;overflow:hidden;color:#1f2933b8;font-size:.58rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.christianity-card-frame-footer{display:flex;justify-content:space-between;gap:.22rem;color:#1f293385;font-size:.46rem;font-weight:800;line-height:1}.christianity-card-frame--battle{gap:.22rem;padding:.42rem}.christianity-card-frame--battle .christianity-card-frame-art{min-height:2.6rem}.christianity-card-frame--leader .christianity-card-frame-art{background:linear-gradient(135deg,#2563eb24,#d6a21d29),radial-gradient(circle at 50% 18%,rgba(255,255,255,.78),transparent 48%),#e7eef8}.christianity-card-frame--list{width:clamp(4.4rem,22vw,5.8rem);padding:.38rem}.christianity-card-frame--list .christianity-card-frame-art{min-height:2.5rem}.christianity-hand-card-wrap{position:relative;display:grid;justify-items:center;flex:0 0 auto;margin-inline:-.42rem;padding-bottom:2rem;transform-origin:50% 115%;transition:transform .16s ease,filter .16s ease}.christianity-hand-card-wrap:hover,.christianity-hand-card-wrap.is-selected,.christianity-hand-card-wrap.is-dragging{z-index:3}.christianity-hand-card-wrap:hover .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-selected .christianity-card-preview-card--hand,.christianity-hand-card-wrap.is-dragging .christianity-card-preview-card--hand{border-color:var(--christianity-theme-gold);box-shadow:0 0 0 .12rem var(--christianity-theme-gold-soft),0 1rem 2rem var(--christianity-theme-shadow)}.christianity-card-preview-card--hand{touch-action:none}.christianity-card-preview-card--hand.cdk-drag-disabled{cursor:not-allowed}.christianity-card-preview-card.cdk-drag-preview{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);border:1px solid var(--christianity-theme-gold-ring);box-shadow:0 0 0 .16rem #fff4c2ad,0 1.5rem 3rem var(--christianity-theme-shadow-strong);transform:rotate(2deg) scale(1.03)}.christianity-card-preview-card.cdk-drag-placeholder{width:clamp(4.9rem,17vw,7.1rem);height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);opacity:.22}.christianity-slot.cdk-drop-list-dragging,.christianity-offering-pile.cdk-drop-list-dragging{border-color:var(--christianity-theme-gold-ring)}.christianity-slot.cdk-drop-list-receiving,.christianity-offering-pile.cdk-drop-list-receiving{box-shadow:inset 0 0 0 .18rem #d6a21d57,0 1rem 1.9rem var(--christianity-theme-shadow-strong)}.christianity-card-eye{position:absolute;right:50%;bottom:.38rem;width:2.15rem;height:1.55rem;border:1px solid color-mix(in srgb,var(--christianity-theme-focus) 52%,transparent);border-radius:999px;background:#fffffff0;box-shadow:0 .55rem 1.1rem #102a4324;opacity:0;transform:translate(50%,-.2rem) scale(.92);transition:opacity .14s ease,transform .14s ease,border-color .14s ease}.christianity-card-eye:before{content:\"\";position:absolute;top:50%;left:50%;width:1.1rem;height:1.1rem;border:.12rem solid var(--christianity-theme-focus);border-radius:82% 0;background:#fffffff0;transform:translate(-50%,-50%) rotate(45deg)}.christianity-card-eye:after{content:\"\";position:absolute;top:50%;left:50%;width:.42rem;height:.42rem;border:.09rem solid rgba(255,255,255,.95);border-radius:999px;background:radial-gradient(circle at 35% 32%,#ffffff 0 .06rem,transparent .07rem),var(--christianity-theme-focus);transform:translate(-50%,-50%)}.christianity-hand-card-wrap:hover .christianity-card-eye,.christianity-hand-card-wrap.is-selected .christianity-card-eye,.christianity-card-eye:focus-visible{opacity:1;transform:translate(50%) scale(1)}.christianity-offering-pile.is-play-target{border-color:var(--christianity-theme-gold-ring);background:linear-gradient(180deg,#fffaf0f5,#fffffff0),radial-gradient(circle at 82% 14%,rgba(250,204,21,.28) 0 .7rem,transparent .72rem);box-shadow:inset 0 0 0 .12rem #d6a21d3d,0 .8rem 1.55rem var(--christianity-theme-shadow);animation:christianity-target-pulse 1.45s ease-in-out infinite}.christianity-card-frame--back,.christianity-card-preview-card--back{width:clamp(4rem,14vw,5.7rem);min-height:0;aspect-ratio:var(--christianity-card-aspect);place-items:center;padding:.55rem;overflow:hidden;box-shadow:0 .8rem 1.55rem #24304424;transform-origin:50% -18%;background:var(--christianity-card-back)}.christianity-card-frame--back:before,.christianity-card-preview-card--back:before{content:\"\";position:absolute;inset:.5rem;border:1px solid rgba(16,42,67,.12);border-radius:.38rem;background:linear-gradient(180deg,#ffffff2e,#ffffff0a);box-shadow:inset 0 0 0 .12rem #ffffff1f}.christianity-card-preview-card--battle{justify-self:center;width:var(--christianity-battle-card-width);min-width:0;height:auto;min-height:0;aspect-ratio:var(--christianity-card-aspect);margin-inline:0}.christianity-card-preview-card>span,.christianity-card-mini>span,.christianity-offering-pile>span,.christianity-offering-card>span,.christianity-leader-card>span,.christianity-zone-card>span,.christianity-zone-pile>span{position:relative;z-index:2;align-self:start;font-weight:700;line-height:1.05}.christianity-card-preview-card>strong,.christianity-card-mini>strong,.christianity-offering-pile>strong,.christianity-offering-card>strong,.christianity-leader-card>strong,.christianity-zone-card>strong,.christianity-zone-pile>strong{position:relative;z-index:3;justify-self:end;align-self:end;padding:.15rem .35rem;border-radius:999px;background:#edf2f7;font-size:.8rem}.christianity-player-rack{box-sizing:border-box;display:grid;grid-template-columns:minmax(5.9rem,7rem) minmax(5rem,1fr) minmax(4.2rem,7rem);gap:.45rem;align-items:end;justify-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-player-rack--opponent{align-items:start}.christianity-hand-meter{position:absolute;top:0;right:.35rem;z-index:4;display:inline-grid;grid-auto-flow:column;gap:.25rem;align-items:center;min-height:1.7rem;padding:.18rem .46rem;border:1px solid rgba(36,48,68,.12);border-radius:999px;background:#ffffffe6;box-shadow:0 .35rem .8rem #102a4314}.christianity-hand-meter--opponent{top:.15rem}.christianity-hand-meter span{color:#1f293394;font-size:.68rem}.christianity-hand-meter strong{font-size:.86rem}.christianity-player-badge,.christianity-player-command{display:grid;gap:.35rem;justify-items:center;min-width:0}.christianity-player-badge{align-content:start;color:#1f2933c2;font-size:.74rem}.christianity-player-badge--opponent{justify-self:center;grid-auto-flow:column;align-items:center;justify-content:center}.christianity-player-badge strong{max-width:6.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-avatar{display:grid;place-items:center;width:1.85rem;height:1.85rem;border-radius:999px;color:#fff;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .9rem #102a4329}.christianity-offerings-zone{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:flex-start;justify-self:start;width:100%}.christianity-card-mini,.christianity-offering-pile,.christianity-offering-card,.christianity-leader-card,.christianity-zone-card,.christianity-zone-pile{display:grid;align-content:space-between;min-height:4.9rem;padding:.48rem;text-align:left}.christianity-card-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;align-content:stretch}.christianity-offering-pile,.christianity-zone-card,.christianity-zone-pile{grid-template-rows:auto minmax(2.6rem,1fr) auto;align-content:stretch;gap:.32rem}.christianity-card-mini{width:3.5rem}.christianity-offering-pile{position:relative;isolation:isolate;overflow:hidden;justify-self:start;width:min(100%,5.9rem);height:7.1rem;min-height:0;max-height:7.1rem;padding:.95rem .52rem .6rem;background:linear-gradient(180deg,#fff,#f8fafc),linear-gradient(135deg,rgba(250,204,21,.18),transparent 42%)}.christianity-offering-pile>.cdk-drag-placeholder,.christianity-slot>.cdk-drag-placeholder{display:none}.christianity-offering-pile i{position:absolute;top:2.45rem;left:.72rem;z-index:-1;width:2.55rem;height:3.55rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:linear-gradient(180deg,#ffffffeb,#f1f5f9eb),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem);box-shadow:0 .35rem .85rem #102a431a;transform:rotate(-5deg)}.christianity-offering-pile i:nth-child(2){transform:translate(.28rem,.08rem) rotate(3deg)}.christianity-offering-pile i:nth-child(3){transform:translate(.55rem,.18rem) rotate(-1deg)}.christianity-leader-card{align-self:center;justify-self:center;width:clamp(4.75rem,17vw,6rem);min-height:0;aspect-ratio:var(--christianity-card-aspect)}.christianity-rack-spacer{display:block;min-height:1px}.christianity-battle-zone{grid-template-columns:repeat(4,var(--christianity-battle-card-width))}.christianity-shared-zone{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(4.3rem,1fr));align-items:stretch;width:100%;max-width:100%;min-width:0}.christianity-zone-card,.christianity-zone-pile{min-height:6.45rem;padding:.7rem .52rem .55rem}.christianity-zone-pile{position:relative;isolation:isolate;overflow:hidden;box-shadow:inset 0 0 0 999px #ffffff1f}.christianity-zone-pile i{position:absolute;top:2.2rem;right:.72rem;z-index:-1;width:2.7rem;height:3.7rem;border:1px solid rgba(16,42,67,.18);border-radius:.35rem;background:#f8fafc;box-shadow:0 .35rem .85rem #102a431c;transform:rotate(4deg)}.christianity-zone-pile i:nth-child(2){transform:translate(-.28rem,.12rem) rotate(-3deg)}.christianity-zone-pile i:nth-child(3){background:var(--christianity-card-back);transform:translate(-.54rem,.24rem) rotate(2deg)}.christianity-floating-card-shell{position:fixed;top:50%;left:50%;z-index:80;display:grid;grid-template-rows:minmax(0,auto) auto;gap:.55rem;width:min(17.5rem,calc(52dvh - 3rem),calc(100vw - 1.25rem));max-height:calc(100dvh - 1rem);padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-floating-card{position:relative;z-index:1;display:block;width:100%;min-height:0;padding:0;border:0;border-radius:.75rem;background:transparent;box-shadow:0 0 2.2rem var(--christianity-theme-glow);touch-action:none;transform:translate(var(--preview-shift-x, 0px),var(--preview-shift-y, 0px)) perspective(48rem) rotateX(var(--preview-rotate-x, 5deg)) rotateY(var(--preview-rotate-y, -5deg));transition:transform 90ms ease-out}.christianity-floating-card val-christianity-card{display:block;width:100%;min-height:0}.christianity-full-card-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.42rem;align-items:center}.christianity-full-card-header strong{min-width:0;display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:clamp(1.25rem,5vw,1.85rem);line-height:1.04}.christianity-full-card-type-icon,.christianity-full-card-cost{display:grid;place-items:center;border-radius:999px}.christianity-full-card-type-icon{width:1.6rem;height:1.6rem;background:radial-gradient(circle at 50% 50%,rgba(95,111,42,.72) 0 .22rem,transparent .24rem),#2430441a}.christianity-full-card-type-icon img{width:1rem;height:1rem;object-fit:contain}.christianity-full-card-cost{min-width:2.1rem;height:2.1rem;padding:0 .36rem;background:#ffd91a;color:#243044;font-size:1.1rem;font-weight:900;box-shadow:inset 0 -.12rem #52401c2e}.christianity-full-card-art{position:relative;display:grid;place-items:center;min-height:9rem;overflow:hidden;border-radius:.48rem;background:linear-gradient(135deg,#5f6f2a33,#d6a21d29),radial-gradient(circle at 50% 25%,rgba(255,255,255,.76),transparent 42%),#dbe7ef;box-shadow:inset 0 0 0 1px #24304414}.christianity-full-card-art img{width:100%;height:100%;object-fit:cover}.christianity-full-card-art>span{max-width:80%;color:#24304494;font-size:clamp(1.1rem,5vw,1.8rem);font-weight:900;line-height:1.05;text-align:center}.christianity-full-card-art small{position:absolute;right:0;bottom:.55rem;min-width:5rem;padding:.16rem .48rem;border-radius:999px 0 0 999px;background:#ffffffe6;box-shadow:0 .3rem .8rem #102a431f;color:#1f2933bd;font-size:.68rem;font-style:italic;font-weight:900;text-align:center;text-transform:uppercase}.christianity-full-card-verse,.christianity-full-card-effect{display:grid;gap:.32rem}.christianity-full-card-verse p,.christianity-full-card-effect p{margin:0;line-height:1.25}.christianity-full-card-verse{color:#171923;font-family:Georgia,Times New Roman,serif;font-size:clamp(.72rem,2.7vw,.86rem)}.christianity-full-card-verse strong{font-family:inherit;font-size:.78rem;font-weight:900}.christianity-full-card-effect{position:relative;align-content:start;min-height:7rem;padding:.6rem .7rem;overflow:hidden;border-radius:.45rem;background:radial-gradient(circle at 50% 72%,rgba(36,48,68,.07),transparent 34%),#ffffffdb}.christianity-full-card-stats{display:flex;gap:1rem;min-height:1.35rem}.christianity-full-card-stats strong{font-size:1rem;line-height:1}.christianity-full-card-stats .christianity-full-card-pips{display:inline-grid;grid-auto-flow:column;gap:.2rem;justify-self:start;padding:0;background:transparent}.christianity-full-card-effect>div:last-of-type{display:grid;gap:.12rem}.christianity-full-card-effect>div:last-of-type strong{font-size:.82rem}.christianity-full-card-effect p{font-size:clamp(.78rem,2.9vw,.92rem)}.christianity-full-card-rarity{position:absolute;top:.62rem;right:.62rem;width:.46rem;height:.46rem;border-radius:.12rem;transform:rotate(45deg)}.christianity-full-card-rarity.is-normal{background:#d1d5db}.christianity-full-card-rarity.is-uncommon{background:#22c55e}.christianity-full-card-rarity.is-rare{background:#3b82f6}.christianity-full-card-rarity.is-legendary{background:#eab308}.christianity-full-card-footer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.34rem;align-items:center;color:#1f2933ad;font-size:.58rem;line-height:1;text-transform:uppercase}.christianity-full-card-footer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.christianity-floating-card-close{position:absolute;top:0;right:.15rem;z-index:4;min-height:2rem;padding:0 .6rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#ffffffe6;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .45rem 1rem #102a431a}.christianity-preview-backdrop,.christianity-history-backdrop,.christianity-info-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#0f172a75}.christianity-preview-backdrop{z-index:79}.christianity-info-backdrop{z-index:50}.christianity-info-panel{position:fixed;top:50%;left:50%;z-index:51;width:min(31rem,calc(100vw - 1.25rem));max-height:min(34rem,calc(100vh - 2rem));padding-top:2.35rem;transform:translate(-50%,-50%)}.christianity-info-close{position:absolute;top:0;right:.15rem;z-index:2}.christianity-rule-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.85rem;max-height:inherit;padding:1rem;overflow-y:auto;border:1px solid rgba(36,48,68,.14);border-radius:.9rem;background:linear-gradient(180deg,#fffffff7,#f8fafcf7),radial-gradient(circle at 8% 0%,rgba(37,99,235,.1),transparent 38%);box-shadow:0 1.2rem 2.6rem #102a433d,inset 0 0 0 .25rem #ffffff85}.christianity-rule-note-icon{display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:999px;background:color-mix(in srgb,var(--christianity-theme-focus) 12%,#ffffff);color:var(--christianity-theme-focus);font-size:1rem;font-weight:900;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent)}.christianity-rule-note small,.christianity-rule-note strong,.christianity-rule-note p,.christianity-rule-note h2{margin:0}.christianity-rule-note small{color:#1f29339e;font-size:.78rem;font-weight:800;text-transform:uppercase}.christianity-rule-note h2{margin-top:.18rem;font-size:clamp(1.5rem,7vw,2.2rem);line-height:1.05}.christianity-rule-note strong{display:inline-flex;width:fit-content;margin-top:.55rem;padding:.22rem .55rem;border-radius:999px;background:#edf2f7;font-size:.92rem}.christianity-rule-note p{margin-top:.75rem;color:#1f2933c7;line-height:1.45}.christianity-rule-note ul{display:grid;gap:.45rem;margin:.8rem 0 0;padding-left:1.05rem;color:#1f2933c7;line-height:1.35}.christianity-floating-card>small,.christianity-floating-card>span{color:#1f2933a3}.christianity-floating-card>strong{font-size:clamp(1.55rem,8vw,2.35rem);line-height:1.05}.christianity-floating-card>p{margin:0;align-self:end;font-size:.95rem;line-height:1.35}.christianity-preview-rule-note{position:relative;z-index:4;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:start;padding:.75rem .85rem;border:1px solid rgba(36,48,68,.14);border-radius:.75rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 8% 0%,rgba(37,99,235,.08),transparent 44%);box-shadow:0 .75rem 1.6rem #102a431f}.christianity-preview-rule-note small,.christianity-preview-rule-note strong,.christianity-preview-rule-note p{margin:0}.christianity-preview-rule-note small{color:#1f293394;font-size:.68rem;font-weight:800;text-transform:uppercase}.christianity-preview-rule-note strong{display:block;margin-top:.08rem;font-size:.92rem;line-height:1.1}.christianity-preview-rule-note p{margin-top:.22rem;color:#1f2933bd;font-size:.82rem;line-height:1.32}@media (min-width: 52rem){.christianity-floating-card-shell{width:min(22rem,calc(67dvh - 5.85rem),calc(100vw - 3rem))}.christianity-floating-card{min-height:0;padding:0}}@media (max-width: 51.99rem){.christianity-floating-card-shell{top:48%;gap:.45rem;max-height:calc(100dvh - 1.5rem);padding-top:2.15rem}.christianity-floating-card-close{min-height:1.9rem;padding:0 .58rem;font-size:.72rem}.christianity-preview-rule-note{max-height:min(8.25rem,24dvh);padding:.62rem .68rem;overflow-y:auto;scrollbar-color:rgba(36,48,68,.28) transparent;scrollbar-gutter:stable}.christianity-preview-rule-note .christianity-rule-note-icon{width:1.8rem;height:1.8rem;font-size:.9rem}.christianity-preview-rule-note strong{font-size:.86rem}.christianity-preview-rule-note p{font-size:.78rem;line-height:1.28}}.christianity-history-backdrop{z-index:40}.christianity-history-drawer{position:fixed;right:auto;bottom:max(.5rem,env(safe-area-inset-bottom));left:50%;z-index:41;display:grid;grid-template-rows:auto minmax(0,1fr);gap:.75rem;width:min(calc(100vw - 1rem),44rem);min-height:min(18rem,calc(100dvh - 1rem));max-height:min(32rem,calc(100dvh - 2rem));padding:.8rem;border:1px solid rgba(36,48,68,.16);border-radius:.75rem;background:#fffffffa;box-shadow:0 1.5rem 4rem #102a4347;transform:translate(-50%)}.christianity-history-drawer header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.christianity-history-drawer h2,.christianity-history-drawer p{margin:0}.christianity-history-drawer header span{display:grid;place-items:center;min-width:1.85rem;height:1.85rem;border-radius:999px;background:#edf2f7;font-weight:800}.christianity-dialog-actions{display:flex;align-items:center;gap:.45rem}.christianity-dialog-close{min-height:1.85rem;padding:0 .62rem;border:1px solid rgba(36,48,68,.14);border-radius:999px;background:#fff;color:#1f2933c7;font:inherit;font-size:.76rem;font-weight:800;box-shadow:0 .35rem .8rem #102a4314}.christianity-history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.4rem,1fr));gap:.55rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .25rem}.christianity-history-grid::-webkit-scrollbar,.christianity-offering-list::-webkit-scrollbar{width:.65rem}.christianity-history-grid::-webkit-scrollbar-track,.christianity-offering-list::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-history-grid::-webkit-scrollbar-thumb,.christianity-offering-list::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offerings-drawer{grid-template-rows:auto auto minmax(0,1fr);width:min(calc(100vw - 1rem),48rem);min-height:min(20rem,calc(100dvh - 1rem));max-height:min(34rem,calc(100dvh - 2rem))}.christianity-offerings-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:start;padding:.72rem .8rem;border:1px solid rgba(36,48,68,.12);border-radius:.7rem;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 8% 0%,rgba(214,162,29,.12),transparent 42%)}.christianity-offerings-note p{margin:0;color:#1f2933c2;font-size:.86rem;line-height:1.35}.christianity-offering-list{display:grid;gap:.6rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem}.christianity-offering-row{display:grid;grid-template-columns:minmax(5.4rem,6.5rem) minmax(0,1fr);gap:.65rem;align-items:center;padding:.45rem;border:1px solid rgba(36,48,68,.12);border-radius:.65rem;background:#fff}.christianity-offering-row.is-exhausted{opacity:.68}.christianity-gallery-drawer{grid-template-rows:auto auto auto minmax(0,1fr);width:min(calc(100vw - 1rem),50rem);min-height:min(22rem,calc(100dvh - 1rem));max-height:min(36rem,calc(100dvh - 2rem))}.christianity-gallery-drawer header>div:first-child{display:grid;gap:.15rem;min-width:0}.christianity-gallery-drawer header p{color:#1f293394;font-size:.82rem}.christianity-gallery-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(8.5rem,13rem);gap:.65rem}.christianity-gallery-controls label{display:grid;gap:.25rem;min-width:0;color:#1f29339e;font-size:.74rem;font-weight:800}.christianity-gallery-controls input,.christianity-gallery-controls select{width:100%;min-width:0;min-height:2.35rem;padding:0 .75rem;border:1px solid rgba(36,48,68,.16);border-radius:.65rem;background:#fff;color:var(--christianity-theme-ink);font:inherit;font-size:.9rem}.christianity-gallery-edition-strip{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.1rem}.christianity-gallery-edition-strip button{display:inline-flex;align-items:center;gap:.45rem;min-height:2.35rem;padding:0 .75rem;border:1px solid rgba(214,162,29,.38);border-radius:999px;background:var(--christianity-theme-parchment);color:var(--christianity-theme-ink);font:inherit;font-size:.82rem;font-weight:800}.christianity-gallery-edition-strip img{width:1.2rem;height:1.2rem;object-fit:contain}.christianity-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(5.8rem,6.8rem));justify-content:center;align-content:start;gap:.65rem;min-height:0;overflow-y:scroll;scrollbar-color:rgba(36,48,68,.32) rgba(226,232,240,.72);scrollbar-gutter:stable;padding:.1rem .1rem .35rem}.christianity-gallery-grid::-webkit-scrollbar{width:.65rem}.christianity-gallery-grid::-webkit-scrollbar-track{border-radius:999px;background:#e2e8f0b8}.christianity-gallery-grid::-webkit-scrollbar-thumb{border:.14rem solid rgba(226,232,240,.72);border-radius:999px;background:#24304452}.christianity-offering-card{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:.26rem;width:100%;min-height:7.7rem;padding:.58rem;overflow:hidden;text-align:left;background:linear-gradient(180deg,#fffffff5,#f8fafcf5),radial-gradient(circle at 78% 14%,rgba(250,204,21,.78) 0 .42rem,transparent .44rem);box-shadow:0 .45rem 1rem #102a431a}.christianity-offering-card small{min-width:0;overflow:hidden;color:#1f293394;font-size:.62rem;font-weight:800;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.christianity-offering-card strong{display:-webkit-box;align-self:start;min-width:0;margin-top:.1rem;overflow:hidden;overflow-wrap:anywhere;font-size:.88rem;line-height:1.05;-webkit-box-orient:vertical;-webkit-line-clamp:3}.christianity-offering-card span{position:absolute;right:.42rem;bottom:.42rem;display:grid;place-items:center;min-width:1.55rem;height:1.55rem;padding:0 .28rem;border-radius:999px;background:#edf2f7;font-size:.82rem;font-weight:900}.christianity-offering-card em{align-self:end;max-width:calc(100% - 1.9rem);overflow:hidden;color:#1f29339e;font-size:.64rem;font-style:normal;font-weight:800;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.christianity-offering-card p,.christianity-offering-row p{margin:0}.christianity-offering-card p{align-self:end;color:#1f2933a3;font-size:.72rem;line-height:1.2}.christianity-offering-row>div{display:grid;gap:.35rem;align-content:center;min-width:0}.christianity-offering-row>div p{color:#1f2933b8;font-size:.85rem;line-height:1.3}.christianity-offering-row>div button{justify-self:start;min-height:2.2rem;padding:0 .7rem;border:1px solid rgba(16,42,67,.16);border-radius:.5rem;background:#102a43;color:#fff;font:inherit;font-weight:800}.christianity-offering-row>div button:disabled{background:#e2e8f0;color:#1f293394}.christianity-history-grid .christianity-render-card-button{justify-self:center;width:min(100%,6.4rem)}.christianity-gallery-grid .christianity-render-card-button{justify-self:center;width:min(100%,7rem)}.christianity-offering-card.christianity-render-card-button{width:min(100%,5.8rem);min-height:0;padding:0;border:0;background:transparent;box-shadow:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible{outline:.1875rem solid color-mix(in srgb,var(--christianity-theme-focus) 24%,transparent);outline-offset:.125rem}:host-context(.dark),:host-context(.ion-palette-dark),:host-context(html.ion-palette-dark),:host-context(body.dark),:host-context([data-theme=\"dark\"]){--christianity-theme-ink: var(--ion-text-color, #e5edf8);--christianity-theme-surface: #111827;--christianity-theme-parchment: #13223a;--christianity-theme-olive: #93c5fd;--christianity-theme-gold: #60a5fa;--christianity-theme-gold-soft: rgba(96, 165, 250, .18);--christianity-theme-gold-ring: rgba(147, 197, 253, .42);--christianity-theme-glow: rgba(96, 165, 250, .24);--christianity-theme-focus: #93c5fd;--christianity-theme-shadow: rgba(0, 0, 0, .34);--christianity-theme-shadow-strong: rgba(0, 0, 0, .48);--christianity-card-back: linear-gradient(135deg, rgba(147, 197, 253, .2), rgba(15, 23, 42, .08)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);--christianity-card-back-soft: linear-gradient(135deg, rgba(147, 197, 253, .15), rgba(15, 23, 42, .06)), repeating-linear-gradient(45deg, #1e3a5f 0 .33rem, #0f172a .33rem .66rem);color-scheme:dark}:host-context(.dark) .christianity-shell,:host-context(.ion-palette-dark) .christianity-shell,:host-context(html.ion-palette-dark) .christianity-shell,:host-context(body.dark) .christianity-shell,:host-context([data-theme=\"dark\"]) .christianity-shell{border-color:#94a3b82e;background:#07111f}:host-context(.dark) .christianity-gallery-open,:host-context(.ion-palette-dark) .christianity-gallery-open,:host-context(html.ion-palette-dark) .christianity-gallery-open,:host-context(body.dark) .christianity-gallery-open,:host-context([data-theme=\"dark\"]) .christianity-gallery-open,:host-context(.dark) .christianity-secondary-action,:host-context(.ion-palette-dark) .christianity-secondary-action,:host-context(html.ion-palette-dark) .christianity-secondary-action,:host-context(body.dark) .christianity-secondary-action,:host-context([data-theme=\"dark\"]) .christianity-secondary-action,:host-context(.dark) .christianity-gallery-edition-strip button,:host-context(.ion-palette-dark) .christianity-gallery-edition-strip button,:host-context(html.ion-palette-dark) .christianity-gallery-edition-strip button,:host-context(body.dark) .christianity-gallery-edition-strip button,:host-context([data-theme=\"dark\"]) .christianity-gallery-edition-strip button{border-color:#93c5fd5c;background:linear-gradient(180deg,#1e3a5fd1,#0f172ae0),radial-gradient(circle at 20% 0%,rgba(96,165,250,.16),transparent 42%);color:var(--christianity-theme-ink);box-shadow:0 .55rem 1.2rem #0000003d}:host-context(.dark) .christianity-splash,:host-context(.ion-palette-dark) .christianity-splash,:host-context(html.ion-palette-dark) .christianity-splash,:host-context(body.dark) .christianity-splash,:host-context([data-theme=\"dark\"]) .christianity-splash,:host-context(.dark) .christianity-start,:host-context(.ion-palette-dark) .christianity-start,:host-context(html.ion-palette-dark) .christianity-start,:host-context(body.dark) .christianity-start,:host-context([data-theme=\"dark\"]) .christianity-start{border-color:#93c5fd38;background:radial-gradient(circle at 50% 18%,rgba(96,165,250,.16),transparent 22rem),linear-gradient(180deg,#0f172ae0,#07111ff7),var(--christianity-card-back-soft);box-shadow:0 1.2rem 3.2rem #00000047}:host-context(.dark) .christianity-start__cards article,:host-context(.ion-palette-dark) .christianity-start__cards article,:host-context(html.ion-palette-dark) .christianity-start__cards article,:host-context(body.dark) .christianity-start__cards article,:host-context([data-theme=\"dark\"]) .christianity-start__cards article,:host-context(.dark) .christianity-start__modes article,:host-context(.ion-palette-dark) .christianity-start__modes article,:host-context(html.ion-palette-dark) .christianity-start__modes article,:host-context(body.dark) .christianity-start__modes article,:host-context([data-theme=\"dark\"]) .christianity-start__modes article,:host-context(.dark) .christianity-start__status span,:host-context(.ion-palette-dark) .christianity-start__status span,:host-context(html.ion-palette-dark) .christianity-start__status span,:host-context(body.dark) .christianity-start__status span,:host-context([data-theme=\"dark\"]) .christianity-start__status span,:host-context(.dark) .christianity-start__modes article>span,:host-context(.ion-palette-dark) .christianity-start__modes article>span,:host-context(html.ion-palette-dark) .christianity-start__modes article>span,:host-context(body.dark) .christianity-start__modes article>span,:host-context([data-theme=\"dark\"]) .christianity-start__modes article>span{border-color:#94a3b833;background:#0f172aad;box-shadow:0 .75rem 1.7rem #00000038}:host-context(.dark) .christianity-splash p,:host-context(.ion-palette-dark) .christianity-splash p,:host-context(html.ion-palette-dark) .christianity-splash p,:host-context(body.dark) .christianity-splash p,:host-context([data-theme=\"dark\"]) .christianity-splash p,:host-context(.dark) .christianity-start__copy p,:host-context(.ion-palette-dark) .christianity-start__copy p,:host-context(html.ion-palette-dark) .christianity-start__copy p,:host-context(body.dark) .christianity-start__copy p,:host-context([data-theme=\"dark\"]) .christianity-start__copy p,:host-context(.dark) .christianity-start__cards p,:host-context(.ion-palette-dark) .christianity-start__cards p,:host-context(html.ion-palette-dark) .christianity-start__cards p,:host-context(body.dark) .christianity-start__cards p,:host-context([data-theme=\"dark\"]) .christianity-start__cards p,:host-context(.dark) .christianity-start__modes p,:host-context(.ion-palette-dark) .christianity-start__modes p,:host-context(html.ion-palette-dark) .christianity-start__modes p,:host-context(body.dark) .christianity-start__modes p,:host-context([data-theme=\"dark\"]) .christianity-start__modes p,:host-context(.dark) .christianity-header p,:host-context(.ion-palette-dark) .christianity-header p,:host-context(html.ion-palette-dark) .christianity-header p,:host-context(body.dark) .christianity-header p,:host-context([data-theme=\"dark\"]) .christianity-header p,:host-context(.dark) .christianity-match-player small,:host-context(.ion-palette-dark) .christianity-match-player small,:host-context(html.ion-palette-dark) .christianity-match-player small,:host-context(body.dark) .christianity-match-player small,:host-context([data-theme=\"dark\"]) .christianity-match-player small,:host-context(.dark) .christianity-scoreboard span,:host-context(.ion-palette-dark) .christianity-scoreboard span,:host-context(html.ion-palette-dark) .christianity-scoreboard span,:host-context(body.dark) .christianity-scoreboard span,:host-context([data-theme=\"dark\"]) .christianity-scoreboard span{color:#e2e8f0bd}:host-context(.dark) .christianity-turn,:host-context(.ion-palette-dark) .christianity-turn,:host-context(html.ion-palette-dark) .christianity-turn,:host-context(body.dark) .christianity-turn,:host-context([data-theme=\"dark\"]) .christianity-turn,:host-context(.dark) .christianity-leader,:host-context(.ion-palette-dark) .christianity-leader,:host-context(html.ion-palette-dark) .christianity-leader,:host-context(body.dark) .christianity-leader,:host-context([data-theme=\"dark\"]) .christianity-leader,:host-context(.dark) .christianity-offerings,:host-context(.ion-palette-dark) .christianity-offerings,:host-context(html.ion-palette-dark) .christianity-offerings,:host-context(body.dark) .christianity-offerings,:host-context([data-theme=\"dark\"]) .christianity-offerings,:host-context(.dark) .christianity-hidden-hand,:host-context(.ion-palette-dark) .christianity-hidden-hand,:host-context(html.ion-palette-dark) .christianity-hidden-hand,:host-context(body.dark) .christianity-hidden-hand,:host-context([data-theme=\"dark\"]) .christianity-hidden-hand,:host-context(.dark) .christianity-pile,:host-context(.ion-palette-dark) .christianity-pile,:host-context(html.ion-palette-dark) .christianity-pile,:host-context(body.dark) .christianity-pile,:host-context([data-theme=\"dark\"]) .christianity-pile,:host-context(.dark) .christianity-deck,:host-context(.ion-palette-dark) .christianity-deck,:host-context(html.ion-palette-dark) .christianity-deck,:host-context(body.dark) .christianity-deck,:host-context([data-theme=\"dark\"]) .christianity-deck,:host-context(.dark) .christianity-place,:host-context(.ion-palette-dark) .christianity-place,:host-context(html.ion-palette-dark) .christianity-place,:host-context(body.dark) .christianity-place,:host-context([data-theme=\"dark\"]) .christianity-place,:host-context(.dark) .christianity-match-strip,:host-context(.ion-palette-dark) .christianity-match-strip,:host-context(html.ion-palette-dark) .christianity-match-strip,:host-context(body.dark) .christianity-match-strip,:host-context([data-theme=\"dark\"]) .christianity-match-strip,:host-context(.dark) .christianity-actions,:host-context(.ion-palette-dark) .christianity-actions,:host-context(html.ion-palette-dark) .christianity-actions,:host-context(body.dark) .christianity-actions,:host-context([data-theme=\"dark\"]) .christianity-actions,:host-context(.dark) .christianity-history,:host-context(.ion-palette-dark) .christianity-history,:host-context(html.ion-palette-dark) .christianity-history,:host-context(body.dark) .christianity-history,:host-context([data-theme=\"dark\"]) .christianity-history{border-color:#94a3b82e;background:#0f172ad1}:host-context(.dark) .christianity-turn.is-own-turn,:host-context(.ion-palette-dark) .christianity-turn.is-own-turn,:host-context(html.ion-palette-dark) .christianity-turn.is-own-turn,:host-context(body.dark) .christianity-turn.is-own-turn,:host-context([data-theme=\"dark\"]) .christianity-turn.is-own-turn{border-color:#2dd4bf5c;background:#14534c5c}:host-context(.dark) .christianity-table,:host-context(.ion-palette-dark) .christianity-table,:host-context(html.ion-palette-dark) .christianity-table,:host-context(body.dark) .christianity-table,:host-context([data-theme=\"dark\"]) .christianity-table{background:linear-gradient(180deg,#10233d,#0b1728)}:host-context(.dark) .christianity-player-side,:host-context(.ion-palette-dark) .christianity-player-side,:host-context(html.ion-palette-dark) .christianity-player-side,:host-context(body.dark) .christianity-player-side,:host-context([data-theme=\"dark\"]) .christianity-player-side{background:#0f172a57}:host-context(.dark) .christianity-battle-zone,:host-context(.ion-palette-dark) .christianity-battle-zone,:host-context(html.ion-palette-dark) .christianity-battle-zone,:host-context(body.dark) .christianity-battle-zone,:host-context([data-theme=\"dark\"]) .christianity-battle-zone,:host-context(.dark) .christianity-shared-zone,:host-context(.ion-palette-dark) .christianity-shared-zone,:host-context(html.ion-palette-dark) .christianity-shared-zone,:host-context(body.dark) .christianity-shared-zone,:host-context([data-theme=\"dark\"]) .christianity-shared-zone{background:#0f172a94}:host-context(.dark) .christianity-battle-zone.is-placing-card,:host-context(.ion-palette-dark) .christianity-battle-zone.is-placing-card,:host-context(html.ion-palette-dark) .christianity-battle-zone.is-placing-card,:host-context(body.dark) .christianity-battle-zone.is-placing-card,:host-context([data-theme=\"dark\"]) .christianity-battle-zone.is-placing-card{background:linear-gradient(180deg,#1e3a5fd1,#0f172ab8),#0f172a94}:host-context(.dark) .christianity-card,:host-context(.ion-palette-dark) .christianity-card,:host-context(html.ion-palette-dark) .christianity-card,:host-context(body.dark) .christianity-card,:host-context([data-theme=\"dark\"]) .christianity-card,:host-context(.dark) .christianity-slot,:host-context(.ion-palette-dark) .christianity-slot,:host-context(html.ion-palette-dark) .christianity-slot,:host-context(body.dark) .christianity-slot,:host-context([data-theme=\"dark\"]) .christianity-slot{border-color:#94a3b83d;background:#0f172a8a}:host-context(.dark) .christianity-slot--play-target,:host-context(.ion-palette-dark) .christianity-slot--play-target,:host-context(html.ion-palette-dark) .christianity-slot--play-target,:host-context(body.dark) .christianity-slot--play-target,:host-context([data-theme=\"dark\"]) .christianity-slot--play-target{color:var(--christianity-theme-ink);background:linear-gradient(180deg,#2563eb3d,#0f172ac7),#0f172abd}:host-context(.dark) .christianity-slot--play-target span,:host-context(.ion-palette-dark) .christianity-slot--play-target span,:host-context(html.ion-palette-dark) .christianity-slot--play-target span,:host-context(body.dark) .christianity-slot--play-target span,:host-context([data-theme=\"dark\"]) .christianity-slot--play-target span,:host-context(.dark) .christianity-card strong,:host-context(.ion-palette-dark) .christianity-card strong,:host-context(html.ion-palette-dark) .christianity-card strong,:host-context(body.dark) .christianity-card strong,:host-context([data-theme=\"dark\"]) .christianity-card strong{background:#1e293beb}:host-context(.dark) .christianity-offering-pile,:host-context(.ion-palette-dark) .christianity-offering-pile,:host-context(html.ion-palette-dark) .christianity-offering-pile,:host-context(body.dark) .christianity-offering-pile,:host-context([data-theme=\"dark\"]) .christianity-offering-pile,:host-context(.dark) .christianity-zone-card,:host-context(.ion-palette-dark) .christianity-zone-card,:host-context(html.ion-palette-dark) .christianity-zone-card,:host-context(body.dark) .christianity-zone-card,:host-context([data-theme=\"dark\"]) .christianity-zone-card,:host-context(.dark) .christianity-zone-pile,:host-context(.ion-palette-dark) .christianity-zone-pile,:host-context(html.ion-palette-dark) .christianity-zone-pile,:host-context(body.dark) .christianity-zone-pile,:host-context([data-theme=\"dark\"]) .christianity-zone-pile{border-color:#94a3b83d;background:linear-gradient(180deg,#111827f5,#0f172af0),radial-gradient(circle at 14% 0%,rgba(96,165,250,.12),transparent 42%);color:var(--christianity-theme-ink);box-shadow:0 .55rem 1.25rem #00000047,inset 0 0 0 .12rem #ffffff08}:host-context(.dark) .christianity-offering-pile>span,:host-context(.ion-palette-dark) .christianity-offering-pile>span,:host-context(html.ion-palette-dark) .christianity-offering-pile>span,:host-context(body.dark) .christianity-offering-pile>span,:host-context([data-theme=\"dark\"]) .christianity-offering-pile>span,:host-context(.dark) .christianity-zone-card>span,:host-context(.ion-palette-dark) .christianity-zone-card>span,:host-context(html.ion-palette-dark) .christianity-zone-card>span,:host-context(body.dark) .christianity-zone-card>span,:host-context([data-theme=\"dark\"]) .christianity-zone-card>span,:host-context(.dark) .christianity-zone-pile>span,:host-context(.ion-palette-dark) .christianity-zone-pile>span,:host-context(html.ion-palette-dark) .christianity-zone-pile>span,:host-context(body.dark) .christianity-zone-pile>span,:host-context([data-theme=\"dark\"]) .christianity-zone-pile>span,:host-context(.dark) .christianity-player-badge,:host-context(.ion-palette-dark) .christianity-player-badge,:host-context(html.ion-palette-dark) .christianity-player-badge,:host-context(body.dark) .christianity-player-badge,:host-context([data-theme=\"dark\"]) .christianity-player-badge{color:#e2e8f0c7}:host-context(.dark) .christianity-offering-pile>strong,:host-context(.ion-palette-dark) .christianity-offering-pile>strong,:host-context(html.ion-palette-dark) .christianity-offering-pile>strong,:host-context(body.dark) .christianity-offering-pile>strong,:host-context([data-theme=\"dark\"]) .christianity-offering-pile>strong,:host-context(.dark) .christianity-zone-card>strong,:host-context(.ion-palette-dark) .christianity-zone-card>strong,:host-context(html.ion-palette-dark) .christianity-zone-card>strong,:host-context(body.dark) .christianity-zone-card>strong,:host-context([data-theme=\"dark\"]) .christianity-zone-card>strong,:host-context(.dark) .christianity-zone-pile>strong,:host-context(.ion-palette-dark) .christianity-zone-pile>strong,:host-context(html.ion-palette-dark) .christianity-zone-pile>strong,:host-context(body.dark) .christianity-zone-pile>strong,:host-context([data-theme=\"dark\"]) .christianity-zone-pile>strong,:host-context(.dark) .christianity-hand-meter,:host-context(.ion-palette-dark) .christianity-hand-meter,:host-context(html.ion-palette-dark) .christianity-hand-meter,:host-context(body.dark) .christianity-hand-meter,:host-context([data-theme=\"dark\"]) .christianity-hand-meter{border-color:#94a3b833;background:#0f172ae0;color:var(--christianity-theme-ink);box-shadow:0 .35rem .8rem #00000047}:host-context(.dark) .christianity-hand-meter span,:host-context(.ion-palette-dark) .christianity-hand-meter span,:host-context(html.ion-palette-dark) .christianity-hand-meter span,:host-context(body.dark) .christianity-hand-meter span,:host-context([data-theme=\"dark\"]) .christianity-hand-meter span{color:#e2e8f0b3}:host-context(.dark) .christianity-offering-pile i,:host-context(.ion-palette-dark) .christianity-offering-pile i,:host-context(html.ion-palette-dark) .christianity-offering-pile i,:host-context(body.dark) .christianity-offering-pile i,:host-context([data-theme=\"dark\"]) .christianity-offering-pile i{border-color:#94a3b833;background:linear-gradient(180deg,#e2e8f0f0,#cbd5e1e6),radial-gradient(circle at 78% 18%,#facc15 0 .38rem,transparent .4rem)}:host-context(.dark) .christianity-zone-pile i,:host-context(.ion-palette-dark) .christianity-zone-pile i,:host-context(html.ion-palette-dark) .christianity-zone-pile i,:host-context(body.dark) .christianity-zone-pile i,:host-context([data-theme=\"dark\"]) .christianity-zone-pile i{border-color:#94a3b838;background:#e2e8f0eb;box-shadow:0 .35rem .85rem #00000042}:host-context(.dark) .christianity-zone-pile i:nth-child(3),:host-context(.ion-palette-dark) .christianity-zone-pile i:nth-child(3),:host-context(html.ion-palette-dark) .christianity-zone-pile i:nth-child(3),:host-context(body.dark) .christianity-zone-pile i:nth-child(3),:host-context([data-theme=\"dark\"]) .christianity-zone-pile i:nth-child(3){background:var(--christianity-card-back)}:host-context(.dark) .christianity-end-turn:disabled,:host-context(.ion-palette-dark) .christianity-end-turn:disabled,:host-context(html.ion-palette-dark) .christianity-end-turn:disabled,:host-context(body.dark) .christianity-end-turn:disabled,:host-context([data-theme=\"dark\"]) .christianity-end-turn:disabled{border-color:#94a3b829;background:#0f172a75;color:#e2e8f06b;opacity:1}:host-context(.dark) .christianity-history-drawer,:host-context(.ion-palette-dark) .christianity-history-drawer,:host-context(html.ion-palette-dark) .christianity-history-drawer,:host-context(body.dark) .christianity-history-drawer,:host-context([data-theme=\"dark\"]) .christianity-history-drawer,:host-context(.dark) .christianity-rule-note,:host-context(.ion-palette-dark) .christianity-rule-note,:host-context(html.ion-palette-dark) .christianity-rule-note,:host-context(body.dark) .christianity-rule-note,:host-context([data-theme=\"dark\"]) .christianity-rule-note,:host-context(.dark) .christianity-preview-rule-note,:host-context(.ion-palette-dark) .christianity-preview-rule-note,:host-context(html.ion-palette-dark) .christianity-preview-rule-note,:host-context(body.dark) .christianity-preview-rule-note,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note{border-color:#94a3b82e;background:linear-gradient(180deg,#0f172af5,#111827f5),radial-gradient(circle at 8% 0%,rgba(96,165,250,.12),transparent 40%);box-shadow:0 1.5rem 4rem #0000006b}:host-context(.dark) .christianity-dialog-close,:host-context(.ion-palette-dark) .christianity-dialog-close,:host-context(html.ion-palette-dark) .christianity-dialog-close,:host-context(body.dark) .christianity-dialog-close,:host-context([data-theme=\"dark\"]) .christianity-dialog-close,:host-context(.dark) .christianity-floating-card-close,:host-context(.ion-palette-dark) .christianity-floating-card-close,:host-context(html.ion-palette-dark) .christianity-floating-card-close,:host-context(body.dark) .christianity-floating-card-close,:host-context([data-theme=\"dark\"]) .christianity-floating-card-close{border-color:#94a3b838;background:#0f172af0;color:var(--christianity-theme-ink);box-shadow:0 .35rem .8rem #0000004d}:host-context(.dark) .christianity-history-drawer header span,:host-context(.ion-palette-dark) .christianity-history-drawer header span,:host-context(html.ion-palette-dark) .christianity-history-drawer header span,:host-context(body.dark) .christianity-history-drawer header span,:host-context([data-theme=\"dark\"]) .christianity-history-drawer header span,:host-context(.dark) .christianity-rule-note strong,:host-context(.ion-palette-dark) .christianity-rule-note strong,:host-context(html.ion-palette-dark) .christianity-rule-note strong,:host-context(body.dark) .christianity-rule-note strong,:host-context([data-theme=\"dark\"]) .christianity-rule-note strong{background:#1e293beb}:host-context(.dark) .christianity-rule-note small,:host-context(.ion-palette-dark) .christianity-rule-note small,:host-context(html.ion-palette-dark) .christianity-rule-note small,:host-context(body.dark) .christianity-rule-note small,:host-context([data-theme=\"dark\"]) .christianity-rule-note small,:host-context(.dark) .christianity-preview-rule-note small,:host-context(.ion-palette-dark) .christianity-preview-rule-note small,:host-context(html.ion-palette-dark) .christianity-preview-rule-note small,:host-context(body.dark) .christianity-preview-rule-note small,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note small,:host-context(.dark) .christianity-gallery-drawer header p,:host-context(.ion-palette-dark) .christianity-gallery-drawer header p,:host-context(html.ion-palette-dark) .christianity-gallery-drawer header p,:host-context(body.dark) .christianity-gallery-drawer header p,:host-context([data-theme=\"dark\"]) .christianity-gallery-drawer header p,:host-context(.dark) .christianity-gallery-controls label,:host-context(.ion-palette-dark) .christianity-gallery-controls label,:host-context(html.ion-palette-dark) .christianity-gallery-controls label,:host-context(body.dark) .christianity-gallery-controls label,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls label{color:#e2e8f0ad}:host-context(.dark) .christianity-rule-note p,:host-context(.ion-palette-dark) .christianity-rule-note p,:host-context(html.ion-palette-dark) .christianity-rule-note p,:host-context(body.dark) .christianity-rule-note p,:host-context([data-theme=\"dark\"]) .christianity-rule-note p,:host-context(.dark) .christianity-rule-note ul,:host-context(.ion-palette-dark) .christianity-rule-note ul,:host-context(html.ion-palette-dark) .christianity-rule-note ul,:host-context(body.dark) .christianity-rule-note ul,:host-context([data-theme=\"dark\"]) .christianity-rule-note ul,:host-context(.dark) .christianity-preview-rule-note p,:host-context(.ion-palette-dark) .christianity-preview-rule-note p,:host-context(html.ion-palette-dark) .christianity-preview-rule-note p,:host-context(body.dark) .christianity-preview-rule-note p,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note p,:host-context(.dark) .christianity-offerings-note p,:host-context(.ion-palette-dark) .christianity-offerings-note p,:host-context(html.ion-palette-dark) .christianity-offerings-note p,:host-context(body.dark) .christianity-offerings-note p,:host-context([data-theme=\"dark\"]) .christianity-offerings-note p{color:#e2e8f0cc}:host-context(.dark) .christianity-gallery-controls input,:host-context(.ion-palette-dark) .christianity-gallery-controls input,:host-context(html.ion-palette-dark) .christianity-gallery-controls input,:host-context(body.dark) .christianity-gallery-controls input,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls input,:host-context(.dark) .christianity-gallery-controls select,:host-context(.ion-palette-dark) .christianity-gallery-controls select,:host-context(html.ion-palette-dark) .christianity-gallery-controls select,:host-context(body.dark) .christianity-gallery-controls select,:host-context([data-theme=\"dark\"]) .christianity-gallery-controls select,:host-context(.dark) .christianity-offering-row,:host-context(.ion-palette-dark) .christianity-offering-row,:host-context(html.ion-palette-dark) .christianity-offering-row,:host-context(body.dark) .christianity-offering-row,:host-context([data-theme=\"dark\"]) .christianity-offering-row,:host-context(.dark) .christianity-offerings-note,:host-context(.ion-palette-dark) .christianity-offerings-note,:host-context(html.ion-palette-dark) .christianity-offerings-note,:host-context(body.dark) .christianity-offerings-note,:host-context([data-theme=\"dark\"]) .christianity-offerings-note{border-color:#94a3b833;background:#0f172ac7;color:var(--christianity-theme-ink)}:host-context(.dark) .christianity-history-grid,:host-context(.ion-palette-dark) .christianity-history-grid,:host-context(html.ion-palette-dark) .christianity-history-grid,:host-context(body.dark) .christianity-history-grid,:host-context([data-theme=\"dark\"]) .christianity-history-grid,:host-context(.dark) .christianity-offering-list,:host-context(.ion-palette-dark) .christianity-offering-list,:host-context(html.ion-palette-dark) .christianity-offering-list,:host-context(body.dark) .christianity-offering-list,:host-context([data-theme=\"dark\"]) .christianity-offering-list,:host-context(.dark) .christianity-gallery-grid,:host-context(.ion-palette-dark) .christianity-gallery-grid,:host-context(html.ion-palette-dark) .christianity-gallery-grid,:host-context(body.dark) .christianity-gallery-grid,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid,:host-context(.dark) .christianity-preview-rule-note,:host-context(.ion-palette-dark) .christianity-preview-rule-note,:host-context(html.ion-palette-dark) .christianity-preview-rule-note,:host-context(body.dark) .christianity-preview-rule-note,:host-context([data-theme=\"dark\"]) .christianity-preview-rule-note{scrollbar-color:rgba(148,163,184,.54) rgba(15,23,42,.86)}:host-context(.dark) .christianity-rule-note-icon,:host-context(.ion-palette-dark) .christianity-rule-note-icon,:host-context(html.ion-palette-dark) .christianity-rule-note-icon,:host-context(body.dark) .christianity-rule-note-icon,:host-context([data-theme=\"dark\"]) .christianity-rule-note-icon{background:#60a5fa29;color:#bfdbfe;box-shadow:inset 0 0 0 1px #93c5fd38}:host-context(.dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context(body.dark) .christianity-history-grid::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-history-grid::-webkit-scrollbar-track,:host-context(.dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context(body.dark) .christianity-offering-list::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-offering-list::-webkit-scrollbar-track,:host-context(.dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(html.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context(body.dark) .christianity-gallery-grid::-webkit-scrollbar-track,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid::-webkit-scrollbar-track{background:#0f172adb}:host-context(.dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-history-grid::-webkit-scrollbar-thumb,:host-context(.dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-offering-list::-webkit-scrollbar-thumb,:host-context(.dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(html.ion-palette-dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context(body.dark) .christianity-gallery-grid::-webkit-scrollbar-thumb,:host-context([data-theme=\"dark\"]) .christianity-gallery-grid::-webkit-scrollbar-thumb{border-color:#0f172adb;background:#94a3b88a}@media (max-width: 720px){:host{overflow-x:hidden}.christianity-shell{padding:.55rem 0 .65rem;border-right:0;border-left:0;border-radius:0}.christianity-header,.christianity-match-strip,.christianity-actions{box-sizing:border-box;width:100%;padding-right:max(.5rem,env(safe-area-inset-right));padding-left:max(.5rem,env(safe-area-inset-left))}.christianity-header,.christianity-player__summary,.christianity-shared-zone,.christianity-actions{align-items:stretch;flex-direction:column}.christianity-match-strip{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.35rem;padding:.35rem}.christianity-match-player{gap:.35rem}.christianity-match-player small{display:none}.christianity-header-actions{align-items:flex-end;flex-direction:column}.christianity-start__cards,.christianity-start__hero{grid-template-columns:minmax(0,1fr)}.christianity-start__fan{min-height:10.5rem}.christianity-start__fan val-christianity-card{width:clamp(5.2rem,22vw,6.4rem)}.christianity-start__modes{grid-template-columns:repeat(2,minmax(0,1fr))}.christianity-splash,.christianity-start{min-height:min(30rem,calc(100dvh - 7rem));padding-right:max(.65rem,env(safe-area-inset-right));padding-left:max(.65rem,env(safe-area-inset-left));border-right:0;border-left:0;border-radius:0}.christianity-scoreboard{min-width:3.65rem;padding:0 .35rem}.christianity-scoreboard strong{font-size:1.05rem}.christianity-table{gap:.35rem;padding-right:.25rem;padding-left:.25rem}.christianity-player-side{padding:.3rem .25rem}.christianity-battle-zone{--christianity-battle-card-width: min(5.2rem, calc((100vw - 4.25rem)/4) );grid-template-columns:repeat(4,var(--christianity-battle-card-width));justify-content:center;min-height:8.75rem;overflow-x:clip}.christianity-hand-fan{min-height:11.45rem;padding-bottom:2rem;overflow:visible}.christianity-hand-shelf{min-height:12.65rem;margin-top:-1rem;padding-top:1.35rem;padding-bottom:.9rem}.christianity-hand-shelf--opponent{min-height:6.65rem;margin-top:0;margin-bottom:0;padding-top:.4rem;padding-bottom:.85rem}.christianity-player-rack{grid-template-columns:minmax(4.5rem,5.7rem) minmax(4.4rem,1fr) minmax(3.5rem,4.8rem)}.christianity-shared-zone{gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.christianity-zone-card,.christianity-zone-pile{min-height:6.15rem;padding:.58rem .46rem .5rem;gap:.24rem}.christianity-zone-pile i{top:2rem;right:.52rem;width:2.35rem;height:3.25rem}.christianity-offering-pile{height:6.85rem;min-height:0;max-height:6.85rem;padding:.88rem .46rem .55rem;gap:.24rem}.christianity-offering-pile i{top:2.25rem;left:.56rem;width:2.35rem;height:3.25rem}.christianity-card-preview-card{width:clamp(4.2rem,20vw,5.7rem);height:auto;min-height:0}.christianity-leader-card{width:clamp(4.55rem,20vw,5.7rem);min-height:0}.christianity-offering-row{grid-template-columns:minmax(5rem,5.8rem) minmax(0,1fr);gap:.5rem}.christianity-gallery-controls{grid-template-columns:minmax(0,1fr)}.christianity-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(5.35rem,6.1rem));justify-content:center}.christianity-offering-card{min-height:7.25rem;padding:.5rem}.christianity-hand-fan--opponent{min-height:5.75rem;padding-bottom:.7rem}.christianity-hand-fan--opponent .christianity-card-frame--back{width:clamp(3.35rem,15vw,4.25rem);margin-inline:-.72rem}}\n"] }]
73020
+ }], ctorParameters: () => [] });
73021
+
70084
73022
  addIcons({ refreshOutline, sparklesOutline, trophyOutline });
70085
73023
  const BUBBLE_COLORS = {
70086
73024
  rose: '#ff4f9f',
@@ -70137,6 +73075,7 @@ class BubbleBlitzGameComponent {
70137
73075
  this.animating = signal(false);
70138
73076
  this.leaderboard = signal(this.readLeaderboard());
70139
73077
  this.confirmAction = signal(undefined);
73078
+ this.confirmedAction = signal(undefined);
70140
73079
  this.config = computed(() => MODE_CONFIG[this.mode()]);
70141
73080
  this.feverReady = computed(() => this.fever() >= this.config().feverTarget);
70142
73081
  this.feverProgress = computed(() => Math.min(100, Math.round((this.fever() / this.config().feverTarget) * 100)));
@@ -70316,13 +73255,12 @@ class BubbleBlitzGameComponent {
70316
73255
  closeConfirmModal() {
70317
73256
  this.confirmAction.set(undefined);
70318
73257
  }
70319
- confirmPendingAction(token) {
70320
- if (token !== 'confirm') {
70321
- this.closeConfirmModal();
70322
- return;
70323
- }
70324
- const action = this.confirmAction();
73258
+ handleConfirmModalDismissed() {
70325
73259
  this.confirmAction.set(undefined);
73260
+ const action = this.confirmedAction();
73261
+ this.confirmedAction.set(undefined);
73262
+ if (!action)
73263
+ return;
70326
73264
  if (action === 'restart') {
70327
73265
  this.start();
70328
73266
  return;
@@ -70335,6 +73273,15 @@ class BubbleBlitzGameComponent {
70335
73273
  this.resetToGamesMenu();
70336
73274
  }
70337
73275
  }
73276
+ confirmPendingAction(token) {
73277
+ if (token !== 'confirm') {
73278
+ this.closeConfirmModal();
73279
+ return;
73280
+ }
73281
+ const action = this.confirmAction();
73282
+ this.confirmedAction.set(action);
73283
+ this.confirmAction.set(undefined);
73284
+ }
70338
73285
  startTimer() {
70339
73286
  this.stopTimer();
70340
73287
  this.timer = window.setInterval(() => {
@@ -70638,7 +73585,7 @@ class BubbleBlitzGameComponent {
70638
73585
  <ion-modal
70639
73586
  [isOpen]="!!confirmAction()"
70640
73587
  cssClass="val-modal-adaptive"
70641
- (didDismiss)="closeConfirmModal()"
73588
+ (didDismiss)="handleConfirmModalDismissed()"
70642
73589
  >
70643
73590
  <ng-template>
70644
73591
  <val-modal-layout
@@ -70788,7 +73735,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
70788
73735
  <ion-modal
70789
73736
  [isOpen]="!!confirmAction()"
70790
73737
  cssClass="val-modal-adaptive"
70791
- (didDismiss)="closeConfirmModal()"
73738
+ (didDismiss)="handleConfirmModalDismissed()"
70792
73739
  >
70793
73740
  <ng-template>
70794
73741
  <val-modal-layout
@@ -70852,6 +73799,7 @@ class MemoryGameComponent {
70852
73799
  this.lockBoard = signal(false);
70853
73800
  this.leaderboard = signal(this.readLeaderboard());
70854
73801
  this.confirmAction = signal(undefined);
73802
+ this.confirmedAction = signal(undefined);
70855
73803
  this.profileConfig = computed(() => PROFILE_CONFIG[this.profile()]);
70856
73804
  this.pairCount = computed(() => this.profileConfig().pairs);
70857
73805
  this.boardClass = computed(() => `memory-board ${this.profileConfig().boardClass}`);
@@ -70989,13 +73937,12 @@ class MemoryGameComponent {
70989
73937
  closeConfirmModal() {
70990
73938
  this.confirmAction.set(undefined);
70991
73939
  }
70992
- confirmPendingAction(token) {
70993
- if (token !== 'confirm') {
70994
- this.closeConfirmModal();
70995
- return;
70996
- }
70997
- const action = this.confirmAction();
73940
+ handleConfirmModalDismissed() {
70998
73941
  this.confirmAction.set(undefined);
73942
+ const action = this.confirmedAction();
73943
+ this.confirmedAction.set(undefined);
73944
+ if (!action)
73945
+ return;
70999
73946
  if (action === 'restart') {
71000
73947
  this.start();
71001
73948
  return;
@@ -71008,6 +73955,15 @@ class MemoryGameComponent {
71008
73955
  this.resetToGamesMenu();
71009
73956
  }
71010
73957
  }
73958
+ confirmPendingAction(token) {
73959
+ if (token !== 'confirm') {
73960
+ this.closeConfirmModal();
73961
+ return;
73962
+ }
73963
+ const action = this.confirmAction();
73964
+ this.confirmedAction.set(action);
73965
+ this.confirmAction.set(undefined);
73966
+ }
71011
73967
  flip(card) {
71012
73968
  if (this.lockBoard() || card.flipped || card.matched || this.won() || this.failed())
71013
73969
  return;
@@ -71322,7 +74278,7 @@ class MemoryGameComponent {
71322
74278
  <ion-modal
71323
74279
  [isOpen]="!!confirmAction()"
71324
74280
  cssClass="val-modal-adaptive"
71325
- (didDismiss)="closeConfirmModal()"
74281
+ (didDismiss)="handleConfirmModalDismissed()"
71326
74282
  >
71327
74283
  <ng-template>
71328
74284
  <val-modal-layout
@@ -71480,7 +74436,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
71480
74436
  <ion-modal
71481
74437
  [isOpen]="!!confirmAction()"
71482
74438
  cssClass="val-modal-adaptive"
71483
- (didDismiss)="closeConfirmModal()"
74439
+ (didDismiss)="handleConfirmModalDismissed()"
71484
74440
  >
71485
74441
  <ng-template>
71486
74442
  <val-modal-layout
@@ -71826,6 +74782,7 @@ class SimonGameComponent {
71826
74782
  this.activePad = signal(undefined);
71827
74783
  this.leaderboard = signal(this.readLeaderboard());
71828
74784
  this.confirmAction = signal(undefined);
74785
+ this.confirmedAction = signal(undefined);
71829
74786
  this.modeConfig = computed(() => SIMON_MODES[this.mode()]);
71830
74787
  this.bestRound = computed(() => this.modeLeaderboard()[0]?.round ?? 0);
71831
74788
  this.modeLeaderboard = computed(() => this.leaderboard()
@@ -71925,13 +74882,12 @@ class SimonGameComponent {
71925
74882
  closeConfirmModal() {
71926
74883
  this.confirmAction.set(undefined);
71927
74884
  }
71928
- confirmPendingAction(token) {
71929
- if (token !== 'confirm') {
71930
- this.closeConfirmModal();
71931
- return;
71932
- }
71933
- const action = this.confirmAction();
74885
+ handleConfirmModalDismissed() {
71934
74886
  this.confirmAction.set(undefined);
74887
+ const action = this.confirmedAction();
74888
+ this.confirmedAction.set(undefined);
74889
+ if (!action)
74890
+ return;
71935
74891
  if (action === 'restart') {
71936
74892
  this.start();
71937
74893
  return;
@@ -71944,6 +74900,15 @@ class SimonGameComponent {
71944
74900
  this.resetToGamesMenu();
71945
74901
  }
71946
74902
  }
74903
+ confirmPendingAction(token) {
74904
+ if (token !== 'confirm') {
74905
+ this.closeConfirmModal();
74906
+ return;
74907
+ }
74908
+ const action = this.confirmAction();
74909
+ this.confirmedAction.set(action);
74910
+ this.confirmAction.set(undefined);
74911
+ }
71947
74912
  tap(pad) {
71948
74913
  if (this.phase() !== 'waiting' || !this.acceptingInput)
71949
74914
  return;
@@ -72187,7 +75152,7 @@ class SimonGameComponent {
72187
75152
  <ion-modal
72188
75153
  [isOpen]="!!confirmAction()"
72189
75154
  cssClass="val-modal-adaptive"
72190
- (didDismiss)="closeConfirmModal()"
75155
+ (didDismiss)="handleConfirmModalDismissed()"
72191
75156
  >
72192
75157
  <ng-template>
72193
75158
  <val-modal-layout
@@ -72317,7 +75282,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
72317
75282
  <ion-modal
72318
75283
  [isOpen]="!!confirmAction()"
72319
75284
  cssClass="val-modal-adaptive"
72320
- (didDismiss)="closeConfirmModal()"
75285
+ (didDismiss)="handleConfirmModalDismissed()"
72321
75286
  >
72322
75287
  <ng-template>
72323
75288
  <val-modal-layout
@@ -87633,5 +90598,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
87633
90598
  * Generated bundle index. Do not edit.
87634
90599
  */
87635
90600
 
87636
- export { ACTION_CARD_DEFAULTS, AD_SIZE_MAP, API_TABLE_COLUMN_LABELS, APP_VERSION_PLATFORM_PLUGIN, APP_VERSION_REMOTE_PLUGIN, ARTICLE_CARD_DEFAULTS, ARTICLE_SPACING, ARTICLE_STRIP_DEFAULTS, AUTH_CTA_DEFAULTS, AVATAR_UPLOAD_DEFAULTS, AboutViewComponent, AccordionComponent, AccountViewComponent, ActionCardComponent, ActionHeaderComponent, ActionType, AdSlotComponent, AdsLoaderService, AdsService, AlertBoxComponent, AnalyticsErrorHandler, AnalyticsRouterTracker, AnalyticsService, AnimatedTerminalComponent, ApiKeyCreateModalComponent, ApiKeyService, ApiKeysModalComponent, ApiKeysViewComponent, AppConfigService, AppVersionService, ArticleBuilder, ArticleCardComponent, ArticleComponent, ArticleStripComponent, AttachmentUploaderComponent, AuthBackgroundComponent, AuthCtaComponent, AuthService, AuthStateService, AuthStorageService, AuthSyncService, AvatarComponent, AvatarUploadComponent, BOTTOM_NAV_DEFAULTS, BannerComponent, BlogPostBuilder, BottomNavComponent, BoxComponent, BreadcrumbComponent, BubbleBlitzGameComponent, ButtonComponent, ButtonGroupComponent, CALLOUT_LABELS, CHESSIMALS_BOT_PROFILES, CHEV_KEYS, CIRCLE_KEYS, COMMON_COUNTRY_CODES, COMMON_CURRENCIES, CORNER_KEYS, CTA_CARD_DEFAULTS, CURRENCY_INFO, CardComponent, CardSection, CardType, CardsCarouselComponent, ChangeEmailModalComponent, ChangePasswordModalComponent, ChatComposerComponent, ChatInputComponent, ChatWindowComponent, CheckInputComponent, CheckboxRadioInputComponent, ChessimalsGameComponent, ChessimalsOnlineService, ChipGroupComponent, CodeDisplayComponent, CommandDisplayComponent, CommentComponent, CommentInputComponent, CommentSectionComponent, CompanyFooterComponent, ComponentStates, ConfirmationDialogService, ContainerComponent, ContentLoaderComponent, ContentReactionComponent, ContentReactionModalComponent, ContentService, ContentTransformer, ConversationListItemComponent, ConversationService, CookieBannerComponent, CookieSettingsComponent, CountdownComponent, CreateOrgModalComponent, CtaCardComponent, CurrencyInputComponent, DEFAULT_ADS_CONFIG, DEFAULT_APP_CONFIG_SERVICE_CONFIG, DEFAULT_APP_VERSION_SERVICE_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_BACK_HEADER, DEFAULT_BUTTON_PRESETS, DEFAULT_CANCEL_BUTTON, DEFAULT_CHECK_INTERVAL_MS, DEFAULT_CONFIRM_BUTTON, DEFAULT_COUNTDOWN_LABELS, DEFAULT_COUNTDOWN_LABELS_EN, DEFAULT_DEBUG_CONSOLE_CONFIG, DEFAULT_DONATION_CONFIG, DEFAULT_EMPTY_STATE, DEFAULT_EMULATOR_CONFIG, DEFAULT_FEEDBACK_CONFIG, DEFAULT_FEEDBACK_TYPE_OPTIONS, DEFAULT_HOME_HEADER, DEFAULT_INFINITE_LIST_METADATA, DEFAULT_LOGIN_LOGO, DEFAULT_MODAL_CANCEL_BUTTON, DEFAULT_MODAL_CONFIRM_BUTTON, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLATFORMS, DEFAULT_POST_UPDATE_GRACE_MS, DEFAULT_PRESETS, DEFAULT_REFRESHER_METADATA, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLASH_SCREEN_CONFIG, DataTableComponent, DatasetPaginationService, DateInputComponent, DatePickerComponent, DateRangeInputComponent, DebugConsoleComponent, DeleteAccountModalComponent, DetailSkeletonComponent, DeviceService, DisplayComponent, DividerComponent, DocsApiTableComponent, DocsBreadcrumbComponent, DocsBuilder, DocsCalloutComponent, DocsCodeExampleComponent, DocsLayoutComponent, DocsNavLinksComponent, DocsNavigationService, DocsPageComponent, DocsSearchComponent, DocsSectionComponent, DocsShellComponent, DocsSidebarComponent, DocsTocComponent, DonationService, DownloadService, EditOrgModalComponent, EmptyStateComponent, EntityCardComponent, EntityFeedService, ExpandableTextComponent, ExternalBrowserService, FEATURES_LIST_DEFAULTS, FUN_MODAL_DEFAULTS, FabComponent, FaqComponent, FeaturesListComponent, FeedbackFormComponent, FeedbackService, FieldListComponent, FileInputComponent, FirebaseService, FirestoreCollectionFactory, FirestoreService, FontSizeOption, FontSizeSelectorComponent, FontSizeService, FooterComponent, FooterLinksComponent, FormComponent, FormFieldComponent, FormSchemaBuilderService, FormSkeletonComponent, FunHeaderComponent, FunModalComponent, GlassComponent, GlowCardComponent, GlowComponent, GridSkeletonComponent, HANDOFF_ROUTE_PARAM, HANDOFF_TOKEN_PARAM, HandoffService, HapticsService, HasPermissionDirective, HeaderActionsService, HeaderComponent, HintComponent, HorizontalScrollComponent, HrefComponent, HtmlViewerModalComponent, I18nService, IMAGE_DEFAULTS, INITIAL_AUTH_STATE, INITIAL_MFA_STATE, INVITATION_CARD_DEFAULTS, IONIC_COLORS$5 as IONIC_COLORS, Icon, IconComponent, IconService, ImageComponent, ImageCropComponent, ImageService, InAppBrowserService, InfiniteListComponent, InfoComponent, InputI18nHelper, InputType, InvitationCardComponent, InviteMemberModalComponent, ItemListComponent, KNOWN_ROUTES, LANG_STORAGE_KEY$1 as LANG_STORAGE_KEY, LEGAL_CONTENT_CONFIG, LOGGED_IN_HINT_COOKIE, LOGIN_DEFAULTS, LandingSplitComponent, LandingStepsComponent, LanguageSelectorComponent, LanguageSelectorV2Component, LayeredCardComponent, LegalContentService, LegalLinkService, LinkComponent, LinkProcessorService, LinkedProvidersComponent, LinksAccordionComponent, LinksCakeComponent, ListSkeletonComponent, LiveReadFallbackService, LoadMoreComponent, LoadingDirective, LocalStorageService, LocaleService, LoginAttemptModalComponent, LoginComponent, MEDIA_OBJECT_DEFAULTS, MEMBER_CARD_DEFAULTS, META_SCHEMA_VERSION, METRIC_CARD_DEFAULTS, MINI_GAME_PLAYER_AVATARS, MINI_GAME_PLAYER_COLORS, MODAL_SIZES, MOTIF_KEYS, MOTION, MaintenancePageComponent, MarkdownArticleParserService, MediaObjectComponent, MediaViewerModalComponent, MemberCardComponent, MemberDetailModalComponent, MemberImportModalComponent, MemoryGameComponent, MenuComponent, MessageBubbleComponent, MessagingService, MetaService, MetricCardComponent, MfaModalComponent, MiniGamePlayerProfileService, MiniGamesMenuComponent, ModalLayoutComponent, ModalService, ModalShellComponent, MultiSelectSearchComponent, NUM_KEYS, NavigationService, NetworkBannerComponent, NetworkStatusService, NewsBuilder, NoContentComponent, NotesBoxComponent, NotificationActionService, NotificationPreferencesViewComponent, NotificationsService, NotificationsViewComponent, NumberFromToComponent, NumberStepperComponent, OAUTH_PROVIDERS_INFO, OAuthCallbackComponent, OAuthService, OperationReferenceComponent, OptionCardsComponent, OrgInfoSheetComponent, OrgService, OrgSwitchService, OrganizationViewComponent, PATTERN_MOTIFS, PATTERN_PALETTES, PATTERN_STYLE_CONFIGS, PLATFORM_CONFIGS, POST_UPDATE_TS_KEY, PageContentComponent, PageLinksComponent, PageRefreshService, PageTemplateComponent, PageWavesComponent, PageWrapperComponent, PaginationComponent, PaginationService, PasswordInputComponent, PatternComponent, PdfService, PermissionCatalogService, PermissionSelectorComponent, PermissionsModalComponent, PermissionsViewComponent, PhoneDisplayComponent, PhoneFormatService, PhoneInputComponent, PickerV2Component, PillComponent, PinInputComponent, PlainCodeBoxComponent, PopoverSelectorComponent, PreferencesService, PreferencesViewComponent, PresetService, PriceTagComponent, PricingTableComponent, ProcessLinksPipe, ProfileContentComponent, ProfileModalComponent, ProfileSkeletonComponent, ProfileViewComponent, ProgressBarComponent, ProgressRingComponent, ProgressStatusComponent, PrompterComponent, QR_PRESETS, QrCodeComponent, QrGeneratorService, QrScannerComponent, QueryBuilder, QuoteBoxComponent, REQUEST_STATUSES, RadioInputComponent, RangeInputComponent, RatingComponent, ReactionBarComponent, ReactionsService, RefresherComponent, RequestFirestoreService, RequestFormBuilderService, RequestFormComponent, RequestModalComponent, RequestService, RetroAudioService, RightsFooterComponent, RotatingTextComponent, SEARCH_HEADER_DEFAULTS, SETTINGS_SECTIONS_CATALOG, SHAPE_KEYS, SHARE_PROFILE_MODAL_DEFAULTS, SKELETON_LAYOUT_DEFAULT_ROWS, SKELETON_PRESETS, SOLID_KEYS, STATS_BAR_DEFAULTS, STROKE_KEYS, SearchHeaderComponent, SearchSelectorComponent, SearchbarComponent, SectionHeaderComponent, SecurityViewComponent, SegmentControlComponent, SelectSearchComponent, SessionListModalComponent, SessionService, SessionTransitionOverlayComponent, SettingsHubComponent, ShareButtonsComponent, ShareProfileModalComponent, SimonGameComponent, SimpleComponent, SkeletonComponent, SkeletonLayoutComponent, SkeletonService, SplashComponent, SplashScreenService, StatsBarComponent, StatsCardComponent, StepperComponent, StorageService, SwipeCarouselComponent, SwitchOrgModalComponent, TRI_KEYS, TabbedContentComponent, TableSkeletonComponent, TabsComponent, Terminal404Component, TestimonialCardComponent, TestimonialCarouselComponent, TextComponent, TextInputComponent, TextareaInputComponent, ThemeOption, ThemeService, ThreadPanelComponent, TicketCardComponent, TicketCardImageService, TimelineComponent, TitleBlockComponent, TitleComponent, ToastService, ToggleInputComponent, TokenService, ToolbarActionType, ToolbarComponent, TransferOwnershipModalComponent, TranslatePipe, TypedCollection, TypingIndicatorComponent, UPDATE_BANNER_DEFAULT_CONTENT, UPDATE_BANNER_I18N_NAMESPACE, UpdateBannerComponent, UsageMetersComponent, UsageService, UserAvatarComponent, UsernameInputComponent, VALTECH_ADS_CONFIG, VALTECH_APP_CONFIG, VALTECH_APP_VERSION, VALTECH_AUTH_CONFIG, VALTECH_CHAT_CONFIG, VALTECH_COMPANY_LINKS, VALTECH_CONTENT_CONFIG, VALTECH_DEBUG_CONSOLE, VALTECH_DEFAULT_CONTENT, VALTECH_DONATION_CONFIG, VALTECH_FEEDBACK_CONFIG, VALTECH_FIREBASE_CONFIG, VALTECH_FOOTER_I18N, VALTECH_FOOTER_LOGO, VALTECH_LANGUAGE_SELECTOR, VALTECH_LEGAL_CONFIG, VALTECH_NETWORK_ERROR_KEY, VALTECH_REACTIONS_CONFIG, VALTECH_SETTINGS_MENU_LINKS, VALTECH_SITE_PATHS, VALTECH_SOCIAL_LINKS, VALTECH_SPLASH_SCREEN, VALTECH_WEB_BASE_URLS, VALTECH_WHATSAPP_CONFIG, VERSION, ValtechErrorService, VerifyViewComponent, WhatsappFabComponent, WhatsappService, WizardComponent, WizardFooterComponent, WorkflowService, applyChessimalsMove, applyDefaultValueToControl, authGuard, authInterceptor, authPasswordValidator, beautifyLegalArticle, blogPost, buildCompanyFooterProps, buildFooterLinks, buildLegalLinkResolver, buildPath, buildSettingsCards, button, canSubmitRequestType, chooseChessimalsBotMove, collections, connectPageRefresh, createChessimalsGame, createChessimalsReviewState, createErrorStateProps, createFirebaseConfig, createGlowCardProps, createInitialDatasetState, createInitialPaginationState, createNumberFromToField, createPageState, createPermissionLabeler, createRefreshableStream, createTitleProps, datasetPageFromLegacyCursor, docs, errorLoggingInterceptor, extractPathParams, formatClockTime, formatDateSeparator, formatRelativeTime, generatePatternTiles, generateRandomTile, getAppInfo, getAppVersion, getChessimalsAllLegalMoves, getChessimalsLegalMoves, getChessimalsPieceAt, getCollectionPath, getDocumentId, getTimeOfDayKey, goToTop, groupPermissionsByScope, guestGuard, hasEmulators, iconButton, interpretError, isAtEnd, isCollectionPath, isDocumentPath, isEmulatorMode, isIonicColor, isKnownRoute, isValidPath, joinPath, maxLength, mulberry32, news, parseMarkdownArticle, permissionGuard, permissionGuardFromRoute, positionKey, provideLegalContent, provideSplashScreen, provideValtechAboutRoutes, provideValtechAccountRoutes, provideValtechAds, provideValtechApiKeysRoutes, provideValtechAppConfig, provideValtechAppVersion, provideValtechAppVersionHttp, provideValtechAuth, provideValtechAuthInterceptor, provideValtechChat, provideValtechContent, provideValtechDebugConsole, provideValtechDonations, provideValtechErrorHandling, provideValtechFeedback, provideValtechFirebase, provideValtechI18n, provideValtechLegal, provideValtechNotificationClickActions, provideValtechNotificationPreferencesRoutes, provideValtechNotificationsRoutes, provideValtechOrganizationRoutes, provideValtechPermissionsRoutes, provideValtechPreferencesRoutes, provideValtechPresets, provideValtechProfileRoutes, provideValtechReactions, provideValtechSecurityRoutes, provideValtechSettingsRoutes, provideValtechSite, provideValtechSkeleton, provideValtechWhatsapp, query, rbacGuard, renderPatternSvgInner, replaceSpecialChars, requestSubmitMode, resignChessimalsGame, resolveColor, resolveInputDefaultValue, resolveIonicColor, resolveWebBaseUrl, roleGuard, selectableRequestTypes, storagePaths, superAdminGuard, toArticle, validateRoutes };
90601
+ export { ACTION_CARD_DEFAULTS, AD_SIZE_MAP, API_TABLE_COLUMN_LABELS, APP_VERSION_PLATFORM_PLUGIN, APP_VERSION_REMOTE_PLUGIN, ARTICLE_CARD_DEFAULTS, ARTICLE_SPACING, ARTICLE_STRIP_DEFAULTS, AUTH_CTA_DEFAULTS, AVATAR_UPLOAD_DEFAULTS, AboutViewComponent, AccordionComponent, AccountViewComponent, ActionCardComponent, ActionHeaderComponent, ActionType, AdSlotComponent, AdsLoaderService, AdsService, AlertBoxComponent, AnalyticsErrorHandler, AnalyticsRouterTracker, AnalyticsService, AnimatedTerminalComponent, ApiKeyCreateModalComponent, ApiKeyService, ApiKeysModalComponent, ApiKeysViewComponent, AppConfigService, AppVersionService, ArticleBuilder, ArticleCardComponent, ArticleComponent, ArticleStripComponent, AttachmentUploaderComponent, AuthBackgroundComponent, AuthCtaComponent, AuthService, AuthStateService, AuthStorageService, AuthSyncService, AvatarComponent, AvatarUploadComponent, BOTTOM_NAV_DEFAULTS, BannerComponent, BlogPostBuilder, BottomNavComponent, BoxComponent, BreadcrumbComponent, BubbleBlitzGameComponent, ButtonComponent, ButtonGroupComponent, CALLOUT_LABELS, CHESSIMALS_BOT_PROFILES, CHEV_KEYS, CIRCLE_KEYS, COMMON_COUNTRY_CODES, COMMON_CURRENCIES, CORNER_KEYS, CTA_CARD_DEFAULTS, CURRENCY_INFO, CardComponent, CardSection, CardType, CardsCarouselComponent, ChangeEmailModalComponent, ChangePasswordModalComponent, ChatComposerComponent, ChatInputComponent, ChatWindowComponent, CheckInputComponent, CheckboxRadioInputComponent, ChessimalsGameComponent, ChessimalsOnlineService, ChipGroupComponent, ChristianityGameComponent, CodeDisplayComponent, CommandDisplayComponent, CommentComponent, CommentInputComponent, CommentSectionComponent, CompanyFooterComponent, ComponentStates, ConfirmationDialogService, ContainerComponent, ContentLoaderComponent, ContentReactionComponent, ContentReactionModalComponent, ContentService, ContentTransformer, ConversationListItemComponent, ConversationService, CookieBannerComponent, CookieSettingsComponent, CountdownComponent, CreateOrgModalComponent, CtaCardComponent, CurrencyInputComponent, DEFAULT_ADS_CONFIG, DEFAULT_APP_CONFIG_SERVICE_CONFIG, DEFAULT_APP_VERSION_SERVICE_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_BACK_HEADER, DEFAULT_BUTTON_PRESETS, DEFAULT_CANCEL_BUTTON, DEFAULT_CHECK_INTERVAL_MS, DEFAULT_CONFIRM_BUTTON, DEFAULT_COUNTDOWN_LABELS, DEFAULT_COUNTDOWN_LABELS_EN, DEFAULT_DEBUG_CONSOLE_CONFIG, DEFAULT_DONATION_CONFIG, DEFAULT_EMPTY_STATE, DEFAULT_EMULATOR_CONFIG, DEFAULT_FEEDBACK_CONFIG, DEFAULT_FEEDBACK_TYPE_OPTIONS, DEFAULT_HOME_HEADER, DEFAULT_INFINITE_LIST_METADATA, DEFAULT_LOGIN_LOGO, DEFAULT_MODAL_CANCEL_BUTTON, DEFAULT_MODAL_CONFIRM_BUTTON, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLATFORMS, DEFAULT_POST_UPDATE_GRACE_MS, DEFAULT_PRESETS, DEFAULT_REFRESHER_METADATA, DEFAULT_SKELETON_CONFIG, DEFAULT_SPLASH_SCREEN_CONFIG, DataTableComponent, DatasetPaginationService, DateInputComponent, DatePickerComponent, DateRangeInputComponent, DebugConsoleComponent, DeleteAccountModalComponent, DetailSkeletonComponent, DeviceService, DisplayComponent, DividerComponent, DocsApiTableComponent, DocsBreadcrumbComponent, DocsBuilder, DocsCalloutComponent, DocsCodeExampleComponent, DocsLayoutComponent, DocsNavLinksComponent, DocsNavigationService, DocsPageComponent, DocsSearchComponent, DocsSectionComponent, DocsShellComponent, DocsSidebarComponent, DocsTocComponent, DonationService, DownloadService, EditOrgModalComponent, EmptyStateComponent, EntityCardComponent, EntityFeedService, ExpandableTextComponent, ExternalBrowserService, FEATURES_LIST_DEFAULTS, FUN_MODAL_DEFAULTS, FabComponent, FaqComponent, FeaturesListComponent, FeedbackFormComponent, FeedbackService, FieldListComponent, FileInputComponent, FirebaseService, FirestoreCollectionFactory, FirestoreService, FontSizeOption, FontSizeSelectorComponent, FontSizeService, FooterComponent, FooterLinksComponent, FormComponent, FormFieldComponent, FormSchemaBuilderService, FormSkeletonComponent, FunHeaderComponent, FunModalComponent, GlassComponent, GlowCardComponent, GlowComponent, GridSkeletonComponent, HANDOFF_ROUTE_PARAM, HANDOFF_TOKEN_PARAM, HandoffService, HapticsService, HasPermissionDirective, HeaderActionsService, HeaderComponent, HintComponent, HorizontalScrollComponent, HrefComponent, HtmlViewerModalComponent, I18nService, IMAGE_DEFAULTS, INITIAL_AUTH_STATE, INITIAL_MFA_STATE, INVITATION_CARD_DEFAULTS, IONIC_COLORS$5 as IONIC_COLORS, Icon, IconComponent, IconService, ImageComponent, ImageCropComponent, ImageService, InAppBrowserService, InfiniteListComponent, InfoComponent, InputI18nHelper, InputType, InvitationCardComponent, InviteMemberModalComponent, ItemListComponent, KNOWN_ROUTES, LANG_STORAGE_KEY$1 as LANG_STORAGE_KEY, LEGAL_CONTENT_CONFIG, LOGGED_IN_HINT_COOKIE, LOGIN_DEFAULTS, LandingSplitComponent, LandingStepsComponent, LanguageSelectorComponent, LanguageSelectorV2Component, LayeredCardComponent, LegalContentService, LegalLinkService, LightRippleDirective, LinkComponent, LinkProcessorService, LinkedProvidersComponent, LinksAccordionComponent, LinksCakeComponent, ListSkeletonComponent, LiveReadFallbackService, LoadMoreComponent, LoadingDirective, LocalStorageService, LocaleService, LoginAttemptModalComponent, LoginComponent, MEDIA_OBJECT_DEFAULTS, MEMBER_CARD_DEFAULTS, META_SCHEMA_VERSION, METRIC_CARD_DEFAULTS, MINI_GAME_PLAYER_AVATARS, MINI_GAME_PLAYER_COLORS, MODAL_SIZES, MOTIF_KEYS, MOTION, MaintenancePageComponent, MarkdownArticleParserService, MediaObjectComponent, MediaViewerModalComponent, MemberCardComponent, MemberDetailModalComponent, MemberImportModalComponent, MemoryGameComponent, MenuComponent, MessageBubbleComponent, MessagingService, MetaService, MetricCardComponent, MfaModalComponent, MiniGamePlayerProfileService, MiniGamesMenuComponent, ModalLayoutComponent, ModalService, ModalShellComponent, MultiSelectSearchComponent, NUM_KEYS, NavigationService, NetworkBannerComponent, NetworkStatusService, NewsBuilder, NoContentComponent, NotesBoxComponent, NotificationActionService, NotificationPreferencesViewComponent, NotificationsService, NotificationsViewComponent, NumberFromToComponent, NumberStepperComponent, OAUTH_PROVIDERS_INFO, OAuthCallbackComponent, OAuthService, OperationReferenceComponent, OptionCardsComponent, OrgInfoSheetComponent, OrgService, OrgSwitchService, OrganizationViewComponent, PATTERN_MOTIFS, PATTERN_PALETTES, PATTERN_STYLE_CONFIGS, PLATFORM_CONFIGS, POST_UPDATE_TS_KEY, PageContentComponent, PageLinksComponent, PageRefreshService, PageTemplateComponent, PageWavesComponent, PageWrapperComponent, PaginationComponent, PaginationService, PasswordInputComponent, PatternComponent, PdfService, PermissionCatalogService, PermissionSelectorComponent, PermissionsModalComponent, PermissionsViewComponent, PhoneDisplayComponent, PhoneFormatService, PhoneInputComponent, PickerV2Component, PillComponent, PinInputComponent, PlainCodeBoxComponent, PopoverSelectorComponent, PreferencesService, PreferencesViewComponent, PresetService, PriceTagComponent, PricingTableComponent, ProcessLinksPipe, ProfileContentComponent, ProfileModalComponent, ProfileSkeletonComponent, ProfileViewComponent, ProgressBarComponent, ProgressRingComponent, ProgressStatusComponent, PrompterComponent, QR_PRESETS, QrCodeComponent, QrGeneratorService, QrScannerComponent, QueryBuilder, QuoteBoxComponent, REQUEST_STATUSES, RadioInputComponent, RangeInputComponent, RatingComponent, ReactionBarComponent, ReactionsService, RefresherComponent, RequestFirestoreService, RequestFormBuilderService, RequestFormComponent, RequestModalComponent, RequestService, RetroAudioService, RightsFooterComponent, RotatingTextComponent, SEARCH_HEADER_DEFAULTS, SETTINGS_SECTIONS_CATALOG, SHAPE_KEYS, SHARE_PROFILE_MODAL_DEFAULTS, SKELETON_LAYOUT_DEFAULT_ROWS, SKELETON_PRESETS, SOLID_KEYS, STATS_BAR_DEFAULTS, STROKE_KEYS, SearchHeaderComponent, SearchSelectorComponent, SearchbarComponent, SectionHeaderComponent, SecurityViewComponent, SegmentControlComponent, SelectSearchComponent, SessionListModalComponent, SessionService, SessionTransitionOverlayComponent, SettingsHubComponent, ShareButtonsComponent, ShareProfileModalComponent, SimonGameComponent, SimpleComponent, SkeletonComponent, SkeletonLayoutComponent, SkeletonService, SplashComponent, SplashScreenService, StatsBarComponent, StatsCardComponent, StepperComponent, StorageService, SwipeCarouselComponent, SwitchOrgModalComponent, TRI_KEYS, TabbedContentComponent, TableSkeletonComponent, TabsComponent, Terminal404Component, TestimonialCardComponent, TestimonialCarouselComponent, TextComponent, TextInputComponent, TextareaInputComponent, ThemeOption, ThemeService, ThreadPanelComponent, TicketCardComponent, TicketCardImageService, TimelineComponent, TitleBlockComponent, TitleComponent, ToastService, ToggleInputComponent, TokenService, ToolbarActionType, ToolbarComponent, TransferOwnershipModalComponent, TranslatePipe, TypedCollection, TypingIndicatorComponent, UPDATE_BANNER_DEFAULT_CONTENT, UPDATE_BANNER_I18N_NAMESPACE, UpdateBannerComponent, UsageMetersComponent, UsageService, UserAvatarComponent, UsernameInputComponent, VALTECH_ADS_CONFIG, VALTECH_APP_CONFIG, VALTECH_APP_VERSION, VALTECH_AUTH_CONFIG, VALTECH_CHAT_CONFIG, VALTECH_COMPANY_LINKS, VALTECH_CONTENT_CONFIG, VALTECH_DEBUG_CONSOLE, VALTECH_DEFAULT_CONTENT, VALTECH_DONATION_CONFIG, VALTECH_FEEDBACK_CONFIG, VALTECH_FIREBASE_CONFIG, VALTECH_FOOTER_I18N, VALTECH_FOOTER_LOGO, VALTECH_LANGUAGE_SELECTOR, VALTECH_LEGAL_CONFIG, VALTECH_NETWORK_ERROR_KEY, VALTECH_REACTIONS_CONFIG, VALTECH_SETTINGS_MENU_LINKS, VALTECH_SITE_PATHS, VALTECH_SOCIAL_LINKS, VALTECH_SPLASH_SCREEN, VALTECH_WEB_BASE_URLS, VALTECH_WHATSAPP_CONFIG, VERSION, ValtechErrorService, VerifyViewComponent, WhatsappFabComponent, WhatsappService, WizardComponent, WizardFooterComponent, WorkflowService, applyChessimalsMove, applyDefaultValueToControl, authGuard, authInterceptor, authPasswordValidator, beautifyLegalArticle, blogPost, buildCompanyFooterProps, buildFooterLinks, buildLegalLinkResolver, buildPath, buildSettingsCards, button, canSubmitRequestType, chooseChessimalsBotMove, collections, connectPageRefresh, createChessimalsGame, createChessimalsReviewState, createErrorStateProps, createFirebaseConfig, createGlowCardProps, createInitialDatasetState, createInitialPaginationState, createNumberFromToField, createPageState, createPermissionLabeler, createRefreshableStream, createTitleProps, datasetPageFromLegacyCursor, docs, errorLoggingInterceptor, extractPathParams, formatClockTime, formatDateSeparator, formatRelativeTime, generatePatternTiles, generateRandomTile, getAppInfo, getAppVersion, getChessimalsAllLegalMoves, getChessimalsLegalMoves, getChessimalsPieceAt, getCollectionPath, getDocumentId, getTimeOfDayKey, goToTop, groupPermissionsByScope, guestGuard, hasEmulators, iconButton, interpretError, isAtEnd, isCollectionPath, isDocumentPath, isEmulatorMode, isIonicColor, isKnownRoute, isValidPath, joinPath, maxLength, mulberry32, news, parseMarkdownArticle, permissionGuard, permissionGuardFromRoute, positionKey, provideLegalContent, provideSplashScreen, provideValtechAboutRoutes, provideValtechAccountRoutes, provideValtechAds, provideValtechApiKeysRoutes, provideValtechAppConfig, provideValtechAppVersion, provideValtechAppVersionHttp, provideValtechAuth, provideValtechAuthInterceptor, provideValtechChat, provideValtechContent, provideValtechDebugConsole, provideValtechDonations, provideValtechErrorHandling, provideValtechFeedback, provideValtechFirebase, provideValtechI18n, provideValtechLegal, provideValtechNotificationClickActions, provideValtechNotificationPreferencesRoutes, provideValtechNotificationsRoutes, provideValtechOrganizationRoutes, provideValtechPermissionsRoutes, provideValtechPreferencesRoutes, provideValtechPresets, provideValtechProfileRoutes, provideValtechReactions, provideValtechSecurityRoutes, provideValtechSettingsRoutes, provideValtechSite, provideValtechSkeleton, provideValtechWhatsapp, query, rbacGuard, renderPatternSvgInner, replaceSpecialChars, requestSubmitMode, resignChessimalsGame, resolveColor, resolveInputDefaultValue, resolveIonicColor, resolveWebBaseUrl, roleGuard, selectableRequestTypes, storagePaths, superAdminGuard, toArticle, validateRoutes };
87637
90602
  //# sourceMappingURL=valtech-components.mjs.map