/* Shared pixel chrome: 48px SVG nine-slice artwork; corners never stretch.
   Reuse .pixel-button079 / .pixel-panel079 with data-tone="gold|silver|teal".
   Artwork stays decorative; existing DOM labels, focus and click handlers remain. */
:root{--pixel-gold079:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20shape-rendering%3D%22crispEdges%22%3E%0A%3Cpath%20fill%3D%22%2307131e%22%20d%3D%22M6%200H42V2H46V6H48V42H46V46H42V48H6V46H2V42H0V6H2V2H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23deb96a%22%20d%3D%22M6%202H42V4H44V6H46V42H44V44H42V46H6V44H4V42H2V6H4V4H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23fff1b3%22%20d%3D%22M6%202H42V4H8V6H6V40H4V6H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23886037%22%20d%3D%22M42%206H44V42H42V44H6V42H40V40H42Z%22%2F%3E%0A%3Cpath%20fill%3D%22%2334302e%22%20d%3D%22M10%206H38V8H40V10H42V38H40V40H38V42H10V40H8V38H6V10H8V8H10Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23133b49%22%20d%3D%22M12%208H36V10H38V12H40V36H38V38H36V40H12V38H10V36H8V12H10V10H12Z%22%2F%3E%0A%3Cpath%20fill%3D%22%230c2635%22%20d%3D%22M8%2032H40V36H38V38H36V40H12V38H10V36H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23886037%22%20d%3D%22M12%208H36V10H12ZM10%2010H12V12H10ZM8%2012H10V30H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%2334302e%22%20d%3D%22M5%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2363d4df%22%20d%3D%22M6%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23fff1b3%22%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%2334302e%22%20d%3D%22M39%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2363d4df%22%20d%3D%22M40%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23fff1b3%22%20x%3D%2240%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%2334302e%22%20d%3D%22M5%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2363d4df%22%20d%3D%22M6%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23fff1b3%22%20x%3D%226%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%2334302e%22%20d%3D%22M39%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2363d4df%22%20d%3D%22M40%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23fff1b3%22%20x%3D%2240%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3C%2Fsvg%3E');--pixel-teal079:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20shape-rendering%3D%22crispEdges%22%3E%0A%3Cpath%20fill%3D%22%2307131e%22%20d%3D%22M6%200H42V2H46V6H48V42H46V46H42V48H6V46H2V42H0V6H2V2H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%2369acac%22%20d%3D%22M6%202H42V4H44V6H46V42H44V44H42V46H6V44H4V42H2V6H4V4H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23c2f5e9%22%20d%3D%22M6%202H42V4H8V6H6V40H4V6H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23356773%22%20d%3D%22M42%206H44V42H42V44H6V42H40V40H42Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23183642%22%20d%3D%22M10%206H38V8H40V10H42V38H40V40H38V42H10V40H8V38H6V10H8V8H10Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23153b49%22%20d%3D%22M12%208H36V10H38V12H40V36H38V38H36V40H12V38H10V36H8V12H10V10H12Z%22%2F%3E%0A%3Cpath%20fill%3D%22%230c2635%22%20d%3D%22M8%2032H40V36H38V38H36V40H12V38H10V36H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23356773%22%20d%3D%22M12%208H36V10H12ZM10%2010H12V12H10ZM8%2012H10V30H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23183642%22%20d%3D%22M5%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%23f2d78e%22%20d%3D%22M6%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23c2f5e9%22%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23183642%22%20d%3D%22M39%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%23f2d78e%22%20d%3D%22M40%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23c2f5e9%22%20x%3D%2240%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23183642%22%20d%3D%22M5%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%23f2d78e%22%20d%3D%22M6%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23c2f5e9%22%20x%3D%226%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23183642%22%20d%3D%22M39%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%23f2d78e%22%20d%3D%22M40%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23c2f5e9%22%20x%3D%2240%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3C%2Fsvg%3E');--pixel-silver079:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20shape-rendering%3D%22crispEdges%22%3E%0A%3Cpath%20fill%3D%22%2307131e%22%20d%3D%22M6%200H42V2H46V6H48V42H46V46H42V48H6V46H2V42H0V6H2V2H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%2394aab0%22%20d%3D%22M6%202H42V4H44V6H46V42H44V44H42V46H6V44H4V42H2V6H4V4H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23e1e9e3%22%20d%3D%22M6%202H42V4H8V6H6V40H4V6H6Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23506876%22%20d%3D%22M42%206H44V42H42V44H6V42H40V40H42Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23263944%22%20d%3D%22M10%206H38V8H40V10H42V38H40V40H38V42H10V40H8V38H6V10H8V8H10Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23253b49%22%20d%3D%22M12%208H36V10H38V12H40V36H38V38H36V40H12V38H10V36H8V12H10V10H12Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23152735%22%20d%3D%22M8%2032H40V36H38V38H36V40H12V38H10V36H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23506876%22%20d%3D%22M12%208H36V10H12ZM10%2010H12V12H10ZM8%2012H10V30H8Z%22%2F%3E%0A%3Cpath%20fill%3D%22%23263944%22%20d%3D%22M5%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2385c9dc%22%20d%3D%22M6%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23e1e9e3%22%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23263944%22%20d%3D%22M39%204h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2385c9dc%22%20d%3D%22M40%205h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23e1e9e3%22%20x%3D%2240%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23263944%22%20d%3D%22M5%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2385c9dc%22%20d%3D%22M6%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23e1e9e3%22%20x%3D%226%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3Cpath%20fill%3D%22%23263944%22%20d%3D%22M39%2038h4v1h1v4h-1v1h-4v-1h-1v-4h1Z%22%2F%3E%3Cpath%20fill%3D%22%2385c9dc%22%20d%3D%22M40%2039h2v1h1v2h-1v1h-2v-1h-1v-2h1Z%22%2F%3E%3Crect%20fill%3D%22%23e1e9e3%22%20x%3D%2240%22%20y%3D%2239%22%20width%3D%221%22%20height%3D%221%22%2F%3E%3C%2Fsvg%3E')}
html.pixel-ui038 :is(.pixel-button079,#outcome075 button,#result button,#pausePanel button,.px-dialog button,#atlasV3 .close,#atlasV3 .flow-nav048 button,#atlasV3 .v3-tabs button,#atlasV3 .v3-racebar>button,#atlasV3 .v3-tier-filters button,#atlasV3 .flow-hero048>button,#synergyGuide .close){--pixel-frame079:var(--pixel-teal079);border:2px solid transparent;border-radius:0;border-image:var(--pixel-frame079) 12 fill / 10px / 0 stretch;background:transparent;box-shadow:0 3px 0 #06131c;color:#e3f4eb;text-shadow:1px 2px 0 #071925;image-rendering:pixelated;transition:filter .12s;cursor:pointer}
html.pixel-ui038 :is(.pixel-button079,#outcome075 button,#result button,#pausePanel button,.px-dialog button,#atlasV3 .close,#atlasV3 .flow-nav048 button,#atlasV3 .v3-tabs button,#atlasV3 .v3-racebar>button,#atlasV3 .v3-tier-filters button,#atlasV3 .flow-hero048>button,#synergyGuide .close):hover:not(:disabled){filter:brightness(1.18)}
html.pixel-ui038 :is(.pixel-button079,#outcome075 button,#result button,#pausePanel button,.px-dialog button,#atlasV3 .close,#atlasV3 .flow-nav048 button,#atlasV3 .v3-tabs button,#atlasV3 .v3-racebar>button,#atlasV3 .v3-tier-filters button,#atlasV3 .flow-hero048>button,#synergyGuide .close):active:not(:disabled){filter:brightness(.88);box-shadow:0 1px 0 #06131c}
html.pixel-ui038 :is(.pixel-button079,#outcome075 button,#result button,#pausePanel button,.px-dialog button,#atlasV3 .close,#atlasV3 .flow-nav048 button,#atlasV3 .v3-tabs button,#atlasV3 .v3-racebar>button,#atlasV3 .v3-tier-filters button,#atlasV3 .flow-hero048>button,#synergyGuide .close):focus-visible{outline:2px solid #fff0a4;outline-offset:3px}
html.pixel-ui038 :is(.pixel-button079,#outcome075 button,#result button,#pausePanel button,.px-dialog button,#atlasV3 .close,#atlasV3 .flow-nav048 button,#atlasV3 .v3-tabs button,#atlasV3 .v3-racebar>button,#atlasV3 .v3-tier-filters button,#atlasV3 .flow-hero048>button,#synergyGuide .close):disabled{filter:grayscale(.65);opacity:.5;cursor:default}
html.pixel-ui038 :is(.pixel-button079[data-tone=gold],#outcome075 button,#result #again,#pausePanel #continue,.px-dialog .px-primary,#atlasV3 .flow-hero048>.primary,#atlasV3 button.active,#result button[aria-pressed=true]){--pixel-frame079:var(--pixel-gold079);color:#fff0bc}
html.pixel-ui038 :is(.pixel-button079[data-tone=silver],#result .close,#result #resultClose058,#pausePanel #quit,.px-dialog .px-close,#atlasV3 .close,#synergyGuide .close){--pixel-frame079:var(--pixel-silver079)}
html.pixel-ui038 :is(.pixel-panel079,#result .result-card,#pausePanel .pause-card,.px-dialog,#atlasV3 .codex-shell,#synergyGuide .codex-shell){border:3px solid transparent;border-radius:0;border-image:var(--pixel-gold079) 12 fill / 14px / 0 stretch;background:transparent;box-shadow:0 6px 0 #030e17,0 12px 30px #0008;image-rendering:pixelated}
html.pixel-ui038 #outcome075 button{min-width:180px;min-height:52px;padding:14px 32px;letter-spacing:.1em;border-image-width:12px}
html.pixel-ui038 .pixel-button079{padding:10px 20px;min-height:42px;font:inherit}
@media(max-height:420px){html.pixel-ui038 #outcome075 button{min-height:44px;padding:10px 26px}}
@media(prefers-reduced-motion:reduce){html.pixel-ui038 .pixel-button079{transition:none}}
