@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/montserrat-cyrillic-ext-400-normal-Xqov12YL.woff2)format("woff2"),url(/assets/montserrat-cyrillic-ext-400-normal-DRPPeomZ.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/montserrat-cyrillic-400-normal-BPq32Q8K.woff2)format("woff2"),url(/assets/montserrat-cyrillic-400-normal-jEs4Tk-Z.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/montserrat-vietnamese-400-normal-D4oHqQTd.woff2)format("woff2"),url(/assets/montserrat-vietnamese-400-normal-BeEscFYY.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/montserrat-latin-ext-400-normal-B8bwfy6Y.woff2)format("woff2"),url(/assets/montserrat-latin-ext-400-normal-BffdBkAA.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/montserrat-latin-400-normal-BLhwKU8k.woff2)format("woff2"),url(/assets/montserrat-latin-400-normal-xItZbAXg.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/montserrat-cyrillic-ext-700-normal-MyDreaeu.woff2)format("woff2"),url(/assets/montserrat-cyrillic-ext-700-normal-D-Mk2xRJ.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/montserrat-cyrillic-700-normal-D-Pqjtdp.woff2)format("woff2"),url(/assets/montserrat-cyrillic-700-normal-BvLYcGP1.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/montserrat-vietnamese-700-normal-C0x1De3p.woff2)format("woff2"),url(/assets/montserrat-vietnamese-700-normal-DnwGT2D9.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/montserrat-latin-ext-700-normal-BOP2Nhf0.woff2)format("woff2"),url(/assets/montserrat-latin-ext-700-normal-DdDFr05Z.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/montserrat-latin-700-normal-BdjcYUrC.woff2)format("woff2"),url(/assets/montserrat-latin-700-normal-BWkrl476.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Gotham;font-weight:400;font-style:normal;font-display:swap;src:local(Gotham Book),local(Gotham-Book),local(Gotham Regular),local(Gotham-Regular),url(/fonts/Gotham-Book.woff2)format("woff2"),url(/fonts/Gotham-Book.otf)format("opentype")}@font-face{font-family:Gotham;font-weight:700;font-style:normal;font-display:swap;src:local(Gotham Bold),local(Gotham-Bold),url(/fonts/Gotham-Bold.woff2)format("woff2"),url(/fonts/Gotham-Bold.otf)format("opentype")}:root{--brand-purple:#5a3c89;--brand-purple-light:#876da9;--brand-black:#000413;--brand-gray-dark:#7d8b97;--brand-gray-light:#cddedd;--brand-silver:linear-gradient(90deg, var(--brand-gray-light) 0%, var(--brand-gray-dark) 50%, var(--brand-gray-light) 100%);--bg:var(--brand-black);--surface:#0b0f1e;--surface-muted:#161b2b;--border:#7d8b974d;--text:var(--brand-gray-light);--text-h:#fff;--text-muted:var(--brand-gray-dark);--accent:var(--brand-purple-light);--accent-fill:var(--brand-purple);--accent-bg:#5a3c8947;--font-heading:"Gotham", "Montserrat", system-ui, sans-serif;--font-body:"Gotham", "Montserrat", system-ui, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--font-body);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;line-height:1.5}h1,h2,h3,h4{font-family:var(--font-heading);font-weight:700}*,:before,:after{box-sizing:border-box}body{min-width:320px;margin:0}#root{min-height:100svh}button{font:inherit}.page-status{color:var(--text-muted);text-align:center;padding:1.5rem}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text-h);font:inherit;cursor:pointer;border-radius:6px;padding:.5rem .9rem}.btn:hover:not(:disabled){background:var(--surface-muted)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn--primary{background:var(--accent-fill);border-color:var(--accent);color:#fff;font-weight:700}.btn--primary:hover:not(:disabled){background:var(--brand-purple-light)}.btn--small{padding:.3rem .6rem;font-size:.85rem}.btn--danger{color:#f04438}.layout{flex-direction:column;min-height:100svh;display:flex}.layout__main{flex:1;min-height:0}.layout__footer{z-index:1;background:var(--bg);color:var(--text-muted);text-align:center;padding:.6rem 1rem;font-size:.8rem;position:sticky;bottom:0}.layout__footer:before{content:"";background:var(--brand-silver);opacity:.6;height:1px;position:absolute;top:0;left:0;right:0}.pin-gate{justify-content:center;align-items:center;min-height:70svh;padding:1.5rem;display:flex}.pin-gate__panel{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;gap:.75rem;width:100%;max-width:20rem;padding:2rem 1.5rem 1.5rem;display:flex;position:relative;overflow:hidden}.pin-gate__panel:before{content:"";background:var(--brand-silver);height:4px;position:absolute;top:0;left:0;right:0}.pin-gate__title{color:var(--text-h);margin:0 0 .25rem;font-size:1.25rem}.pin-gate__hint{color:var(--text-muted);margin:0}.pin-gate__input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-h);font:inherit;letter-spacing:.4em;text-align:center;border-radius:8px;padding:.7rem;font-size:1.5rem}.pin-gate__input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pin-gate__input[aria-invalid=true]{border-color:#f04438}.pin-gate__error{color:#f04438;min-height:1.25rem;margin:0;font-size:.85rem}.pin-gate__submit{padding:.65rem}.admin-page{flex-direction:column;gap:2rem;max-width:1100px;margin:0 auto;padding:1.5rem;display:flex}.admin-page__header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:-.5rem;display:flex}.admin-page__header h1{background:var(--brand-silver);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:1.4rem}.admin-page__header-actions{gap:.5rem;display:flex}.admin-page__header-actions .btn{text-decoration:none}.admin-page__section h2{color:var(--text-h);margin:0 0 .75rem;font-size:1.1rem}.admin-page__list-header{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.admin-page__filter{max-width:24rem;margin-bottom:.75rem}.ability-form{flex-direction:column;gap:1rem;max-width:640px;display:flex}.ability-form__row{gap:1.5rem;display:flex}.ability-form__actions{gap:.5rem;display:flex}.field{flex-direction:column;gap:.35rem;display:flex}.field__label{color:var(--text-h);font-size:.9rem;font-weight:700}.field__input,.field__textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text-h);font:inherit;border-radius:6px;padding:.6rem .75rem}.field__input--short{max-width:6rem}.field__input[aria-invalid=true]{border-color:#f04438}.field__textarea{resize:vertical}.field__readonly{color:var(--text-h);padding:.6rem 0;font-weight:700}.field__error{color:#f04438;margin:-.5rem 0 0;font-size:.85rem}.ability-table__wrap{border:1px solid var(--border);border-radius:8px;overflow-x:auto}.ability-table{border-collapse:collapse;background:var(--surface);width:100%;font-size:.9rem}.ability-table th,.ability-table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.6rem .75rem}.ability-table tbody tr:last-child td{border-bottom:none}.ability-table th{background:var(--surface-muted);color:var(--text-h);white-space:nowrap;font-weight:700}.ability-table__source{white-space:nowrap;color:var(--text-h)}.ability-table__cost{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.ability-table__actions{white-space:nowrap;text-align:right}.ability-table__actions .btn+.btn{margin-left:.35rem}.ability-table__row--editing td{background:var(--accent-bg)}.play-page{flex-direction:column;align-items:center;gap:1.5rem;max-width:720px;margin:0 auto;padding:1.5rem 1rem 2rem;display:flex}.play-page__image{aspect-ratio:4/3;border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;width:100%;max-height:55svh;display:flex;overflow:hidden}.play-page__image img{object-fit:contain;width:100%;height:100%}.play-page__image-placeholder{color:var(--text-muted);text-align:center;padding:1rem}.play-page__controls{flex-direction:column;align-items:center;gap:1rem;width:100%;display:flex}.number-picker{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.number-picker__option{border:2px solid var(--border);background:var(--surface);width:3rem;height:3rem;color:var(--text-h);cursor:pointer;border-radius:50%;font-size:1.1rem;font-weight:700;transition:border-color .12s,background .12s}.number-picker__option:hover{background:var(--surface-muted)}.number-picker__option--selected,.number-picker__option--selected:hover{border-color:var(--accent);background:var(--accent-fill);color:#fff}.number-picker__option:focus-visible,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.play-page__generate{min-width:12rem;padding:.7rem 1.5rem;font-size:1.05rem;font-weight:700}.ability-dialog{background:0 0;border:none;width:100%;max-width:min(32rem,100vw - 2rem);padding:0}.ability-dialog::backdrop{background:#000413bf}.ability-dialog__panel{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;padding:1.75rem 1.5rem 0;position:relative;overflow:hidden}.ability-dialog__panel:before{content:"";background:var(--brand-silver);height:4px;position:absolute;top:0;left:0;right:0}.ability-dialog__close{width:2rem;height:2rem;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;font-size:1.4rem;line-height:1;position:absolute;top:.6rem;right:.6rem}.ability-dialog__close:hover{background:var(--surface-muted)}.ability-dialog__cost{align-items:center;gap:.6rem;display:flex}.ability-dialog__badge{background:var(--accent-fill);color:#fff;min-width:3rem;font-family:var(--font-heading);border-radius:6px;justify-content:center;align-items:center;padding:.25rem .7rem;font-size:1.25rem;font-weight:700;display:inline-flex}.ability-dialog__x{color:var(--text-muted);font-size:.95rem}.ability-dialog__text{color:var(--text-h);margin:1rem 0 .75rem;font-size:1.1rem;line-height:1.55}.ability-dialog__source{color:var(--text-muted);margin:0 0 1.25rem;font-style:italic}.ability-dialog__hint{border-top:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);align-items:center;gap:1rem;margin:0 -1.5rem;padding:.85rem 1.5rem;font-size:.85rem;display:flex}.ability-dialog__hint p{flex:1;margin:0}.ability-dialog__hint .btn{flex-shrink:0}
