1000 lines
19 KiB
CSS
1000 lines
19 KiB
CSS
/* Screen-specific layouts for menu, auth, onboarding, dashboard, builder, config, map, launch, and debrief. Not much to say about this one I suppose :( #whatthehellisexpress.js */
|
|
.menu-root {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
pointer-events: none;
|
|
padding: 24px 24px 58px;
|
|
overflow-y: auto;
|
|
}
|
|
.menu-root .btn,
|
|
.menu-root .menu-card {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.menu-brand-pill {
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
letter-spacing: 0.25em;
|
|
text-transform: uppercase;
|
|
color: var(--brand-blue);
|
|
border: 1px solid var(--sim-accent-dim);
|
|
background: var(--badge-bg);
|
|
padding: 5px 14px;
|
|
margin-top: auto;
|
|
margin-bottom: 18px;
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
}
|
|
.menu-title {
|
|
font-family: var(--mono);
|
|
font-size: clamp(32px, 5.5vw, 66px);
|
|
font-weight: 800;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
color: var(--title-color);
|
|
text-shadow:
|
|
0 0 36px var(--sim-glow),
|
|
0 0 12px var(--sim-accent-dim);
|
|
}
|
|
.menu-title::after {
|
|
content: "";
|
|
display: block;
|
|
height: 2px;
|
|
margin: 12px auto 0;
|
|
width: 72%;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
var(--brand-blue),
|
|
transparent
|
|
);
|
|
}
|
|
.menu-subtitle {
|
|
color: var(--text-dim);
|
|
letter-spacing: 0.42em;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
font-family: var(--mono);
|
|
margin: 14px 0 36px;
|
|
text-align: center;
|
|
}
|
|
.menu-buttons {
|
|
display: flex;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin-bottom: auto;
|
|
}
|
|
.menu-buttons .btn {
|
|
min-width: 190px;
|
|
padding: 14px 28px;
|
|
font-size: 12px;
|
|
}
|
|
.menu-footer {
|
|
position: relative;
|
|
bottom: auto;
|
|
margin-top: 22px;
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
color: var(--text-faint);
|
|
letter-spacing: 0.16em;
|
|
font-family: var(--mono);
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-card {
|
|
width: min(580px, 100%);
|
|
padding: 28px;
|
|
}
|
|
.auth-card h2 {
|
|
font-size: 18px;
|
|
margin-bottom: 6px;
|
|
}
|
|
.auth-card .sub {
|
|
color: var(--text-dim);
|
|
font-size: 12px;
|
|
margin-bottom: 22px;
|
|
line-height: 1.5;
|
|
}
|
|
.auth-error {
|
|
color: var(--red);
|
|
font-size: 12px;
|
|
min-height: 16px;
|
|
font-family: var(--mono);
|
|
}
|
|
|
|
.diff-picker {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 8px;
|
|
}
|
|
.diff-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
text-align: left;
|
|
padding: 10px 12px;
|
|
text-transform: none;
|
|
letter-spacing: 0.02em;
|
|
font-weight: 500;
|
|
}
|
|
.diff-card .dc-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.diff-card .dc-sub {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
line-height: 1.35;
|
|
}
|
|
.diff-card .dc-meta {
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.onboard-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 340px;
|
|
gap: 20px;
|
|
height: 100%;
|
|
padding: 22px;
|
|
overflow: hidden;
|
|
}
|
|
.onboard-scroll {
|
|
overflow-y: auto;
|
|
padding-right: 6px;
|
|
min-width: 0;
|
|
}
|
|
.onboard-preview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
.onboard-preview-box {
|
|
height: 280px;
|
|
position: relative;
|
|
border: 1px solid var(--border);
|
|
background: var(--bg-deep);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dash-root {
|
|
display: grid;
|
|
grid-template-columns: 1fr 370px;
|
|
height: 100%;
|
|
}
|
|
.dash-viewport {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.dash-viewport canvas {
|
|
display: block;
|
|
}
|
|
.viewport-hud {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
pointer-events: none;
|
|
}
|
|
.viewport-hud-top {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
pointer-events: none;
|
|
}
|
|
.viewport-hud-top > * {
|
|
pointer-events: auto;
|
|
}
|
|
.dash-header {
|
|
position: relative;
|
|
top: auto;
|
|
left: auto;
|
|
right: auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px 12px;
|
|
flex-wrap: wrap;
|
|
padding: 10px 14px;
|
|
z-index: 5;
|
|
background: linear-gradient(
|
|
180deg,
|
|
var(--bg-header-fade),
|
|
rgba(10, 15, 24, 0.45)
|
|
);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
pointer-events: auto;
|
|
}
|
|
.dash-header > * {
|
|
pointer-events: auto;
|
|
min-width: 0;
|
|
}
|
|
.dash-header h1 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.dash-overlay-bottom {
|
|
position: relative;
|
|
bottom: auto;
|
|
left: auto;
|
|
right: auto;
|
|
z-index: 5;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
pointer-events: none;
|
|
}
|
|
.dash-overlay-bottom > * {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.dash-sidebar {
|
|
border-left: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
padding: 18px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
.dash-nav {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
margin-top: auto;
|
|
padding-top: 8px;
|
|
}
|
|
.dash-nav .btn {
|
|
justify-content: flex-start;
|
|
padding: 11px 12px;
|
|
font-size: 10px;
|
|
}
|
|
.dash-nav .btn.full-span {
|
|
grid-column: 1 / -1;
|
|
justify-content: center;
|
|
padding: 13px 16px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
font-family: var(--mono);
|
|
}
|
|
.stat-row .k {
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
.stat-row .v {
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.builder-root {
|
|
display: grid;
|
|
grid-template-columns: 1fr 440px;
|
|
height: 100%;
|
|
}
|
|
.builder-viewport {
|
|
position: relative;
|
|
border-right: 1px solid var(--border);
|
|
overflow: hidden;
|
|
}
|
|
.builder-sidebar {
|
|
background: var(--bg-panel-solid);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.builder-tier-bar {
|
|
display: flex;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-deep);
|
|
align-items: center;
|
|
}
|
|
.builder-tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-inset);
|
|
}
|
|
.builder-tabs button {
|
|
flex: 1;
|
|
padding: 11px 6px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-dim);
|
|
font-family: var(--mono);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid transparent;
|
|
transition:
|
|
color 0.15s,
|
|
border-color 0.15s;
|
|
}
|
|
.builder-tabs button.active {
|
|
color: var(--sim-accent);
|
|
border-bottom-color: var(--sim-accent);
|
|
}
|
|
.builder-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stage-card {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
padding: 12px;
|
|
background: var(--bg-elevated);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
}
|
|
.stage-card.active {
|
|
border-color: var(--brand-blue);
|
|
}
|
|
|
|
.slot-group {
|
|
background: var(--bg-inset);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
padding: 8px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.slot-title {
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--sim-accent);
|
|
}
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
.stat-box {
|
|
background: var(--bg-deep);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
padding: 9px 11px;
|
|
}
|
|
.stat-box .k {
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
color: var(--text-faint);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
.stat-box .v {
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
margin-top: 3px;
|
|
font-weight: 700;
|
|
}
|
|
.stat-box .v.good {
|
|
color: var(--green);
|
|
}
|
|
.stat-box .v.bad {
|
|
color: var(--red);
|
|
}
|
|
.stat-box .v.warn {
|
|
color: var(--amber);
|
|
}
|
|
|
|
.rule-item {
|
|
border: 1px solid var(--border);
|
|
padding: 8px 10px;
|
|
background: var(--bg-deep);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
}
|
|
.rule-item.fail {
|
|
border-color: rgba(248, 113, 113, 0.5);
|
|
}
|
|
.rule-item.waived {
|
|
border-color: rgba(245, 158, 11, 0.55);
|
|
}
|
|
.rule-item.pass {
|
|
border-color: rgba(52, 211, 153, 0.25);
|
|
}
|
|
|
|
.builder-hud-bottom {
|
|
position: relative;
|
|
left: auto;
|
|
bottom: auto;
|
|
z-index: 4;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
pointer-events: none;
|
|
}
|
|
.builder-hud-bottom > * {
|
|
pointer-events: auto;
|
|
}
|
|
@media (min-width: 961px) {
|
|
.viewport-hud .builder-hud-bottom,
|
|
.viewport-hud .dash-overlay-bottom {
|
|
align-self: flex-start;
|
|
max-width: calc(100% - 340px);
|
|
}
|
|
}
|
|
|
|
.param-root {
|
|
display: grid;
|
|
grid-template-columns: 1fr 440px;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.param-main {
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.param-side {
|
|
border-left: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
padding: 18px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
.canvas-box {
|
|
width: 100%;
|
|
background: var(--bg-deep);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
display: block;
|
|
}
|
|
|
|
.map-root {
|
|
display: grid;
|
|
grid-template-columns: 1fr 340px;
|
|
height: 100%;
|
|
}
|
|
.map-viewport {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.map-sidebar {
|
|
border-left: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.map-sidebar h3 {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
margin-top: 8px;
|
|
}
|
|
.legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
padding: 3px 0;
|
|
font-family: var(--mono);
|
|
cursor: pointer;
|
|
}
|
|
.legend-item:hover {
|
|
color: var(--sim-accent);
|
|
}
|
|
.legend-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.launch-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
.launch-viewport {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.launch-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 14px 16px;
|
|
pointer-events: none;
|
|
}
|
|
.launch-topbar {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 10px 14px;
|
|
flex-wrap: wrap;
|
|
pointer-events: none;
|
|
min-width: 0;
|
|
}
|
|
.launch-hud-stack {
|
|
position: relative;
|
|
left: auto;
|
|
bottom: auto;
|
|
z-index: 5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
align-items: flex-start;
|
|
max-height: min(56dvh, calc(100dvh - 150px));
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
width: min(350px, 100%);
|
|
pointer-events: none;
|
|
margin-top: auto;
|
|
}
|
|
.launch-hud-stack > * {
|
|
pointer-events: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
.launch-hud {
|
|
background: var(--bg-glass);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-panel);
|
|
clip-path: var(--chamfer);
|
|
padding: 12px 14px;
|
|
min-width: 0;
|
|
width: min(335px, 100%);
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
}
|
|
.launch-events {
|
|
background: var(--bg-glass);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
padding: 10px 12px;
|
|
width: min(335px, 100%);
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
}
|
|
.launch-banner {
|
|
position: relative;
|
|
top: auto;
|
|
left: auto;
|
|
transform: none;
|
|
flex: 1 1 220px;
|
|
pointer-events: none;
|
|
font-family: var(--mono);
|
|
font-size: clamp(13px, 2vw, 22px);
|
|
font-weight: 800;
|
|
letter-spacing: clamp(0.1em, 0.25vw, 0.28em);
|
|
text-transform: uppercase;
|
|
color: var(--sim-accent);
|
|
text-shadow: 0 0 28px var(--sim-glow);
|
|
z-index: 6;
|
|
text-align: center;
|
|
align-self: center;
|
|
}
|
|
.launch-controls {
|
|
position: relative;
|
|
top: auto;
|
|
right: auto;
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
z-index: 6;
|
|
pointer-events: auto;
|
|
}
|
|
.launch-title-left {
|
|
position: relative;
|
|
top: auto;
|
|
left: auto;
|
|
z-index: 6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
align-items: flex-start;
|
|
pointer-events: auto;
|
|
min-width: 0;
|
|
max-width: min(360px, 100%);
|
|
}
|
|
.launch-coop-strip:empty {
|
|
display: none;
|
|
}
|
|
|
|
.list-page {
|
|
padding: 22px;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.list-page .cols {
|
|
display: grid;
|
|
grid-template-columns: 1.15fr 0.85fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.debrief-root {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
height: 100%;
|
|
padding: 20px 20px 64px;
|
|
overflow-y: auto;
|
|
}
|
|
.debrief-card {
|
|
width: min(640px, 100%);
|
|
padding: 30px;
|
|
margin: auto 0;
|
|
}
|
|
.score-ring {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 22px;
|
|
margin: 18px 0;
|
|
}
|
|
.grade {
|
|
font-size: 68px;
|
|
font-weight: 800;
|
|
font-family: var(--mono);
|
|
line-height: 1;
|
|
}
|
|
.grade.s {
|
|
color: var(--brand-blue);
|
|
}
|
|
.grade.a {
|
|
color: var(--green);
|
|
}
|
|
.grade.b {
|
|
color: var(--amber);
|
|
}
|
|
.grade.c {
|
|
color: var(--red);
|
|
}
|
|
.grade.f {
|
|
color: var(--red);
|
|
}
|
|
|
|
.wiki-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--bg-deep);
|
|
}
|
|
.wiki-topbar {
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.wiki-topbar-controls {
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
.wiki-search-input {
|
|
width: clamp(210px, 24vw, 300px);
|
|
min-width: 180px;
|
|
}
|
|
.wiki-layout {
|
|
display: grid;
|
|
grid-template-columns: 270px 1fr;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
.wiki-sidebar {
|
|
border-right: 1px solid var(--border);
|
|
background: var(--bg-panel-solid);
|
|
padding: 14px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding-bottom: 64px;
|
|
}
|
|
.wiki-nav-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.wiki-nav-cat {
|
|
font-family: var(--mono);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: var(--text-faint);
|
|
padding: 4px 6px;
|
|
}
|
|
.wiki-nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
color: var(--text-dim);
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color 0.14s,
|
|
border-color 0.14s,
|
|
color 0.14s;
|
|
}
|
|
.wiki-nav-item:hover {
|
|
background: var(--bg-elevated);
|
|
color: var(--text);
|
|
border-color: var(--border);
|
|
}
|
|
.wiki-nav-item.active {
|
|
background: var(--sim-glow);
|
|
color: var(--sim-accent);
|
|
border-color: var(--sim-accent);
|
|
}
|
|
.wiki-search-hit {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
background: var(--bg-deep);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
color: var(--text);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
.wiki-search-hit:hover {
|
|
border-color: var(--sim-accent);
|
|
background: var(--bg-elevated);
|
|
}
|
|
.wiki-main {
|
|
overflow-y: auto;
|
|
padding: 22px 26px 86px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.wiki-main > * {
|
|
max-width: 980px;
|
|
}
|
|
.wiki-article-header h2 {
|
|
font-size: 20px;
|
|
color: var(--text);
|
|
}
|
|
.wiki-callout {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
padding: 11px 14px;
|
|
background: rgba(52, 211, 153, 0.08);
|
|
border: 1px solid rgba(52, 211, 153, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
color: var(--text);
|
|
}
|
|
.wiki-section {
|
|
padding: 16px 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.wiki-prose {
|
|
font-size: 13px;
|
|
line-height: 1.62;
|
|
color: var(--text-dim);
|
|
}
|
|
.wiki-bullets {
|
|
padding-left: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
line-height: 1.55;
|
|
color: var(--text);
|
|
}
|
|
.wiki-formula {
|
|
padding: 8px 12px;
|
|
background: var(--bg-deep);
|
|
border: 1px solid var(--border-bright);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--brand-blue);
|
|
}
|
|
.wiki-lab-card {
|
|
padding: 16px 18px;
|
|
}
|
|
.wiki-lab-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
.wiki-checklist-item {
|
|
padding: 10px 12px;
|
|
background: var(--bg-deep);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
transition: border-color 0.15s;
|
|
}
|
|
.wiki-checklist-item.done {
|
|
border-color: rgba(52, 211, 153, 0.45);
|
|
}
|
|
.wiki-glossary-card {
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.wiki-glossary-card.highlighted {
|
|
border-color: var(--sim-accent);
|
|
box-shadow: 0 0 18px var(--sim-glow);
|
|
}
|
|
.wiki-refs-section {
|
|
margin-top: 4px;
|
|
}
|
|
.wiki-ref-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.wiki-ref-card {
|
|
display: block;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
padding: 12px 14px;
|
|
background: var(--bg-panel-solid);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
clip-path: var(--chamfer-sm);
|
|
transition:
|
|
border-color 0.15s,
|
|
background-color 0.15s;
|
|
}
|
|
.wiki-ref-card:hover {
|
|
border-color: var(--brand-blue);
|
|
background: var(--bg-elevated);
|
|
}
|
|
.wiki-ext-link {
|
|
text-decoration: none;
|
|
}
|
|
.wiki-footer-nav {
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
@media (max-height: 680px), (max-width: 960px) {
|
|
.launch-overlay {
|
|
padding: 10px 12px;
|
|
gap: 6px;
|
|
}
|
|
.launch-events {
|
|
max-height: 105px;
|
|
}
|
|
.launch-hud-stack {
|
|
max-height: min(62dvh, calc(100dvh - 165px));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.diff-picker {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.debrief-root .stat-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.score-ring {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
.auth-card,
|
|
.debrief-card {
|
|
padding: 18px;
|
|
}
|
|
.onboard-preview-box {
|
|
height: 210px;
|
|
}
|
|
.dash-header h1 {
|
|
font-size: 13px;
|
|
}
|
|
.viewport-hud {
|
|
padding: 8px 10px;
|
|
}
|
|
.list-page {
|
|
padding: 14px 12px 64px;
|
|
}
|
|
.launch-controls {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
.launch-hud-stack {
|
|
padding-bottom: 46px;
|
|
}
|
|
.wiki-topbar {
|
|
padding: 10px 12px;
|
|
}
|
|
.wiki-main {
|
|
padding: 14px 14px 86px;
|
|
}
|
|
}
|