* {
box-sizing: border-box;
}
html,
body {
margin: 0;
height: 100%;
font-family: system-ui, sans-serif;
}
.app {
display: flex;
height: 100vh;
background: #101014;
color: #e8e8ea;
}
.sidebar {
width: 300px;
padding: 16px;
background: #1a1a20;
border-right: 1px solid #2c2c34;
display: flex;
flex-direction: column;
gap: 8px;
overflow-y: auto;
}
.sidebar h1 {
margin: 0;
font-size: 22px;
}
.tag {
margin: 0 0 12px;
color: #8a8a94;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
}
.sidebar button {
padding: 8px 12px;
background: #3b6fd4;
color: #fff;
border: 0;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
}
.sidebar button:hover {
background: #4a7ee4;
}
.status {
font-size: 13px;
color: #c8c8d0;
word-break: break-word;
}
.hint {
font-size: 12px;
color: #8a8a94;
}
.row {
display: flex;
gap: 6px;
align-items: center;
font-size: 13px;
cursor: pointer;
}
.fitinfo {
font-size: 12px;
color: #9fd09f;
font-variant-numeric: tabular-nums;
}
.hover {
font-size: 14px;
font-weight: 600;
color: #ffffff;
}
.dim {
opacity: 0.6;
}
.hidden-file {
display: none;
}
.main {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.canvaswrap {
flex: 1;
position: relative;
min-height: 0;
}
canvas.viewport {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
touch-action: none;
cursor: grab;
}
canvas.compass {
display: block;
width: 100%;
touch-action: none;
cursor: ew-resize;
}
.section {
margin-top: 14px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
color: #8a8a94;
border-bottom: 1px solid #2c2c34;
padding-bottom: 3px;
}
.slider {
display: flex;
flex-direction: column;
gap: 2px;
margin-top: 8px;
}
.sliderhead {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #c8c8d0;
}
.slider input[type="range"] {
width: 100%;
}
.numrow {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
font-size: 13px;
margin-top: 6px;
}
.numrow input {
width: 130px;
padding: 4px 6px;
background: #24242c;
color: #e8e8ea;
border: 1px solid #34343e;
border-radius: 4px;
}