




@property --type-tag { syntax: "<length>"; inherits: true; initial-value: 10px; }
@property --type-note { syntax: "<length>"; inherits: true; initial-value: 11px; }
@property --type-label { syntax: "<length>"; inherits: true; initial-value: 12px; }
@property --type-body { syntax: "<length>"; inherits: true; initial-value: 13px; }
@property --type-read { syntax: "<length>"; inherits: true; initial-value: 14px; }
@property --type-head { syntax: "<length>"; inherits: true; initial-value: 17px; }
@property --type-title { syntax: "<length>"; inherits: true; initial-value: 21px; }


@font-face {
  font-family: "Chakra Petch";
  src: url("../brand/fonts/ChakraPetch-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../brand/fonts/ChakraPetch-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  
  color-scheme: dark;
  
  --shell-h: 0px;
  
  --menu-top: calc(var(--shell-h) + 4px);
  --menu-bottom: auto;
  --menu-right: 24px;
  
  --menu-left: var(--step-4);
  
  --footer-h: 0px;
  
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  

  
  --step-1: 4px;
  --step-2: 8px;
  --step-3: 12px;
  --step-4: 16px;
  --step-5: 24px;
  --step-6: 36px;
  --step-7: 48px;
  --step-8: 64px;

  
  --type-tag: 10px;
  --type-note: 11px;
  --type-label: 12px;
  --type-body: 13px;
  --type-read: 14px;
  --type-head: 17px;
  --type-title: 21px;
  --type-display-1: 32px;
  --type-display-2: 44px;
  
  --type-floor: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --round-1: 4px;
  --round-2: 7px;
  --round-pill: 999px;

  
  --surface-ground: #090b14; 
  --surface-1: #171924;
  --surface-2: #212536;
  --surface-well: #0a0b11;
  --surface-overlay: #1b1d27;
  
  --surface-chain-2: oklch(19% 0.02 274);
  --surface-chain-3: oklch(17.5% 0.02 274);

  
  --ink-1: #e6e8f0;
  --ink-2: #b6bdd2;
  --ink-3: #8a8fa8; 
  --ink-disabled: #565c72;

  
  --line-1: #262a3a;
  --line-2: #343a52;
  --focus: #9ab0ff;

  
  --decide: #f5a623; 
  --decide-ink: #ffc978;
  --decide-wash: rgba(245, 166, 35, 0.14);

  
  --log-card: #ffd9a8;

  
  --you: #4d8dff;
  --you-ink: #a9c6ff;
  --you-wash: rgba(77, 141, 255, 0.16);
  --opponent: #e06d4b;
  --opponent-ink: #f2b394;
  --opponent-wash: rgba(224, 109, 75, 0.16);

  
  --good: #57c08a;
  --warn: #bfae3a;
  --bad: #e2596a;
  
  --bad-ink: #f06b7b;
  
  --end-turn: #a3202f;
  --end-turn-ink: #ffffff;
  --end-turn-fill: rgba(255, 255, 255, 0.2);
  
  --status-bad: #fb707f;

  
  --showdown: #eef2ff;
  --showdown-glow: rgba(238, 242, 255, 0.5);
  
  --candidate: #7fd1ff;
  --candidate-glow: rgba(127, 209, 255, 0.55);
  
  --candidate-wash: rgba(127, 209, 255, 0.08);

  
  --control-sm: 28px;
  --control-md: 36px;
  --control-lg: 52px;
  
  --touch: 44px;
  
  --type-input: 16px;
  --touch-floor-prose: 16px;
  --touch-floor-ui: 14px;
  --touch-floor-board: 12px;

  
  --power-ink: #c39ce8;

  
  
  --d-body: #f28e42;
  --d-calm: #3ebf86;
  --d-chaos: #a579dd;
  --d-fury: #fb605f;
  --d-mind: #45acd4;
  --d-order: #e2c23c;

  
  --deck-card-label: var(--ink-2);

  
  --motion-1: 120ms;
  --motion-2: 200ms;
  --motion-3: 320ms;
  --motion-4: 450ms;
  --motion-5: 750ms;
  
  --motion-draw: 660ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: linear(0, 0.0197, 0.0702, 0.1407, 0.2226, 0.3096, 0.397, 0.4814, 0.5605, 0.6329, 0.6978, 0.7551, 0.8048, 0.8473, 0.8831, 0.9128, 0.937, 0.9566, 0.9721, 0.984, 0.9931, 0.9998, 1.0046, 1.0078, 1.0097, 1.0108, 1.0111, 1.0109, 1.0104, 1.0096, 1.0087, 1.0078, 1.0068, 1.0058, 1.005, 1.0041, 1.0034, 1.0028, 1.0022, 1.0017, 1);
  --ease-breathe: cubic-bezier(0.65, 0, 0.35, 1);
  
  --ease-release: cubic-bezier(0.3, 2.15, 0.5, 1);
  
  --press-in: 60ms;
  --motion-still: 120ms;
  --stagger: 60ms;
  --loop-call: 1.6s;
  --loop-wait: 1.2s;
  
  --tap: 0.96;
  --tap-row: 0.98;
  --ring-w: 2px;
  --ring-off: 2px;
  --ring-in: -2px;
  --busy-delay: 200ms;
  
  --fit: 1;
  --light-rim: 3.2s;
  --light-rune: 3.6s;
  --light-hum: 5.5s;
  
  --tick-breathe-130: linear(0 0%, 0 0.769%, 0 0.769%, 0 1.538%, 0.0002 1.538%, 0.0002 2.308%, 0.0004 2.308%, 0.0004 3.077%, 0.0008 3.077%, 0.0008 3.846%, 0.0012 3.846%, 0.0012 4.615%, 0.0018 4.615%, 0.0018 5.385%, 0.0024 5.385%, 0.0024 6.154%, 0.0032 6.154%, 0.0032 6.923%, 0.0041 6.923%, 0.0041 7.692%, 0.0051 7.692%, 0.0051 8.462%, 0.0063 8.462%, 0.0063 9.231%, 0.0075 9.231%, 0.0075 10%, 0.0089 10%, 0.0089 10.769%, 0.0105 10.769%, 0.0105 11.538%, 0.0122 11.538%, 0.0122 12.308%, 0.014 12.308%, 0.014 13.077%, 0.016 13.077%, 0.016 13.846%, 0.0181 13.846%, 0.0181 14.615%, 0.0204 14.615%, 0.0204 15.385%, 0.0229 15.385%, 0.0229 16.154%, 0.0255 16.154%, 0.0255 16.923%, 0.0283 16.923%, 0.0283 17.692%, 0.0313 17.692%, 0.0313 18.462%, 0.0345 18.462%, 0.0345 19.231%, 0.0379 19.231%, 0.0379 20%, 0.0415 20%, 0.0415 20.769%, 0.0454 20.769%, 0.0454 21.538%, 0.0494 21.538%, 0.0494 22.308%, 0.0537 22.308%, 0.0537 23.077%, 0.0583 23.077%, 0.0583 23.846%, 0.0631 23.846%, 0.0631 24.615%, 0.0682 24.615%, 0.0682 25.385%, 0.0735 25.385%, 0.0735 26.154%, 0.0792 26.154%, 0.0792 26.923%, 0.0851 26.923%, 0.0851 27.692%, 0.0914 27.692%, 0.0914 28.462%, 0.098 28.462%, 0.098 29.231%, 0.105 29.231%, 0.105 30%, 0.1124 30%, 0.1124 30.769%, 0.1201 30.769%, 0.1201 31.538%, 0.1283 31.538%, 0.1283 32.308%, 0.1369 32.308%, 0.1369 33.077%, 0.146 33.077%, 0.146 33.846%, 0.1555 33.846%, 0.1555 34.615%, 0.1655 34.615%, 0.1655 35.385%, 0.1761 35.385%, 0.1761 36.154%, 0.1872 36.154%, 0.1872 36.923%, 0.1989 36.923%, 0.1989 37.692%, 0.2112 37.692%, 0.2112 38.462%, 0.2242 38.462%, 0.2242 39.231%, 0.2378 39.231%, 0.2378 40%, 0.2521 40%, 0.2521 40.769%, 0.2671 40.769%, 0.2671 41.538%, 0.2829 41.538%, 0.2829 42.308%, 0.2994 42.308%, 0.2994 43.077%, 0.3166 43.077%, 0.3166 43.846%, 0.3346 43.846%, 0.3346 44.615%, 0.3534 44.615%, 0.3534 45.385%, 0.3728 45.385%, 0.3728 46.154%, 0.3929 46.154%, 0.3929 46.923%, 0.4135 46.923%, 0.4135 47.692%, 0.4347 47.692%, 0.4347 48.462%, 0.4562 48.462%, 0.4562 49.231%, 0.478 49.231%, 0.478 50%, 0.5 50%, 0.5 50.769%, 0.522 50.769%, 0.522 51.538%, 0.5438 51.538%, 0.5438 52.308%, 0.5653 52.308%, 0.5653 53.077%, 0.5865 53.077%, 0.5865 53.846%, 0.6071 53.846%, 0.6071 54.615%, 0.6272 54.615%, 0.6272 55.385%, 0.6466 55.385%, 0.6466 56.154%, 0.6654 56.154%, 0.6654 56.923%, 0.6834 56.923%, 0.6834 57.692%, 0.7006 57.692%, 0.7006 58.462%, 0.7171 58.462%, 0.7171 59.231%, 0.7329 59.231%, 0.7329 60%, 0.7479 60%, 0.7479 60.769%, 0.7622 60.769%, 0.7622 61.538%, 0.7758 61.538%, 0.7758 62.308%, 0.7888 62.308%, 0.7888 63.077%, 0.8011 63.077%, 0.8011 63.846%, 0.8128 63.846%, 0.8128 64.615%, 0.8239 64.615%, 0.8239 65.385%, 0.8345 65.385%, 0.8345 66.154%, 0.8445 66.154%, 0.8445 66.923%, 0.854 66.923%, 0.854 67.692%, 0.8631 67.692%, 0.8631 68.462%, 0.8717 68.462%, 0.8717 69.231%, 0.8799 69.231%, 0.8799 70%, 0.8876 70%, 0.8876 70.769%, 0.895 70.769%, 0.895 71.538%, 0.902 71.538%, 0.902 72.308%, 0.9086 72.308%, 0.9086 73.077%, 0.9149 73.077%, 0.9149 73.846%, 0.9208 73.846%, 0.9208 74.615%, 0.9265 74.615%, 0.9265 75.385%, 0.9318 75.385%, 0.9318 76.154%, 0.9369 76.154%, 0.9369 76.923%, 0.9417 76.923%, 0.9417 77.692%, 0.9463 77.692%, 0.9463 78.462%, 0.9506 78.462%, 0.9506 79.231%, 0.9546 79.231%, 0.9546 80%, 0.9585 80%, 0.9585 80.769%, 0.9621 80.769%, 0.9621 81.538%, 0.9655 81.538%, 0.9655 82.308%, 0.9687 82.308%, 0.9687 83.077%, 0.9717 83.077%, 0.9717 83.846%, 0.9745 83.846%, 0.9745 84.615%, 0.9771 84.615%, 0.9771 85.385%, 0.9796 85.385%, 0.9796 86.154%, 0.9819 86.154%, 0.9819 86.923%, 0.984 86.923%, 0.984 87.692%, 0.986 87.692%, 0.986 88.462%, 0.9878 88.462%, 0.9878 89.231%, 0.9895 89.231%, 0.9895 90%, 0.9911 90%, 0.9911 90.769%, 0.9925 90.769%, 0.9925 91.538%, 0.9937 91.538%, 0.9937 92.308%, 0.9949 92.308%, 0.9949 93.077%, 0.9959 93.077%, 0.9959 93.846%, 0.9968 93.846%, 0.9968 94.615%, 0.9976 94.615%, 0.9976 95.385%, 0.9982 95.385%, 0.9982 96.154%, 0.9988 96.154%, 0.9988 96.923%, 0.9992 96.923%, 0.9992 97.692%, 0.9996 97.692%, 0.9996 98.462%, 0.9998 98.462%, 0.9998 99.231%, 1 99.231%, 1 100%, 1 100%);
  --tick-breathe-128: linear(0 0%, 0 0.781%, 0 0.781%, 0 1.562%, 0.0002 1.562%, 0.0002 2.344%, 0.0004 2.344%, 0.0004 3.125%, 0.0008 3.125%, 0.0008 3.906%, 0.0013 3.906%, 0.0013 4.688%, 0.0018 4.688%, 0.0018 5.469%, 0.0025 5.469%, 0.0025 6.25%, 0.0033 6.25%, 0.0033 7.031%, 0.0043 7.031%, 0.0043 7.812%, 0.0053 7.812%, 0.0053 8.594%, 0.0065 8.594%, 0.0065 9.375%, 0.0078 9.375%, 0.0078 10.156%, 0.0092 10.156%, 0.0092 10.938%, 0.0108 10.938%, 0.0108 11.719%, 0.0126 11.719%, 0.0126 12.5%, 0.0145 12.5%, 0.0145 13.281%, 0.0165 13.281%, 0.0165 14.062%, 0.0187 14.062%, 0.0187 14.844%, 0.0211 14.844%, 0.0211 15.625%, 0.0237 15.625%, 0.0237 16.406%, 0.0264 16.406%, 0.0264 17.188%, 0.0293 17.188%, 0.0293 17.969%, 0.0324 17.969%, 0.0324 18.75%, 0.0358 18.75%, 0.0358 19.531%, 0.0393 19.531%, 0.0393 20.312%, 0.0431 20.312%, 0.0431 21.094%, 0.0471 21.094%, 0.0471 21.875%, 0.0513 21.875%, 0.0513 22.656%, 0.0558 22.656%, 0.0558 23.438%, 0.0605 23.438%, 0.0605 24.219%, 0.0655 24.219%, 0.0655 25%, 0.0708 25%, 0.0708 25.781%, 0.0764 25.781%, 0.0764 26.562%, 0.0823 26.562%, 0.0823 27.344%, 0.0885 27.344%, 0.0885 28.125%, 0.0951 28.125%, 0.0951 28.906%, 0.102 28.906%, 0.102 29.688%, 0.1094 29.688%, 0.1094 30.469%, 0.1171 30.469%, 0.1171 31.25%, 0.1252 31.25%, 0.1252 32.031%, 0.1338 32.031%, 0.1338 32.812%, 0.1428 32.812%, 0.1428 33.594%, 0.1523 33.594%, 0.1523 34.375%, 0.1623 34.375%, 0.1623 35.156%, 0.1729 35.156%, 0.1729 35.938%, 0.184 35.938%, 0.184 36.719%, 0.1957 36.719%, 0.1957 37.5%, 0.2081 37.5%, 0.2081 38.281%, 0.2211 38.281%, 0.2211 39.062%, 0.2348 39.062%, 0.2348 39.844%, 0.2492 39.844%, 0.2492 40.625%, 0.2643 40.625%, 0.2643 41.406%, 0.2801 41.406%, 0.2801 42.188%, 0.2968 42.188%, 0.2968 42.969%, 0.3142 42.969%, 0.3142 43.75%, 0.3324 43.75%, 0.3324 44.531%, 0.3513 44.531%, 0.3513 45.312%, 0.3709 45.312%, 0.3709 46.094%, 0.3913 46.094%, 0.3913 46.875%, 0.4122 46.875%, 0.4122 47.656%, 0.4337 47.656%, 0.4337 48.438%, 0.4556 48.438%, 0.4556 49.219%, 0.4777 49.219%, 0.4777 50%, 0.5 50%, 0.5 50.781%, 0.5223 50.781%, 0.5223 51.562%, 0.5444 51.562%, 0.5444 52.344%, 0.5663 52.344%, 0.5663 53.125%, 0.5878 53.125%, 0.5878 53.906%, 0.6087 53.906%, 0.6087 54.688%, 0.6291 54.688%, 0.6291 55.469%, 0.6487 55.469%, 0.6487 56.25%, 0.6676 56.25%, 0.6676 57.031%, 0.6858 57.031%, 0.6858 57.812%, 0.7032 57.812%, 0.7032 58.594%, 0.7199 58.594%, 0.7199 59.375%, 0.7357 59.375%, 0.7357 60.156%, 0.7508 60.156%, 0.7508 60.938%, 0.7652 60.938%, 0.7652 61.719%, 0.7789 61.719%, 0.7789 62.5%, 0.7919 62.5%, 0.7919 63.281%, 0.8043 63.281%, 0.8043 64.062%, 0.816 64.062%, 0.816 64.844%, 0.8271 64.844%, 0.8271 65.625%, 0.8377 65.625%, 0.8377 66.406%, 0.8477 66.406%, 0.8477 67.188%, 0.8572 67.188%, 0.8572 67.969%, 0.8662 67.969%, 0.8662 68.75%, 0.8748 68.75%, 0.8748 69.531%, 0.8829 69.531%, 0.8829 70.312%, 0.8906 70.312%, 0.8906 71.094%, 0.898 71.094%, 0.898 71.875%, 0.9049 71.875%, 0.9049 72.656%, 0.9115 72.656%, 0.9115 73.438%, 0.9177 73.438%, 0.9177 74.219%, 0.9236 74.219%, 0.9236 75%, 0.9292 75%, 0.9292 75.781%, 0.9345 75.781%, 0.9345 76.562%, 0.9395 76.562%, 0.9395 77.344%, 0.9442 77.344%, 0.9442 78.125%, 0.9487 78.125%, 0.9487 78.906%, 0.9529 78.906%, 0.9529 79.688%, 0.9569 79.688%, 0.9569 80.469%, 0.9607 80.469%, 0.9607 81.25%, 0.9642 81.25%, 0.9642 82.031%, 0.9676 82.031%, 0.9676 82.812%, 0.9707 82.812%, 0.9707 83.594%, 0.9736 83.594%, 0.9736 84.375%, 0.9763 84.375%, 0.9763 85.156%, 0.9789 85.156%, 0.9789 85.938%, 0.9813 85.938%, 0.9813 86.719%, 0.9835 86.719%, 0.9835 87.5%, 0.9855 87.5%, 0.9855 88.281%, 0.9874 88.281%, 0.9874 89.062%, 0.9892 89.062%, 0.9892 89.844%, 0.9908 89.844%, 0.9908 90.625%, 0.9922 90.625%, 0.9922 91.406%, 0.9935 91.406%, 0.9935 92.188%, 0.9947 92.188%, 0.9947 92.969%, 0.9957 92.969%, 0.9957 93.75%, 0.9967 93.75%, 0.9967 94.531%, 0.9975 94.531%, 0.9975 95.312%, 0.9982 95.312%, 0.9982 96.094%, 0.9987 96.094%, 0.9987 96.875%, 0.9992 96.875%, 0.9992 97.656%, 0.9996 97.656%, 0.9996 98.438%, 0.9998 98.438%, 0.9998 99.219%, 1 99.219%, 1 100%, 1 100%);
  --tick-breathe-76: linear(0 0%, 0 1.316%, 0.0001 1.316%, 0.0001 2.632%, 0.0006 2.632%, 0.0006 3.947%, 0.0013 3.947%, 0.0013 5.263%, 0.0023 5.263%, 0.0023 6.579%, 0.0037 6.579%, 0.0037 7.895%, 0.0054 7.895%, 0.0054 9.211%, 0.0075 9.211%, 0.0075 10.526%, 0.01 10.526%, 0.01 11.842%, 0.0129 11.842%, 0.0129 13.158%, 0.0162 13.158%, 0.0162 14.474%, 0.02 14.474%, 0.02 15.789%, 0.0242 15.789%, 0.0242 17.105%, 0.029 17.105%, 0.029 18.421%, 0.0343 18.421%, 0.0343 19.737%, 0.0403 19.737%, 0.0403 21.053%, 0.0468 21.053%, 0.0468 22.368%, 0.0541 22.368%, 0.0541 23.684%, 0.062 23.684%, 0.062 25%, 0.0708 25%, 0.0708 26.316%, 0.0804 26.316%, 0.0804 27.632%, 0.0909 27.632%, 0.0909 28.947%, 0.1024 28.947%, 0.1024 30.263%, 0.115 30.263%, 0.115 31.579%, 0.1287 31.579%, 0.1287 32.895%, 0.1438 32.895%, 0.1438 34.211%, 0.1602 34.211%, 0.1602 35.526%, 0.1781 35.526%, 0.1781 36.842%, 0.1977 36.842%, 0.1977 38.158%, 0.219 38.158%, 0.219 39.474%, 0.2422 39.474%, 0.2422 40.789%, 0.2675 40.789%, 0.2675 42.105%, 0.295 42.105%, 0.295 43.421%, 0.3246 43.421%, 0.3246 44.737%, 0.3564 44.737%, 0.3564 46.053%, 0.3902 46.053%, 0.3902 47.368%, 0.4257 47.368%, 0.4257 48.684%, 0.4625 48.684%, 0.4625 50%, 0.5 50%, 0.5 51.316%, 0.5375 51.316%, 0.5375 52.632%, 0.5743 52.632%, 0.5743 53.947%, 0.6098 53.947%, 0.6098 55.263%, 0.6436 55.263%, 0.6436 56.579%, 0.6754 56.579%, 0.6754 57.895%, 0.705 57.895%, 0.705 59.211%, 0.7325 59.211%, 0.7325 60.526%, 0.7578 60.526%, 0.7578 61.842%, 0.781 61.842%, 0.781 63.158%, 0.8023 63.158%, 0.8023 64.474%, 0.8219 64.474%, 0.8219 65.789%, 0.8398 65.789%, 0.8398 67.105%, 0.8562 67.105%, 0.8562 68.421%, 0.8713 68.421%, 0.8713 69.737%, 0.885 69.737%, 0.885 71.053%, 0.8976 71.053%, 0.8976 72.368%, 0.9091 72.368%, 0.9091 73.684%, 0.9196 73.684%, 0.9196 75%, 0.9292 75%, 0.9292 76.316%, 0.938 76.316%, 0.938 77.632%, 0.9459 77.632%, 0.9459 78.947%, 0.9532 78.947%, 0.9532 80.263%, 0.9597 80.263%, 0.9597 81.579%, 0.9657 81.579%, 0.9657 82.895%, 0.971 82.895%, 0.971 84.211%, 0.9758 84.211%, 0.9758 85.526%, 0.98 85.526%, 0.98 86.842%, 0.9838 86.842%, 0.9838 88.158%, 0.9871 88.158%, 0.9871 89.474%, 0.99 89.474%, 0.99 90.789%, 0.9925 90.789%, 0.9925 92.105%, 0.9946 92.105%, 0.9946 93.421%, 0.9963 93.421%, 0.9963 94.737%, 0.9977 94.737%, 0.9977 96.053%, 0.9987 96.053%, 0.9987 97.368%, 0.9994 97.368%, 0.9994 98.684%, 0.9999 98.684%, 0.9999 100%, 1 100%);
  --tick-breathe-70: linear(0 0%, 0 1.429%, 0.0002 1.429%, 0.0002 2.857%, 0.0007 2.857%, 0.0007 4.286%, 0.0015 4.286%, 0.0015 5.714%, 0.0028 5.714%, 0.0028 7.143%, 0.0044 7.143%, 0.0044 8.571%, 0.0064 8.571%, 0.0064 10%, 0.0089 10%, 0.0089 11.429%, 0.0119 11.429%, 0.0119 12.857%, 0.0154 12.857%, 0.0154 14.286%, 0.0194 14.286%, 0.0194 15.714%, 0.024 15.714%, 0.024 17.143%, 0.0292 17.143%, 0.0292 18.571%, 0.035 18.571%, 0.035 20%, 0.0415 20%, 0.0415 21.429%, 0.0488 21.429%, 0.0488 22.857%, 0.0569 22.857%, 0.0569 24.286%, 0.0659 24.286%, 0.0659 25.714%, 0.0759 25.714%, 0.0759 27.143%, 0.0869 27.143%, 0.0869 28.571%, 0.099 28.571%, 0.099 30%, 0.1124 30%, 0.1124 31.429%, 0.1271 31.429%, 0.1271 32.857%, 0.1433 32.857%, 0.1433 34.286%, 0.1612 34.286%, 0.1612 35.714%, 0.1808 35.714%, 0.1808 37.143%, 0.2024 37.143%, 0.2024 38.571%, 0.2261 38.571%, 0.2261 40%, 0.2521 40%, 0.2521 41.429%, 0.2806 41.429%, 0.2806 42.857%, 0.3116 42.857%, 0.3116 44.286%, 0.3453 44.286%, 0.3453 45.714%, 0.3813 45.714%, 0.3813 47.143%, 0.4195 47.143%, 0.4195 48.571%, 0.4593 48.571%, 0.4593 50%, 0.5 50%, 0.5 51.429%, 0.5407 51.429%, 0.5407 52.857%, 0.5805 52.857%, 0.5805 54.286%, 0.6187 54.286%, 0.6187 55.714%, 0.6547 55.714%, 0.6547 57.143%, 0.6884 57.143%, 0.6884 58.571%, 0.7194 58.571%, 0.7194 60%, 0.7479 60%, 0.7479 61.429%, 0.7739 61.429%, 0.7739 62.857%, 0.7976 62.857%, 0.7976 64.286%, 0.8192 64.286%, 0.8192 65.714%, 0.8388 65.714%, 0.8388 67.143%, 0.8567 67.143%, 0.8567 68.571%, 0.8729 68.571%, 0.8729 70%, 0.8876 70%, 0.8876 71.429%, 0.901 71.429%, 0.901 72.857%, 0.9131 72.857%, 0.9131 74.286%, 0.9241 74.286%, 0.9241 75.714%, 0.9341 75.714%, 0.9341 77.143%, 0.9431 77.143%, 0.9431 78.571%, 0.9512 78.571%, 0.9512 80%, 0.9585 80%, 0.9585 81.429%, 0.965 81.429%, 0.965 82.857%, 0.9708 82.857%, 0.9708 84.286%, 0.976 84.286%, 0.976 85.714%, 0.9806 85.714%, 0.9806 87.143%, 0.9846 87.143%, 0.9846 88.571%, 0.9881 88.571%, 0.9881 90%, 0.9911 90%, 0.9911 91.429%, 0.9936 91.429%, 0.9936 92.857%, 0.9956 92.857%, 0.9956 94.286%, 0.9972 94.286%, 0.9972 95.714%, 0.9985 95.714%, 0.9985 97.143%, 0.9993 97.143%, 0.9993 98.571%, 0.9998 98.571%, 0.9998 100%, 1 100%);
  --tick-breathe-90: linear(0 0%, 0 1.111%, 0.0001 1.111%, 0.0001 2.222%, 0.0004 2.222%, 0.0004 3.333%, 0.0009 3.333%, 0.0009 4.444%, 0.0016 4.444%, 0.0016 5.556%, 0.0026 5.556%, 0.0026 6.667%, 0.0038 6.667%, 0.0038 7.778%, 0.0053 7.778%, 0.0053 8.889%, 0.007 8.889%, 0.007 10%, 0.0089 10%, 0.0089 11.111%, 0.0112 11.111%, 0.0112 12.222%, 0.0138 12.222%, 0.0138 13.333%, 0.0167 13.333%, 0.0167 14.444%, 0.0199 14.444%, 0.0199 15.556%, 0.0234 15.556%, 0.0234 16.667%, 0.0274 16.667%, 0.0274 17.778%, 0.0317 17.778%, 0.0317 18.889%, 0.0364 18.889%, 0.0364 20%, 0.0415 20%, 0.0415 21.111%, 0.0471 21.111%, 0.0471 22.222%, 0.0532 22.222%, 0.0532 23.333%, 0.0598 23.333%, 0.0598 24.444%, 0.067 24.444%, 0.067 25.556%, 0.0747 25.556%, 0.0747 26.667%, 0.0831 26.667%, 0.0831 27.778%, 0.0921 27.778%, 0.0921 28.889%, 0.1019 28.889%, 0.1019 30%, 0.1124 30%, 0.1124 31.111%, 0.1237 31.111%, 0.1237 32.222%, 0.1359 32.222%, 0.1359 33.333%, 0.1491 33.333%, 0.1491 34.444%, 0.1632 34.444%, 0.1632 35.556%, 0.1785 35.556%, 0.1785 36.667%, 0.1949 36.667%, 0.1949 37.778%, 0.2126 37.778%, 0.2126 38.889%, 0.2317 38.889%, 0.2317 40%, 0.2521 40%, 0.2521 41.111%, 0.2741 41.111%, 0.2741 42.222%, 0.2975 42.222%, 0.2975 43.333%, 0.3226 43.333%, 0.3226 44.444%, 0.3491 44.444%, 0.3491 45.556%, 0.3772 45.556%, 0.3772 46.667%, 0.4066 46.667%, 0.4066 47.778%, 0.4371 47.778%, 0.4371 48.889%, 0.4683 48.889%, 0.4683 50%, 0.5 50%, 0.5 51.111%, 0.5317 51.111%, 0.5317 52.222%, 0.5629 52.222%, 0.5629 53.333%, 0.5934 53.333%, 0.5934 54.444%, 0.6228 54.444%, 0.6228 55.556%, 0.6509 55.556%, 0.6509 56.667%, 0.6774 56.667%, 0.6774 57.778%, 0.7025 57.778%, 0.7025 58.889%, 0.7259 58.889%, 0.7259 60%, 0.7479 60%, 0.7479 61.111%, 0.7683 61.111%, 0.7683 62.222%, 0.7874 62.222%, 0.7874 63.333%, 0.8051 63.333%, 0.8051 64.444%, 0.8215 64.444%, 0.8215 65.556%, 0.8368 65.556%, 0.8368 66.667%, 0.8509 66.667%, 0.8509 67.778%, 0.8641 67.778%, 0.8641 68.889%, 0.8763 68.889%, 0.8763 70%, 0.8876 70%, 0.8876 71.111%, 0.8981 71.111%, 0.8981 72.222%, 0.9079 72.222%, 0.9079 73.333%, 0.9169 73.333%, 0.9169 74.444%, 0.9253 74.444%, 0.9253 75.556%, 0.933 75.556%, 0.933 76.667%, 0.9402 76.667%, 0.9402 77.778%, 0.9468 77.778%, 0.9468 78.889%, 0.9529 78.889%, 0.9529 80%, 0.9585 80%, 0.9585 81.111%, 0.9636 81.111%, 0.9636 82.222%, 0.9683 82.222%, 0.9683 83.333%, 0.9726 83.333%, 0.9726 84.444%, 0.9766 84.444%, 0.9766 85.556%, 0.9801 85.556%, 0.9801 86.667%, 0.9833 86.667%, 0.9833 87.778%, 0.9862 87.778%, 0.9862 88.889%, 0.9888 88.889%, 0.9888 90%, 0.9911 90%, 0.9911 91.111%, 0.993 91.111%, 0.993 92.222%, 0.9947 92.222%, 0.9947 93.333%, 0.9962 93.333%, 0.9962 94.444%, 0.9974 94.444%, 0.9974 95.556%, 0.9984 95.556%, 0.9984 96.667%, 0.9991 96.667%, 0.9991 97.778%, 0.9996 97.778%, 0.9996 98.889%, 0.9999 98.889%, 0.9999 100%, 1 100%);
  --tick-breathe-36: linear(0 0%, 0 2.778%, 0.0006 2.778%, 0.0006 5.556%, 0.0026 5.556%, 0.0026 8.333%, 0.0061 8.333%, 0.0061 11.111%, 0.0112 11.111%, 0.0112 13.889%, 0.0182 13.889%, 0.0182 16.667%, 0.0274 16.667%, 0.0274 19.444%, 0.0389 19.444%, 0.0389 22.222%, 0.0532 22.222%, 0.0532 25%, 0.0708 25%, 0.0708 27.778%, 0.0921 27.778%, 0.0921 30.556%, 0.1179 30.556%, 0.1179 33.333%, 0.1491 33.333%, 0.1491 36.111%, 0.1866 36.111%, 0.1866 38.889%, 0.2317 38.889%, 0.2317 41.667%, 0.2856 41.667%, 0.2856 44.444%, 0.3491 44.444%, 0.3491 47.222%, 0.4217 47.222%, 0.4217 50%, 0.5 50%, 0.5 52.778%, 0.5783 52.778%, 0.5783 55.556%, 0.6509 55.556%, 0.6509 58.333%, 0.7144 58.333%, 0.7144 61.111%, 0.7683 61.111%, 0.7683 63.889%, 0.8134 63.889%, 0.8134 66.667%, 0.8509 66.667%, 0.8509 69.444%, 0.8821 69.444%, 0.8821 72.222%, 0.9079 72.222%, 0.9079 75%, 0.9292 75%, 0.9292 77.778%, 0.9468 77.778%, 0.9468 80.556%, 0.9611 80.556%, 0.9611 83.333%, 0.9726 83.333%, 0.9726 86.111%, 0.9818 86.111%, 0.9818 88.889%, 0.9888 88.889%, 0.9888 91.667%, 0.9939 91.667%, 0.9939 94.444%, 0.9974 94.444%, 0.9974 97.222%, 0.9994 97.222%, 0.9994 100%, 1 100%);
  --tick-breathe-32: linear(0 0%, 0 3.125%, 0.0008 3.125%, 0.0008 6.25%, 0.0033 6.25%, 0.0033 9.375%, 0.0078 9.375%, 0.0078 12.5%, 0.0145 12.5%, 0.0145 15.625%, 0.0237 15.625%, 0.0237 18.75%, 0.0358 18.75%, 0.0358 21.875%, 0.0513 21.875%, 0.0513 25%, 0.0708 25%, 0.0708 28.125%, 0.0951 28.125%, 0.0951 31.25%, 0.1252 31.25%, 0.1252 34.375%, 0.1623 34.375%, 0.1623 37.5%, 0.2081 37.5%, 0.2081 40.625%, 0.2643 40.625%, 0.2643 43.75%, 0.3324 43.75%, 0.3324 46.875%, 0.4122 46.875%, 0.4122 50%, 0.5 50%, 0.5 53.125%, 0.5878 53.125%, 0.5878 56.25%, 0.6676 56.25%, 0.6676 59.375%, 0.7357 59.375%, 0.7357 62.5%, 0.7919 62.5%, 0.7919 65.625%, 0.8377 65.625%, 0.8377 68.75%, 0.8748 68.75%, 0.8748 71.875%, 0.9049 71.875%, 0.9049 75%, 0.9292 75%, 0.9292 78.125%, 0.9487 78.125%, 0.9487 81.25%, 0.9642 81.25%, 0.9642 84.375%, 0.9763 84.375%, 0.9763 87.5%, 0.9855 87.5%, 0.9855 90.625%, 0.9922 90.625%, 0.9922 93.75%, 0.9967 93.75%, 0.9967 96.875%, 0.9992 96.875%, 0.9992 100%, 1 100%);
  --tick-breathe-55: linear(0 0%, 0 1.818%, 0.0003 1.818%, 0.0003 3.636%, 0.0011 3.636%, 0.0011 5.455%, 0.0025 5.455%, 0.0025 7.273%, 0.0046 7.273%, 0.0046 9.091%, 0.0073 9.091%, 0.0073 10.909%, 0.0108 10.909%, 0.0108 12.727%, 0.015 12.727%, 0.015 14.545%, 0.0202 14.545%, 0.0202 16.364%, 0.0262 16.364%, 0.0262 18.182%, 0.0333 18.182%, 0.0333 20%, 0.0415 20%, 0.0415 21.818%, 0.051 21.818%, 0.051 23.636%, 0.0617 23.636%, 0.0617 25.455%, 0.074 25.455%, 0.074 27.273%, 0.0879 27.273%, 0.0879 29.091%, 0.1037 29.091%, 0.1037 30.909%, 0.1216 30.909%, 0.1216 32.727%, 0.1418 32.727%, 0.1418 34.545%, 0.1646 34.545%, 0.1646 36.364%, 0.1903 36.364%, 0.1903 38.182%, 0.2194 38.182%, 0.2194 40%, 0.2521 40%, 0.2521 41.818%, 0.2888 41.818%, 0.2888 43.636%, 0.3297 43.636%, 0.3297 45.455%, 0.3746 45.455%, 0.3746 47.273%, 0.4231 47.273%, 0.4231 49.091%, 0.4741 49.091%, 0.4741 50.909%, 0.5259 50.909%, 0.5259 52.727%, 0.5769 52.727%, 0.5769 54.545%, 0.6254 54.545%, 0.6254 56.364%, 0.6703 56.364%, 0.6703 58.182%, 0.7112 58.182%, 0.7112 60%, 0.7479 60%, 0.7479 61.818%, 0.7806 61.818%, 0.7806 63.636%, 0.8097 63.636%, 0.8097 65.455%, 0.8354 65.455%, 0.8354 67.273%, 0.8582 67.273%, 0.8582 69.091%, 0.8784 69.091%, 0.8784 70.909%, 0.8963 70.909%, 0.8963 72.727%, 0.9121 72.727%, 0.9121 74.545%, 0.926 74.545%, 0.926 76.364%, 0.9383 76.364%, 0.9383 78.182%, 0.949 78.182%, 0.949 80%, 0.9585 80%, 0.9585 81.818%, 0.9667 81.818%, 0.9667 83.636%, 0.9738 83.636%, 0.9738 85.455%, 0.9798 85.455%, 0.9798 87.273%, 0.985 87.273%, 0.985 89.091%, 0.9892 89.091%, 0.9892 90.909%, 0.9927 90.909%, 0.9927 92.727%, 0.9954 92.727%, 0.9954 94.545%, 0.9975 94.545%, 0.9975 96.364%, 0.9989 96.364%, 0.9989 98.182%, 0.9997 98.182%, 0.9997 100%, 1 100%);
  --tick-inout-8: linear(0 0%, 0 12.5%, 0.043 12.5%, 0.043 25%, 0.2366 25%, 0.2366 37.5%, 0.5597 37.5%, 0.5597 50%, 0.7756 50%, 0.7756 62.5%, 0.8945 62.5%, 0.8945 75%, 0.9594 75%, 0.9594 87.5%, 0.991 87.5%, 0.991 100%, 1 100%);
  --tick-inout-6: linear(0 0%, 0 16.667%, 0.0851 16.667%, 0.0851 33.333%, 0.4573 33.333%, 0.4573 50%, 0.7756 50%, 0.7756 66.667%, 0.9208 66.667%, 0.9208 83.333%, 0.9834 83.333%, 0.9834 100%, 1 100%);
  --ease-emphasis: linear(0, 0.0164, 0.0584, 0.1174, 0.1865, 0.2606, 0.336, 0.41, 0.4807, 0.5468, 0.6077, 0.6629, 0.7125, 0.7565, 0.7952, 0.829, 0.8582, 0.8833, 0.9047, 0.9227, 0.938, 0.9506, 0.9612, 0.9698, 0.9769, 0.9826, 0.9872, 0.9908, 0.9937, 0.9959, 0.9976, 0.9989, 0.9998, 1.0005, 1.001, 1.0013, 1.0014, 1.0015, 1.0015, 1.0015, 1);

  
  --wash-ink: var(--surface-ground);
  --wash-asked: 0.38;
  --wash-after: 0.45;
  --wash-stunned: 0.2;
  --wash-doomed: 0.22;
  --wash-spent: 0.2;
  --wash-dead: 0.15;
  --hatch-line: var(--focus);
  --hatch-n: 0.3;
  --ring-inset: 3px;
  --echo-grow: 1.04;
  --echo-light: 0.8;
  --place-from: 0.6;
  --echo-peak: 1;

  
  --brand-void: oklch(15.2% 0.020 274.1); 
  --brand-obsidian: oklch(29.8% 0.017 270.8); 
  
  --rift-light: oklch(86% 0.07 292);
  --rift-glow: oklch(66% 0.13 292 / 0.85);
  
  --light-warm-hi: oklch(94% 0.05 85 / 0.32);
  --light-warm-lo: oklch(94% 0.05 85 / 0.11);
  --light-warm-edge: oklch(90% 0.07 82 / 0.55);
  --brand-amber: oklch(78.4% 0.159 73.0); 
  --brand-ash: oklch(65.5% 0.038 276.4); 
  --brand-bone: oklch(96.1% 0.005 95.1); 
  --brand-ink: oklch(18.0% 0.033 277.1); 

  
  --domain-body: oklch(74.0% 0.150 54.8);
  --domain-body-tint: oklch(24.6% 0.021 33.3);
  --domain-body-tint-hi: oklch(29.8% 0.035 47.5);
  --domain-body-ring: var(--domain-body);
  --domain-calm: oklch(72.0% 0.140 160.2);
  --domain-calm-tint: oklch(24.4% 0.026 195.6);
  --domain-calm-tint-hi: oklch(29.6% 0.038 178.8);
  --domain-calm-ring: var(--domain-calm);
  --domain-chaos: oklch(66.1% 0.150 302.8);
  --domain-chaos-tint: oklch(23.5% 0.042 293.3);
  --domain-chaos-tint-hi: oklch(28.0% 0.053 295.5);
  --domain-chaos-ring: var(--domain-chaos);
  --domain-fury: oklch(69.0% 0.190 23.9);
  --domain-fury-tint: oklch(23.5% 0.034 357.5);
  --domain-fury-tint-hi: oklch(28.1% 0.050 8.8);
  --domain-fury-ring: var(--domain-fury);
  --domain-mind: oklch(70.1% 0.110 227.4);
  --domain-mind-tint: oklch(24.4% 0.034 242.8);
  --domain-mind-tint-hi: oklch(29.0% 0.042 239.6);
  --domain-mind-ring: var(--domain-mind);
  --domain-order: oklch(81.9% 0.149 95.1);
  --domain-order-tint: oklch(26.3% 0.020 99.0);
  --domain-order-tint-hi: oklch(32.1% 0.037 94.7);
  --domain-order-ring: var(--domain-order);

  
  --font-display: "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-deck-name: 1.0625rem;
  --type-section: 1.25rem;
  --type-lead: 1.5rem;
  --type-page: 1.75rem;
  
  --track-display: 0.02em;
  --track-caps: 0.08em;

  
  --page-max: 72rem;
  --page-gutter: var(--step-6);
  
  --page-top: var(--step-6);
  
  --rift-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 700' preserveAspectRatio='xMaxYMid slice'%3E%3Cdefs%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='16'/%3E%3C/filter%3E%3C/defs%3E%3Cpolygon points='1250,44 1555,154 1555,506 1250,616 945,506 945,154' fill='%232a2d36' fill-opacity='.22' stroke='%23343a52' stroke-opacity='.65' stroke-width='1.5'/%3E%3Cpolygon points='1250,-99 1707,66 1707,594 1250,759 793,594 793,66' fill='none' stroke='%23343a52' stroke-opacity='.35' stroke-width='1.2'/%3E%3Cpolyline points='808,-59 979,59 1072,172 1045,257 1151,350 1257,422 1296,502 1408,581 1501,647 1633,733 1712,772' fill='none' stroke='%23f3f2ee' stroke-opacity='.14' stroke-width='26' stroke-linejoin='round' filter='url(%23b)'/%3E%3Cpolyline points='808,-59 979,59 1072,172 1045,257 1151,350 1257,422 1296,502 1408,581 1501,647 1633,733 1712,772' fill='none' stroke='%23f3f2ee' stroke-opacity='.45' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  
  --rail-h: 60px;
  
  --scrim: oklch(0.14 0.012 275 / 0.55);
  
  --veil: oklch(0.14 0.012 275 / 0.62);
  
  --finale-dim: oklch(0.14 0.012 275 / 0.75);
  --shroud: oklch(0.14 0.012 275 / 0.86);
  --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  --shadow-sheet-blur: 48px;
  --shadow-sheet-ink: rgba(0, 0, 0, 0.5);
  --shadow-sheet: 0 16px var(--shadow-sheet-blur) var(--shadow-sheet-ink);
  --shadow-notice: 0 8px 24px rgba(0, 0, 0, 0.4);
  
  
  --z-results: 31;
  --z-anchored: 76;
  --z-scrim: 84;
  --z-sheet: 85;
  --z-modal-scrim: 90;
  --z-modal: 91;
  --z-notice: 92;
  
  --z-over: 95;
  
  --z-plate: 96;
  --z-tip: 100;
  --z-drag: 120;
  
  --win-place: var(--motion-3);
  --win-pop: var(--motion-1);
  --win-exit: var(--motion-2);
  --win-exit-short: var(--motion-1);
}

@supports not (animation-timing-function: linear(0, 1)) {
  :root { --ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1); --ease-spring: cubic-bezier(0.16, 1, 0.3, 1); }
}



