.energy-meter{position:relative;isolation:isolate;min-height:46px;background:#132e39;border:1px solid #84cadc;border-radius:5px;overflow:hidden;padding:7px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f2f8ef;font-variant-numeric:tabular-nums}.energy-meter i{position:absolute;inset:0 auto 0 0;z-index:-1;pointer-events:none}.energy-fill{background:#307e9d;transition:width .18s ease-out}.energy-preview{background:repeating-linear-gradient(120deg,#d4a744cc 0 5px,#8a6e2d 5px 8px);transition:width .12s,left .12s}.energy-message{font-size:.78rem}.energy-meter[data-unaffordable=true]{background:#633b3b;border-color:#b27b77}.energy-meter[data-unaffordable=true] .energy-fill{background:#87504f}.energy-meter[data-unaffordable=true] .energy-preview{background:#a06c65}
.kore-cost{display:inline-block;position:relative;width:42px;height:42px;flex-shrink:0;color:#b6e9ff}.kore-cost svg{width:100%;height:100%;overflow:visible}.kore-inner{fill:#12323d;stroke:#69b9d0;stroke-width:1.2;transform-origin:24px 24px;animation:kore-turn 36s linear infinite reverse}.kore-dots{fill:#b6e9ff;stroke:#193d4a;stroke-width:.5;transform-origin:24px 24px;animation:kore-turn 30s linear infinite}.kore-cost b{position:absolute;inset:0;display:grid;place-items:center;font-size:13px}.card-glyph{display:block;width:48px;height:48px;color:#f2e5c1}.card-glyph svg{width:100%;height:100%}.card-key,.combat-key{font:bold 20px/1 system-ui;color:#fff5c7;background:#12251f;border:1px solid #a69869;border-radius:4px;padding:4px 7px;display:inline-block}.combat-card-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.card.unaffordable{border-color:#ae7771}.card[aria-pressed=true]{outline:2px solid #f2ce76}.card .card-glyph{float:right}.card .kore-cost{float:right;margin-top:-2px}.card strong{font-size:1rem;clear:both;padding-top:3px}.card small{font-size:.74rem}.card img{display:none}
@keyframes kore-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.kore-inner,.kore-dots{animation:none}.energy-fill,.energy-preview{transition:none}}
.damage-number{position:absolute;pointer-events:none;font:bold 23px/1 system-ui;color:#fff2db;text-shadow:0 2px 3px #000,1px 0 #000,-1px 0 #000;white-space:nowrap;transform:translate(-50%,-100%);z-index:9}.damage-number[data-kind=shield]{color:#a1e4ff}.damage-number[data-kind=evade]{color:#d2e9b0}.combat-display-options{font-size:.85rem}.combat-display-options input{width:auto;margin-right:8px}

.hand-area .energy-meter{margin-bottom:8px}.hand-card .card-cost{background:none;border:0;width:44px;height:44px;padding:0;top:4px;right:4px}.hand-card .card-glyph{position:absolute;left:8px;top:8px;width:38px;height:38px}.hand-card img{visibility:hidden}.hand-card .card-key{font-size:19px}.hand-card .kore-cost{width:40px;height:40px}#hand .hand-card{min-width:0;flex:1 1 95px;max-width:190px}.hand-row #hand{display:flex;flex-wrap:wrap}.in-match .resources>span:first-child{display:none}@media(max-width:700px){.hand-row #hand{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.hand-row #hand .hand-card{width:auto;max-width:none;padding:5px}.hand-card .card-glyph{width:23px;height:23px;left:4px;top:6px}.hand-card .card-cost{width:27px;height:27px;right:2px}.hand-card .kore-cost{width:26px;height:26px}.hand-card .card-key{font-size:16px}.hand-card strong{font-size:11px;overflow-wrap:anywhere}.hand-card .category{font-size:7px;padding:2px}.hand-card .card-meta{font-size:8px}}

.energy-meter[hidden]{display:none}
#combat-grafts{position:absolute;z-index:2;top:52px;left:12px;right:160px;width:fit-content;max-width:calc(100% - 180px);margin:0;padding:5px 10px;background:#14231ee8;border:1px solid #746a94;border-radius:3px;color:#d1c6e9;font:10px/1.5 ui-monospace,monospace;pointer-events:none}#combat-grafts:empty{display:none}#combat-grafts[data-ready=true]{color:#e5ddff;text-shadow:0 0 10px #bca1ff;animation:membrane-shimmer 3s ease-in-out infinite}@keyframes membrane-shimmer{50%{text-shadow:0 0 18px #c5b0ff}}@media(max-width:700px){#combat-grafts{top:60px;right:110px;max-width:calc(100% - 125px);font-size:8px;padding:4px 6px}}@media(prefers-reduced-motion:reduce){#combat-grafts{animation:none!important}}
#mission-status{padding:8px 0;color:#ebd9a1;font:12px/1.6 ui-monospace,monospace}#mission-status:empty{display:none}#mission-interact,#withdraw-mission{display:block;margin:10px 0 0;font-size:12px;width:100%}#mission-interact[hidden],#withdraw-mission[hidden]{display:none}@media(max-width:700px){#mission-status{flex-basis:100%;font-size:10px;padding:0}#mission-interact,#withdraw-mission{width:auto;font-size:11px;margin:0}}

/* Larger, brighter card-cost orbitals; no motion when reduced motion is requested. */
.kore-inner{stroke:#a4e3f4;stroke-width:1.7;animation-duration:16s}.kore-dots{fill:#d0f4ff;animation-duration:12s}
body.combat-console .combat-card-top .kore-cost{width:36px;height:36px}
#hand .hand-card .card-cost{width:50px;height:50px}#hand .hand-card .kore-cost{width:48px;height:48px}
@media(max-width:760px){body.combat-console .combat-card-top .kore-cost{width:34px;height:34px}#hand .hand-card .card-cost{width:38px;height:38px}#hand .hand-card .kore-cost{width:36px;height:36px}}

.card-values{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0;clear:both}.card-values>span{display:inline-flex;align-items:baseline;gap:4px;color:#f5ebca}.card-values b{font:800 21px/1.05 system-ui}.card-values>span>span{font:10px/1.1 system-ui}.card-values [data-effect=shield]{color:#bae8f1}.card-values [data-effect=dash],.card-values [data-effect=step],.card-values [data-effect=leap]{color:#d4e99e}.card-values[hidden]{display:none}@media(max-width:760px){.card-values{gap:3px;margin:3px 0}.card-values b{font-size:18px}.card-values>span>span{font-size:8px}}
.damage-number[data-tone=dealt],.damage-label[data-tone=dealt]{color:#fff}
.damage-number[data-tone=taken],.damage-label[data-tone=taken]{color:#ff666b}
.damage-number[data-tone=reduced-dealt],.damage-label[data-tone=reduced-dealt]{color:#a5abb4}
.damage-number[data-tone=reduced-taken],.damage-label[data-tone=reduced-taken]{color:#b97e86}
.damage-number[data-enhanced=true],.damage-label[data-enhanced=true]{-webkit-text-stroke:.55px #a2e8ff;text-shadow:0 0 3px #6fd7ff,0 0 7px #337f9f,0 2px 3px #000;paint-order:stroke fill}
