/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--page:#070810;--panel:#11131e;--panel-soft:#161927;--ink:#f5f7ff;--muted:#8d93aa;--line:#cbd3ff21;--player:#4af0d1;--player-deep:#087f70;--select:#58ddff;--turn-player:var(--player);--turn-com:var(--com);--com:#ff566f;--com-deep:#8e2638;--impact:#ffd453}*{box-sizing:border-box}html{background:var(--page)}body{background:radial-gradient(circle at 14% 12%, #23bfa626, transparent 31%), radial-gradient(circle at 85% 24%, #da355226, transparent 34%), linear-gradient(155deg, #090b14, var(--page) 56%);min-height:100vh;color:var(--ink);font-family:var(--font-geist-sans), "Yu Gothic UI", sans-serif;margin:0}button{font:inherit}button:focus-visible{outline:3px solid var(--impact);outline-offset:3px}.game-shell{width:min(1060px,100% - 30px);margin:0 auto;padding:30px 0 44px}.hero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:21px;display:flex}.eyebrow,.side-label{color:var(--muted);font-family:var(--font-geist-mono), monospace;letter-spacing:.17em;margin:0 0 7px;font-size:10px;font-weight:700}h1{letter-spacing:-.07em;margin:0;font-size:clamp(43px,7vw,78px);font-weight:850;line-height:.9}.tagline{color:var(--muted);margin:13px 0 0;font-size:14px}.hero-actions{gap:8px;display:flex}.reset-top,.demo-top{border:1px solid var(--line);min-height:42px;color:var(--ink);cursor:pointer;background:#121521cc;border-radius:11px;padding:0 17px;font-size:12px;font-weight:700}.demo-top{color:var(--select);background:#58ddff24;border-color:#58ddffb3;box-shadow:0 0 14px #58ddff29}.reset-top:disabled,.demo-top:disabled{cursor:wait;opacity:.42}.mode-switcher{border:1px solid var(--line);background:#11131eb8;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px;padding:12px;display:grid}.mode-switcher>p{color:var(--select);letter-spacing:.04em;text-shadow:0 0 15px #58ddff9e;grid-column:1/-1;margin:0 0 2px;font-size:16px;font-weight:850}.mode-switcher button{border:1px solid var(--line);min-height:48px;color:var(--muted);cursor:pointer;background:#11131eb8;border-radius:12px;justify-content:center;align-items:center;gap:9px;display:flex}.mode-switcher button span{font-size:18px;font-weight:750}.mode-switcher button strong{font-family:var(--font-geist-mono), monospace;font-size:18px}.mode-switcher button.active{color:var(--select);background:#58ddff24;border-color:#58ddffb3;box-shadow:inset 0 0 18px #58ddff17,0 0 12px #58ddff24}.mode-switcher button:disabled{cursor:wait}.difficulty-switcher{border:1px solid var(--line);background:#11131eb8;border-radius:14px;gap:7px;margin:0 0 10px;padding:12px;display:grid}.difficulty-switcher>p{color:var(--select);letter-spacing:.04em;text-shadow:0 0 15px #58ddff9e;margin:0;font-size:16px;font-weight:850}.difficulty-switcher>div{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.difficulty-switcher button{border:1px solid var(--line);min-height:66px;color:var(--muted);cursor:pointer;background:#0708106b;border-radius:10px;justify-content:center;align-items:center;gap:10px;display:flex}.difficulty-switcher button strong{font-size:18px}.difficulty-switcher button small{white-space:nowrap;font-size:12px}.difficulty-switcher button.active{color:var(--select);background:#58ddff26;border-color:#58ddffc2;box-shadow:inset 0 0 18px #58ddff1c,0 0 12px #58ddff33}.difficulty-switcher button:disabled{cursor:wait}.score-strip{border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#11131ec7;border-radius:17px;grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;margin-bottom:13px;padding:11px 17px;display:grid}.score{align-items:center;gap:11px;display:flex}.score>div{display:grid}.score span,.turn-state span{color:var(--muted);font-family:var(--font-geist-mono), monospace;letter-spacing:.14em;font-size:10px}.score strong{font-size:28px;line-height:1}.energy-gauge{gap:4px;margin-top:7px;display:flex}.energy-gauge i{background:#8d93aa3d;border-radius:999px;width:16px;height:4px}.energy-gauge i.charged{background:var(--player);box-shadow:0 0 8px #4af0d180}.energy-gauge.boosting i.charged{animation:.56s cubic-bezier(.18,.9,.3,1) both gauge-charge}.energy-gauge.boosting i:nth-child(2){animation-delay:55ms}.energy-gauge.boosting i:nth-child(3){animation-delay:.11s}.energy-gauge.boosting i:nth-child(4){animation-delay:.165s}.energy-gauge.boosting i:nth-child(5){animation-delay:.22s}.com-energy{justify-content:flex-end}.com-energy i.charged{background:var(--com);box-shadow:0 0 8px #ff566f80}.score-mark{border-radius:5px;width:17px;height:17px;transform:rotate(45deg)}.player-score .score-mark{background:var(--player);box-shadow:0 0 20px #4af0d18a}.com-score{text-align:right;justify-self:end}.com-score .score-mark{background:var(--com);box-shadow:0 0 20px #ff566f87}.turn-state{text-align:center;gap:6px;display:flex}.turn-state span{border:1px solid var(--line);opacity:.4;border-radius:8px;padding:7px 9px}.turn-state span.active{opacity:1;font-weight:850}.turn-state span.player-turn{color:var(--turn-player);text-shadow:0 0 10px #4af0d1b8;background:#4af0d11f;border-color:#4af0d1b8;box-shadow:inset 0 0 15px #4af0d11a,0 0 10px #4af0d12e}.turn-state span.com-turn{color:var(--turn-com);text-shadow:0 0 10px #ff566fb8;background:#ff566f1f;border-color:#ff566fb8;box-shadow:inset 0 0 15px #ff566f1a,0 0 10px #ff566f2e}.game-layout{grid-template-columns:minmax(0,1fr) 278px;gap:13px;display:grid}.board-panel{border:1px solid var(--line);background:linear-gradient(#131622d1,#0a0b13eb),repeating-linear-gradient(90deg,#0000,#0000 38px,#ffffff05 39px);border-radius:22px;min-width:0;padding:clamp(12px,3vw,25px);position:relative;overflow:hidden;box-shadow:0 25px 80px #00000057}.board-panel.charging{border-color:#ffd4539e;box-shadow:0 0 0 1px #ffd45333,0 0 55px #ffd4534d,0 25px 80px #00000057}.charge-flash{z-index:9;pointer-events:none;background:repeating-conic-gradient(#0000 0deg 15deg,#ffd45329 16deg 18deg,#0000 19deg 32deg),radial-gradient(circle,#fff4b4a6,#ffd45314 35%,#0000 67%);animation:.62s ease-out both charge-burst;position:absolute;inset:-20%}.impact-word{z-index:12;width:max-content;max-width:92%;color:var(--player);font-family:var(--font-geist-sans), "Yu Gothic UI", sans-serif;letter-spacing:-.065em;text-align:center;text-shadow:0 3px #07251f,0 0 32px #4af0d1cc;pointer-events:none;font-size:clamp(34px,8vw,78px);font-weight:950;line-height:.9;animation:.65s cubic-bezier(.16,.88,.3,1) both impact-word;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.impact-word.com{color:var(--com);text-shadow:0 3px #3d1018,0 0 32px #ff566fcc}.impact-word.charge{color:#fff2a5;text-shadow:0 3px #634b00,0 0 18px #fff,0 0 48px #ffd453f2;font-size:clamp(38px,9vw,88px);animation-duration:.62s}.board{aspect-ratio:1;gap:clamp(4px,1vw,8px);width:min(100%,650px);margin:0 auto;display:grid}.grid-cell{min-width:0;color:var(--ink);cursor:pointer;background:#1b1e2dd1;border:1px solid #cdd5ff1c;border-radius:clamp(8px,1.6vw,14px);place-items:center;transition:transform .13s,opacity .18s,filter .18s,border-color .13s,background .18s,box-shadow .18s;display:grid;position:relative;overflow:visible}.grid-cell.empty:not(:disabled):hover,.grid-cell.empty:not(:disabled):focus-visible{z-index:3;border-color:#4af0d194;transform:scale(1.05)}.grid-cell:disabled{cursor:default}.grid-cell.preview{background:#4af0d117;border-color:#4af0d166}.grid-cell.legal-target{border:2px solid #4af0d19e;box-shadow:inset 0 0 18px #4af0d11a,0 0 9px #4af0d11f}.grid-cell.legal-target .orb-stack i{background:#4af0d117;border-color:#4af0d17a}.orb-stack{grid-template-columns:repeat(2,1fr);place-items:center;gap:clamp(3px,.55vw,6px);width:min(44px,58%);display:grid}.orb-stack.capacity-3{grid-template-columns:repeat(3,1fr);width:min(56px,76%)}.orb-stack i{aspect-ratio:1;background:#cdd5ff0f;border:1px solid #cdd5ff38;border-radius:50%;width:clamp(7px,1.15vw,12px)}.orb-stack i.filled{background:#fff;border-color:#ffffffd1;box-shadow:0 0 10px #ffffffb8}.grid-cell.critical{border-color:#ffffffd1;animation:1.15s ease-in-out infinite critical-pulse;box-shadow:inset 0 0 0 2px #ffffff1f,0 0 18px #ffffff38}.grid-cell.energy-cell{background:radial-gradient(circle,#ffd45338,#0000 62%),#23201bd1;border-color:#ffd453bf;animation:1.35s ease-in-out infinite energy-pulse;box-shadow:inset 0 0 14px #ffd45326,0 0 15px #ffd4532e}.energy-bolt{filter:drop-shadow(0 0 8px #ffd453cc);font-size:clamp(14px,2.6vw,25px);position:absolute}.grid-cell.owned.player{background:radial-gradient(circle at 35% 30%, #c2fff373, transparent 18%), linear-gradient(145deg, var(--player), var(--player-deep));border-color:#4af0d170;box-shadow:inset 0 0 20px #ffffff1f,0 0 16px #4af0d133}.grid-cell.owned.com{background:radial-gradient(circle at 35% 30%, #ffd7dd66, transparent 18%), linear-gradient(145deg, var(--com), var(--com-deep));border-color:#ff566f78;box-shadow:inset 0 0 20px #ffffff1a,0 0 16px #ff566f33}.cell-core{aspect-ratio:1;opacity:0;background:#ffffff70;border-radius:50%;width:21%;box-shadow:0 0 12px #ffffff57}.owned .cell-core{opacity:1}.grid-cell.flashing{z-index:4;animation:.42s cubic-bezier(.18,.8,.24,1) tile-impact}.grid-cell.blast-center{z-index:6;box-shadow:0 0 0 5px #ffd45329,0 0 42px #ffd453b8}.shockwave{z-index:7;aspect-ratio:1;pointer-events:none;border:5px solid;border-radius:clamp(20px,4vw,42px);width:300%;animation:.72s cubic-bezier(.12,.72,.18,1) both shockwave;position:absolute;top:50%;left:50%}.grid-cell.player .shockwave{color:var(--player);box-shadow:0 0 24px #4af0d1d9,inset 0 0 24px #4af0d159}.grid-cell.com .shockwave{color:var(--com);box-shadow:0 0 24px #ff566fd9,inset 0 0 24px #ff566f59}@keyframes tile-impact{0%{filter:brightness(2.3);transform:scale(.88)}55%{filter:brightness(1.5);transform:scale(1.12)}to{filter:brightness();transform:scale(1)}}@keyframes shockwave{0%{opacity:1;transform:translate(-50%,-50%)scale(.08)}38%{opacity:.9}to{opacity:0;transform:translate(-50%,-50%)scale(1)}}@keyframes impact-word{0%{opacity:0;filter:blur(8px);transform:translate(-50%,-50%)scale(2.2)rotate(-4deg)}28%{opacity:1;filter:blur();transform:translate(-50%,-50%)scale(.9)rotate(1deg)}65%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-62%)scale(1.08)}}@keyframes charge-burst{0%{opacity:0;transform:scale(.35)rotate(-12deg)}24%{opacity:1}to{opacity:0;transform:scale(1.25)rotate(8deg)}}@keyframes gauge-charge{0%{filter:brightness(3);transform:scaleX(.2)}55%{filter:brightness(2);transform:scaleX(1.35)}to{filter:brightness();transform:scaleX(1)}}@keyframes energy-pulse{0%,to{filter:brightness();transform:scale(1)}50%{filter:brightness(1.35);transform:scale(1.045)}}@keyframes critical-pulse{0%,to{filter:brightness()}50%{filter:brightness(1.32)}}.side-panel{flex-direction:column;gap:11px;display:flex}.status-card,.rules,.simple-note{border:1px solid var(--line);background:#11131ec7;border-radius:17px}.status-card{min-height:120px;padding:18px}.status-card>strong{font-size:17px;line-height:1.45;display:block}.blast-readout{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.blast-readout span{color:var(--player);font-family:var(--font-geist-mono), monospace;background:#4af0d117;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700}.rules{padding:18px}.rules ol{gap:14px;margin:14px 0 0;padding:0;list-style:none;display:grid}.rules li{color:#d4d8e9;align-items:center;gap:10px;font-size:13px;display:flex}.rules li span{border:1px solid var(--line);height:25px;color:var(--muted);font-family:var(--font-geist-mono), monospace;border-radius:50%;flex:0 0 25px;place-items:center;font-size:10px;display:grid}.simple-note{align-items:center;gap:11px;padding:14px;display:flex}.note-icon{height:38px;color:var(--impact);font-family:var(--font-geist-mono), monospace;background:#ffd4531a;border-radius:11px;flex:0 0 38px;place-items:center;font-size:17px;font-weight:800;display:grid}.simple-note strong{font-size:12px}.simple-note p{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.45}.result-overlay{z-index:20;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px);background:#05060bc7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.result-card{text-align:center;background:#131522;border:1px solid #4af0d140;border-radius:23px;width:min(390px,100%);padding:34px;box-shadow:0 30px 100px #0000008c}.result-card>p{color:var(--player);font-family:var(--font-geist-mono), monospace;letter-spacing:.17em;margin:0 0 8px;font-size:10px}.result-card h2{letter-spacing:-.06em;margin:0 0 24px;font-size:50px}.result-card button{background:var(--player);color:#05221d;cursor:pointer;border:0;border-radius:12px;width:100%;min-height:47px;font-size:13px;font-weight:800}@media (width<=800px){.game-layout{grid-template-columns:1fr}.side-panel{grid-template-columns:1fr 1fr;display:grid}.simple-note{grid-column:1/-1}}@media (width<=560px){.game-shell{width:min(100% - 16px,1060px);padding-top:19px}.hero{flex-direction:column;align-items:flex-start;gap:16px}.hero-actions{width:100%}.reset-top,.demo-top{flex:1}.score-strip{min-height:68px;padding-inline:11px}.mode-switcher{gap:4px}.mode-switcher button{flex-direction:column;gap:1px;min-height:44px}.score-mark{display:none}.score strong{font-size:24px}.board-panel{border-radius:16px;padding:9px}.board{gap:4px}.grid-cell{border-radius:8px}.side-panel{grid-template-columns:1fr}.simple-note{grid-column:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
