@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;800;900&family=Inter:wght@400;500;700&display=swap');
:root{color-scheme:dark;--gold:#00c853;--bg:#050706}*{box-sizing:border-box}body{margin:0;background:#050706;color:#f0eada;font-family:Inter,Arial,sans-serif}button,select{font:inherit}button{cursor:pointer;border:1px solid #475055;background:transparent;color:inherit;padding:11px 17px;font-size:11px;font-weight:700;letter-spacing:1px}button:hover{border-color:#00c853;color:#00c853}header{height:80px;display:flex;align-items:center;gap:28px;padding:0 5%;border-bottom:1px solid #ffffff16}header a{font-size:32px;font-weight:900;color:#00c853;text-decoration:none;display:flex;align-items:center;gap:16px}header a span{font-size:12px;color:#e4dece;letter-spacing:2px}header>div{margin-left:auto;font-size:10px;color:#91999d;letter-spacing:2px}header b{color:#00c853;padding:7px;border:1px solid #ff3434;margin-left:8px}main{max-width:1240px;margin:auto;padding:0 40px}.heading{padding:45px 0 35px}.heading p,.eyebrow{color:#00c853;letter-spacing:3px;font-size:10px;font-weight:700}h1,h2,h3{font-family:'Barlow Condensed',Impact,sans-serif}h1{font-size:clamp(45px,7vw,84px);margin:8px 0;line-height:1}h1 em{color:#00c853;font-style:normal}.heading>div{color:#899398;font-size:12px}.sectionhead{display:flex;align-items:center;justify-content:space-between}.sectionhead h2{font-size:22px;letter-spacing:1px}.sectionhead span{color:#9aa3a6;font-size:11px}#roster{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.card{position:relative;padding:0;text-align:left;background:#101713;border:1px solid #334047;overflow:hidden;letter-spacing:0}.card canvas{width:100%;height:140px;display:block}.card.selected{border:2px solid #00c853;box-shadow:0 0 22px #00c85315}.card .label{padding:10px;min-height:60px}.card strong{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:19px}.card small{display:block;font-size:9px;color:#94a2a7;margin-top:4px}.card.locked{opacity:.5}.card .tag{position:absolute;top:8px;left:8px;background:#10181ce8;padding:4px 6px;font-size:8px;color:#c6bca7}.launch{display:flex;align-items:center;justify-content:space-between;background:#101713;padding:22px;margin-top:18px;border-left:3px solid #00c853}.launch h3{font-size:28px;margin:0}.launch p{margin:5px 0;color:#adb9bd;font-size:12px}.launch small{font-size:10px;color:#c4b18e}.launch label{font-size:9px;letter-spacing:1px;display:block;margin-bottom:12px}select{margin-left:10px;padding:7px;background:#050706;border:1px solid #435057;color:#ddd;font-size:11px}#start{background:#00c853;color:#050706;border:0;padding:15px 24px}#start span{margin-left:20px}.guide{display:grid;grid-template-columns:1fr 2fr;gap:40px;padding:32px 0}.guide h2{margin:0;font-size:28px}.guide p:not(.eyebrow){font-size:12px;color:#909ba0;line-height:1.6}.keys{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;align-content:center}.keys span{font-size:10px;color:#a7b0b4}kbd{display:inline-block;min-width:24px;text-align:center;padding:5px;border:1px solid #435158;color:#e9e1cf;margin-right:5px;font:10px Inter,Arial}details{font-size:12px;color:#9fa9ad;border-top:1px solid #ffffff19;padding:20px 0;line-height:1.7}summary{cursor:pointer;color:#c2c4ba}details a{color:#00c853;margin-right:20px}footer{padding:25px 5%;border-top:1px solid #ffffff19;color:#888;font-size:10px;letter-spacing:2px}footer span{float:right}.arenahead{display:flex;gap:10px;align-items:center;font-size:10px;letter-spacing:2px;margin-bottom:8px}.arenahead span{margin-right:auto;color:#c1b99e}#game{width:100%;display:block;background:#050706;outline:none;border:1px solid #47565c}#arena{position:relative}.movebar{display:flex;justify-content:space-between;font-size:10px;padding:14px;background:#101713;color:#b8c2bd}#result{padding:25px;text-align:center;background:#101713}#result h2{color:#00c853;font-size:35px;margin:0}#result p{font-size:12px}#result button{margin:8px}[hidden]{display:none!important}@media(max-width:800px){main{padding:0 18px}#roster{grid-template-columns:repeat(3,1fr)}.guide{grid-template-columns:1fr;gap:5px}.launch{display:block}.launch>div+div{margin-top:18px}header a span{display:none}.keys{grid-template-columns:repeat(2,1fr)}.card canvas{height:110px}.arenahead{letter-spacing:0}footer span{display:none}}
#modeMenu{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 25px}#modeMenu button{text-align:left;background:#101713;padding:16px;font-size:15px;color:#c6cece}#modeMenu small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#94a4aa;margin-top:7px}#modeMenu .active{border-color:#00c853;color:#00c853;background:#102b1a}#transport,#cameraControls{display:flex;gap:18px;align-items:center;padding:12px 15px;background:#101713;font-size:10px;border-bottom:1px solid #3d4b51;flex-wrap:wrap}#transport span{margin-left:auto;color:#b7c7c9}#cameraControls label{display:flex;gap:10px;align-items:center;color:#b8c4c5}input[type=range]{width:140px;accent-color:#00c853}#moveExplanation{font-size:12px;color:#cbd2ce;line-height:1.7;background:#101713;padding:15px;border-left:3px solid #00c853}#moveExplanation strong{color:#00c853}.launch{gap:25px}.launch>div:first-child{max-width:57%}.launch small{line-height:1.7}.card:focus-visible,button:focus-visible,select:focus-visible{outline:2px solid #00c853;outline-offset:3px}button:disabled{cursor:default}.card.locked canvas{filter:grayscale(.6)}@media(max-width:800px){#modeMenu{grid-template-columns:1fr}#modeMenu button{padding:12px}#modeMenu small{display:inline;margin-left:10px}.launch>div:first-child{max-width:none}.movebar{gap:15px;line-height:1.5}.arenahead{flex-wrap:wrap}.arenahead span{width:100%;margin-bottom:8px}}

#fofApp{background:#050706;color:#f0eada;min-height:100vh;font-family:Inter,Arial,sans-serif}#start{display:inline-block;opacity:1;background:#00c853!important;color:#050706!important;border:2px solid #00c853!important;min-height:48px;box-shadow:0 2px 12px #0005}#start:hover{background:#33e57b!important;color:#050706!important}
/* Touch dock occupies its own row, never the fighter canvas. Desktop stays unchanged. */
#touchControls,.touchGuide{display:none}
@media (any-pointer:coarse){
 .guide{display:none}.touchGuide{display:block;font-size:11px;color:#adb9bd;margin:6px 0}
 #touchControls:not([hidden]){display:flex;justify-content:space-between;gap:12px;background:#050706;padding:7px 0;touch-action:none;user-select:none;-webkit-user-select:none}
 #touchControls button{touch-action:none;min-width:44px;min-height:44px;padding:5px;font-size:10px;letter-spacing:0;border-radius:7px;background:#14251b;color:#f0eada;-webkit-touch-callout:none}
 #touchControls button.pressed{background:#00c853;color:#050706}
 .touchDirections{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}
 .touchDirections button:first-child{grid-column:2}.touchDirections button:nth-child(2){grid-column:1;grid-row:2}.touchDirections button:nth-child(3){grid-column:2;grid-row:2}.touchDirections button:nth-child(4){grid-column:3;grid-row:2}
 .touchAttacks{display:grid;grid-template-columns:repeat(3,minmax(44px,58px));grid-template-rows:repeat(2,44px);gap:4px}
 #touchFinish[hidden]{display:none}
 .touchPlaying header,.touchPlaying .heading,.touchPlaying footer,.touchPlaying details{display:none}
 .touchPlaying main{padding:4px max(8px,env(safe-area-inset-left)) 4px max(8px,env(safe-area-inset-right));max-width:none}
 .touchPlaying .arenahead{flex-wrap:wrap;gap:4px;padding:4px 0}.touchPlaying .arenahead button{min-height:36px;padding:6px;font-size:9px}
 .touchPlaying #game{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 200px);margin:auto;aspect-ratio:1100/560}
 .touchPlaying .movebar{font-size:10px;gap:4px;padding:5px 0}.touchPlaying #moveExplanation{font-size:11px}
}
@media (any-pointer:coarse) and (max-width:360px){.touchAttacks{grid-template-columns:repeat(3,44px)}#touchControls{gap:4px}}
@media (any-pointer:coarse){.touchPlaying #game{width:100%;object-fit:contain}.touchPlaying #combatMoves{display:none}}

/* Site branding follows the supplied emblem; fighter and arena palettes stay in the engine. */
:root{--brand-green:#00c853;--brand-red:#ff3434;--brand-black:#050706;--gold:var(--brand-green)}
body,#fofApp{background:var(--brand-black)}
header{border-bottom:2px solid #a91b26}.brandLogo{width:60px;height:60px;object-fit:contain;flex-shrink:0}
header a span{color:#f0eada}header b{color:var(--brand-red)}
.heading{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:30px}.heroLogo{width:180px;height:180px;object-fit:contain}.heroCopy>div{font-size:12px;color:#aab4ae}.heading .heroCopy{color:#f0eada}.heading p{color:var(--brand-red)}
.card.selected{border-color:var(--brand-green)}#modeMenu .active{box-shadow:inset 0 -3px var(--brand-red)}
@media(max-width:800px){.heading{grid-template-columns:100px 1fr;gap:14px}.heroLogo{width:100px;height:100px}.heading h1{font-size:clamp(36px,7vw,60px)}.heading p{font-size:8px;letter-spacing:1px}header{gap:14px}header a span{display:none}}
@media(max-width:480px){.heading{padding-top:28px}.heading h1{font-size:36px}.heroCopy>div{font-size:10px}}


header #sound{margin-left:auto}

.brandInitials{font:900 30px Barlow Condensed,Impact,sans-serif;letter-spacing:2px;color:#00c853}.card .label{min-height:80px}.card small{line-height:1.4;color:#bdc7bf}.launch p{line-height:1.6;font-size:13px;max-width:540px}@media(max-width:480px){.brandInitials{font-size:26px}}