@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) {
    --motion-1: 0.01ms;
    --motion-2: 0.01ms;
    --motion-3: 0.01ms;
    --motion-4: 0.01ms;
    --motion-5: 0.01ms;
    --motion-draw: 0.01ms;
    --tap: 1;
    --tap-row: 1;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --surface-ground: #f3f2ee;
  --surface-1: #ffffff;
  --surface-2: #e9e7e0;
  --surface-well: #e3e1d9;
  --surface-overlay: #ffffff;
  --ink-1: #0e1020;
  --ink-2: #33374a;
  --ink-3: #5c6178;
  --ink-disabled: #8d90a2;
  --line-1: #d6d4cc;
  --line-2: #bdbab0;
  --focus: #0e1020;
  --decide-ink: #0e1020;
  --good: #1c7048;
  --warn: #7f5d00;
  --bad: #b3283a;
  --bad-ink: #b3283a;
  --you-ink: #1d4fb5;
  --opponent-ink: #a8431c;
}

:root[data-theme="light"] .shell-chip-initial { color: var(--ink-1); }
:root[data-theme="light"] .results-who.you .results-points { color: var(--you-ink); }
:root[data-theme="light"] .results-who.them .results-points { color: var(--opponent-ink); }

:root[data-theme="light"] :is(.table, .editor) {
  color-scheme: dark;
  --surface-ground: #090b14;
  --surface-1: #171924;
  --surface-2: #212536;
  --surface-well: #0a0b11;
  --surface-overlay: #1b1d27;
  --ink-1: #e6e8f0;
  --ink-2: #b6bdd2;
  --ink-3: #8a8fa8;
  --ink-disabled: #565c72;
  --line-1: #262a3a;
  --line-2: #343a52;
  --focus: #9ab0ff;
  --decide-ink: #ffc978;
  --good: #57c08a;
  --warn: #bfae3a;
  --bad: #e2596a;
  --bad-ink: #f06b7b;
  --you-ink: #a9c6ff;
  --opponent-ink: #f2b394;
  color: var(--ink-1);
  background: var(--surface-ground);
}

:root[data-motion="reduce"] {
  --motion-1: 0.01ms;
  --motion-2: 0.01ms;
  --motion-3: 0.01ms;
  --motion-4: 0.01ms;
  --motion-5: 0.01ms;
  --motion-draw: 0.01ms;
  --tap: 1;
  --tap-row: 1;
}


@media (max-width: 600px) {
  :root { --page-gutter: var(--step-4); --page-top: var(--step-5); }
}
