killvung's picture
Deploy player-agent grid game
2a4a39b verified
Raw
History Blame Contribute Delete
2.31 kB
body {
margin: 0;
font-family: Arial, sans-serif;
background: #111;
color: #eee;
}
main {
max-width: 1120px;
margin: 24px auto;
padding: 0 16px;
}
#hud {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
margin: 12px 0;
}
#policyDescription {
margin: 6px 0 12px;
padding: 10px 12px;
border: 1px solid #333;
border-radius: 8px;
background: #151821;
color: #cfd6e6;
font-size: 0.92rem;
line-height: 1.35;
}
#policyDescription strong {
color: #fff;
}
#policyDescription code {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.9em;
}
label {
font-size: 0.9rem;
}
select {
padding: 6px 8px;
border-radius: 6px;
border: 1px solid #444;
background: #20242b;
color: #eee;
}
button {
padding: 8px 12px;
border: none;
border-radius: 6px;
cursor: pointer;
}
#debugControls {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
margin-bottom: 12px;
font-size: 0.9rem;
}
#epsilonSlider {
vertical-align: middle;
width: 140px;
}
canvas {
border: 1px solid #444;
background: #20242b;
flex: 0 0 auto;
}
#gameLayout {
display: flex;
align-items: flex-start;
justify-content: center;
gap: 16px;
}
#debugPanel {
margin-top: 0;
padding: 12px 16px;
border: 1px solid #444;
border-radius: 8px;
background: #181b22;
font-size: 0.9rem;
flex: 1 1 320px;
min-width: 280px;
max-width: 520px;
}
#debugPanel h2,
#debugPanel h3 {
margin: 0 0 8px;
font-size: 1rem;
}
#debugPanel h3 {
margin-top: 16px;
}
#debugFields {
display: grid;
grid-template-columns: max-content 1fr;
gap: 4px 12px;
margin: 0;
}
#debugFields dt {
color: #9aa3b2;
}
#debugFields dd {
margin: 0;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
word-break: break-all;
}
#debugStats {
margin: 0;
padding-left: 20px;
}
#decisionLog {
margin: 0;
padding-left: 20px;
max-height: 180px;
overflow-y: auto;
}
#decisionLog li {
margin-bottom: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.82rem;
}
.mode-exploit {
color: #6ecf8f;
}
.mode-explore {
color: #f4c542;
}
@media (max-width: 980px) {
#gameLayout {
flex-direction: column;
}
#debugPanel {
max-width: none;
width: 100%;
}
}