257 lines
4.4 KiB
CSS
257 lines
4.4 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body.maze-page {
|
|
background:
|
|
radial-gradient(circle at top, #1c2733 0%, #0a0f15 55%, #06080c 100%);
|
|
color: #e8eef6;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
}
|
|
|
|
.canvas-stage {
|
|
position: relative;
|
|
}
|
|
|
|
.maze-layout {
|
|
width: min(1200px, calc(100vw - 24px));
|
|
margin: 12px auto 20px;
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.panel {
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
background: rgba(7, 12, 18, 0.72);
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-label {
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
font-size: 12px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: #93a4b8;
|
|
}
|
|
|
|
#renderCanvas {
|
|
width: 100%;
|
|
height: min(76vh, 820px);
|
|
}
|
|
|
|
.canvas-hud {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 14px;
|
|
z-index: 2;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
background: rgba(6, 10, 15, 0.72);
|
|
border: 1px solid rgba(121, 174, 242, 0.3);
|
|
backdrop-filter: blur(8px);
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-hud-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: #93a4b8;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.canvas-hud-value {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
color: #eef5ff;
|
|
text-shadow: 0 0 12px rgba(121, 174, 242, 0.35);
|
|
}
|
|
|
|
.canvas-hud-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
font-size: 11px;
|
|
color: #dbe6f2;
|
|
}
|
|
|
|
.canvas-hud-row span {
|
|
color: #93a4b8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.canvas-hud-row strong {
|
|
color: #79aef2;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.control-panel {
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
max-height: 400px;
|
|
}
|
|
|
|
.control-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.control-group h3 {
|
|
margin: 0 0 12px;
|
|
font-size: 13px;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: #93a4b8;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.button-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.game-button {
|
|
padding: 10px 16px;
|
|
background: #17314c;
|
|
border: 1px solid #284055;
|
|
border-radius: 8px;
|
|
color: #eef5ff;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
flex: 1;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.game-button:hover {
|
|
background: #1f3a57;
|
|
border-color: #3a5070;
|
|
box-shadow: 0 4px 12px rgba(125, 180, 255, 0.15);
|
|
}
|
|
|
|
.game-button:active {
|
|
background: #17314c;
|
|
border-color: #7db4ff;
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.slider-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
font-size: 13px;
|
|
color: #dbe6f2;
|
|
}
|
|
|
|
.slider-group label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.slider-group input[type="range"] {
|
|
flex: 1;
|
|
min-width: 100px;
|
|
height: 6px;
|
|
background: #1f3a57;
|
|
border: none;
|
|
border-radius: 3px;
|
|
outline: none;
|
|
-webkit-appearance: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.slider-group input[type="range"]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 18px;
|
|
height: 18px;
|
|
background: #79aef2;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 6px rgba(121, 174, 242, 0.4);
|
|
}
|
|
|
|
.slider-group input[type="range"]::-moz-range-thumb {
|
|
width: 18px;
|
|
height: 18px;
|
|
background: #79aef2;
|
|
border: none;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 6px rgba(121, 174, 242, 0.4);
|
|
}
|
|
|
|
.slider-group span {
|
|
min-width: 30px;
|
|
text-align: right;
|
|
color: #79aef2;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-display {
|
|
background: rgba(25, 40, 55, 0.5);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.status-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 0;
|
|
color: #dbe6f2;
|
|
}
|
|
|
|
.status-line strong {
|
|
color: #93a4b8;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.status-line span {
|
|
color: #79aef2;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-message {
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: #91a4b8;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.maze-layout {
|
|
width: calc(100vw - 16px);
|
|
margin: 8px auto 16px;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#renderCanvas {
|
|
height: 52vh;
|
|
}
|
|
}
|