1170 lines
22 KiB
CSS
1170 lines
22 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100;300;400;500;700&family=Montserrat:wght@100;300;400;500;700&family=Ubuntu+Sans:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap");
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
--bg: #020909;
|
|
--bg-top: var(--bg);
|
|
--bg-mid: var(--bg);
|
|
--bg-bottom: var(--bg);
|
|
--shell-top: #010707;
|
|
--shell-bottom: #010707;
|
|
--panel: #071918;
|
|
--panel-2: #0a2423;
|
|
--line: rgba(103, 240, 228, 0.28);
|
|
--line-deep: rgba(103, 240, 228, 0.18);
|
|
--line-hot: rgba(142, 252, 255, 0.72);
|
|
--text: #e7f1f1;
|
|
--text-bright: var(--text);
|
|
--quiet: #8ba5a3;
|
|
--accent: #ffb84f;
|
|
--accent-strong: var(--accent);
|
|
--corner-accent: var(--accent);
|
|
--cyan: #8efcff;
|
|
--shadow: rgba(0, 0, 0, 0.35);
|
|
--pixel-grid: rgba(142, 252, 255, 0.04);
|
|
--border-width: 1px;
|
|
--border-bottom-width: var(--border-width);
|
|
--corner-accent-size: 0;
|
|
--font-body: "M PLUS 1", "Ubuntu Sans", Ubuntu, "Noto Sans JP", system-ui, sans-serif;
|
|
--font-title: "Montserrat", "Zen Kaku Gothic New", "M PLUS 1", "Ubuntu Sans", system-ui, sans-serif;
|
|
--font-mono: "Ubuntu Sans Mono", "M PLUS 1 Code", "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, var(--bg-top), var(--bg-mid), var(--bg-bottom));
|
|
color: var(--text);
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
.topbar {
|
|
height: 84px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: linear-gradient(180deg, var(--shell-top), var(--shell-bottom));
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
p {
|
|
margin: 4px 0 0;
|
|
color: var(--quiet);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.hud {
|
|
min-width: 168px;
|
|
padding: 8px;
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 6px;
|
|
background: rgba(7, 25, 24, 0.88);
|
|
color: var(--accent);
|
|
font-family: "Cascadia Mono", Consolas, monospace;
|
|
font-size: 11px;
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.provider-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid var(--line-deep);
|
|
background: color-mix(in srgb, var(--panel) 70%, transparent);
|
|
}
|
|
|
|
.provider-bar label {
|
|
color: var(--quiet);
|
|
font: 700 11px var(--font-mono);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.provider-bar select {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
color: var(--text);
|
|
padding: 8px 12px;
|
|
font: 700 13px var(--font-mono);
|
|
min-width: min(28rem, 52vw);
|
|
}
|
|
|
|
.provider-meta {
|
|
color: var(--quiet);
|
|
font: 600 11px var(--font-mono);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.surface {
|
|
padding: 10px 16px 16px;
|
|
}
|
|
|
|
.cockpit {
|
|
display: grid;
|
|
grid-template-columns: 0.78fr 1.08fr 1.34fr;
|
|
gap: 10px;
|
|
min-height: calc(100vh - 138px);
|
|
}
|
|
|
|
.ctb {
|
|
grid-column: 1 / -1;
|
|
min-height: 88px;
|
|
overflow-x: auto;
|
|
display: flex;
|
|
gap: 8px;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.pane {
|
|
min-height: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(7, 25, 24, 0.92);
|
|
padding: 12px;
|
|
box-shadow: 0 12px 26px var(--shadow);
|
|
}
|
|
|
|
.pane h2 {
|
|
margin: 0 0 10px;
|
|
color: var(--quiet);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(10, 36, 35, 0.96);
|
|
padding: 10px;
|
|
box-shadow: 0 8px 20px var(--shadow);
|
|
}
|
|
|
|
.cultui-card[data-command-id] {
|
|
cursor: pointer;
|
|
border-bottom-width: var(--border-bottom-width);
|
|
}
|
|
|
|
.cultui-card-button {
|
|
display: block;
|
|
width: 100%;
|
|
color: inherit;
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.ctb .card {
|
|
flex: 0 0 96px;
|
|
min-height: 76px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--line-hot);
|
|
object-fit: cover;
|
|
background: #123;
|
|
}
|
|
|
|
.card-title {
|
|
white-space: pre-line;
|
|
margin-top: 4px;
|
|
font: 700 11px var(--font-mono);
|
|
}
|
|
|
|
.health {
|
|
color: var(--accent);
|
|
font: 700 10px var(--font-mono);
|
|
}
|
|
|
|
.detail {
|
|
white-space: pre-wrap;
|
|
font: 600 12px var(--font-mono);
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.metrics {
|
|
display: grid;
|
|
gap: 9px;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.metric label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--quiet);
|
|
font: 700 10px var(--font-mono);
|
|
}
|
|
|
|
.bar {
|
|
height: 7px;
|
|
border-radius: 7px;
|
|
background: #010707;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bar span {
|
|
display: block;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #bca8ff, #8efcff);
|
|
}
|
|
|
|
.graph {
|
|
position: relative;
|
|
min-height: calc(100vh - 166px);
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background:
|
|
linear-gradient(var(--pixel-grid) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px),
|
|
rgba(3, 15, 17, 0.94);
|
|
background-size: 44px 44px;
|
|
}
|
|
|
|
.node {
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
background: rgba(10, 36, 35, 0.95);
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.node.selected {
|
|
border-color: var(--line-hot);
|
|
box-shadow: 0 0 0 1px rgba(142, 252, 255, 0.38);
|
|
}
|
|
|
|
.node .detail {
|
|
margin-top: 6px;
|
|
color: var(--quiet);
|
|
font-size: 10px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cockpit {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.cultui-vn-stage {
|
|
position: relative;
|
|
min-height: calc(100vh - 138px);
|
|
overflow: hidden;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.cultui-grid {
|
|
min-height: calc(100vh - 138px);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 10px;
|
|
align-content: start;
|
|
}
|
|
|
|
.cultui-surface-root {
|
|
min-height: calc(100vh - 150px);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 12px;
|
|
align-content: start;
|
|
}
|
|
|
|
.cultui-surface-root[data-direction="vertical"] {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.cultui-surface-root[data-direction="horizontal"] {
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.cultui-embedded-slot .cultui-surface-root {
|
|
min-height: 0;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cultui-pane[data-span="wide"] {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
.cultui-pane {
|
|
border-width: var(--border-width);
|
|
border-bottom-width: var(--border-bottom-width);
|
|
min-width: 0;
|
|
}
|
|
|
|
.cultui-pane[data-span="wide"] {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.cultui-pane .cultui-pane {
|
|
box-shadow: none;
|
|
background: rgba(3, 15, 17, 0.38);
|
|
}
|
|
|
|
.cultui-pane[data-density="compact"] {
|
|
padding: 8px;
|
|
}
|
|
|
|
.cultui-pane[data-density="compact"] h2 {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.cultui-partition {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cultui-partition[data-direction="horizontal"] {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.cultui-partition[data-direction="vertical"] {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cultui-partition[data-overflow="x"] {
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.cultui-partition.split-x {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.cultui-partition.split-y,
|
|
.cultui-partition.split-none {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.cultui-partition.split-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.row"] {
|
|
min-height: 34px;
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 4px;
|
|
background: linear-gradient(180deg, rgba(32, 31, 43, 0.96), rgba(19, 20, 29, 0.96));
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.label"] {
|
|
justify-content: center;
|
|
}
|
|
|
|
.cultui-label {
|
|
color: var(--accent);
|
|
font: 700 13px var(--font-mono);
|
|
line-height: 1.15;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-slider {
|
|
--cultui-slider-value: 0%;
|
|
--part-bleed: 0px;
|
|
position: relative;
|
|
display: grid;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: 18px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cultui-slider-visual {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-slider-input {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cultui-slider-part {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: block;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.cultui-slider-part.track {
|
|
right: 0;
|
|
left: 0;
|
|
height: 6px;
|
|
border-radius: 2px;
|
|
background: rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
.cultui-slider-part.fill {
|
|
left: 0;
|
|
width: var(--cultui-slider-value);
|
|
height: 6px;
|
|
border-radius: 2px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.cultui-slider-part.thumb {
|
|
left: var(--cultui-slider-value);
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
transform: translate(-50%, -50%);
|
|
box-shadow: 0 0 7px color-mix(in srgb, var(--accent) 45%, transparent);
|
|
}
|
|
|
|
.cultui-slider-part[data-anchor-value="true"] {
|
|
left: var(--cultui-slider-value);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.cultui-partition[data-role="inspector.row"] {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.cultui-partition[data-role="inspector.label"] {
|
|
flex: 0 0 auto !important;
|
|
}
|
|
}
|
|
|
|
body[data-provider="repixelizer"] .surface {
|
|
position: relative;
|
|
}
|
|
|
|
body[data-provider="repixelizer"] .surface::after {
|
|
content: "";
|
|
pointer-events: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
|
|
opacity: 0.28;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
body[data-pixel-art="true"] img,
|
|
body[data-pixel-art="true"] .cultui-background {
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.cultui-title {
|
|
color: var(--accent);
|
|
font: 100 18px var(--font-title);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.mono {
|
|
color: var(--accent);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.cultui-reactive-metric {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.cultui-reactive-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cultui-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cultui-list-title {
|
|
margin: 0;
|
|
color: var(--quiet);
|
|
font: 700 10px var(--font-mono);
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-list-item {
|
|
display: grid;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
padding: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
}
|
|
|
|
.cultui-list-item-heading,
|
|
.cultui-list-item-badges {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cultui-list-item-label {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.cultui-list-item-status,
|
|
.cultui-list-item-badge {
|
|
padding: 2px 5px;
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 4px;
|
|
color: var(--quiet);
|
|
font: 600 10px var(--font-mono);
|
|
}
|
|
|
|
.cultui-list-item-detail {
|
|
color: var(--quiet);
|
|
font-size: 12px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.cultui-avatar-card {
|
|
flex: 0 0 104px;
|
|
display: grid;
|
|
gap: 4px;
|
|
align-content: start;
|
|
min-height: 92px;
|
|
margin: 0;
|
|
padding: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(10, 36, 35, 0.94);
|
|
box-shadow: 0 8px 20px var(--shadow);
|
|
}
|
|
|
|
.cultui-avatar-card img,
|
|
.cultui-avatar-fallback {
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
background: rgba(1, 7, 7, 0.86);
|
|
}
|
|
|
|
.cultui-avatar-fallback {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--accent);
|
|
font: 700 12px var(--font-mono);
|
|
}
|
|
|
|
.cultui-avatar-name {
|
|
color: var(--text-bright);
|
|
font: 700 11px var(--font-mono);
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.cultui-avatar-status,
|
|
.cultui-avatar-detail {
|
|
color: var(--quiet);
|
|
font: 700 10px var(--font-mono);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.cultui-avatar-status {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.cultui-meter {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cultui-meter-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
color: var(--quiet);
|
|
font: 700 10px var(--font-mono);
|
|
}
|
|
|
|
.cultui-meter-track {
|
|
height: 7px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 7px;
|
|
background: rgba(1, 7, 7, 0.88);
|
|
}
|
|
|
|
.cultui-meter-fill {
|
|
display: block;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #ffb84f, #8efcff);
|
|
}
|
|
|
|
.cultui-stream-item {
|
|
border-left: 2px solid var(--line-hot);
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.cultui-background {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-size: cover;
|
|
background-position: center;
|
|
image-rendering: pixelated;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.cultui-graph {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 18px;
|
|
width: min(48rem, 46vw);
|
|
height: min(29rem, 52vh);
|
|
z-index: 4;
|
|
}
|
|
|
|
.cultui-placed {
|
|
position: absolute;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.cultui-placed[data-placement-mode="keystone"],
|
|
.cultui-placed[data-placement-mode="skew"],
|
|
.cultui-placed[data-placement-mode="sprite-chromakey"] {
|
|
box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.cultui-placed[data-chroma-key] {
|
|
outline: 1px dashed rgba(0, 255, 120, 0.45);
|
|
}
|
|
|
|
.cultui-node {
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
border: 2px solid var(--cyan);
|
|
border-radius: 999px;
|
|
background: rgba(7, 17, 26, 0.76);
|
|
color: var(--text);
|
|
min-width: 68px;
|
|
min-height: 44px;
|
|
padding: 8px 10px;
|
|
font: 700 12px "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
.cultui-node.selected {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 2px rgba(255, 184, 79, 0.28);
|
|
}
|
|
|
|
.cultui-graph svg {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cultui-graph line {
|
|
stroke: rgba(142, 252, 255, 0.36);
|
|
stroke-width: 0.006;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.cultui-layer-embedded-surfaces {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-layer-embedded-surfaces > * {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.cultui-tex {
|
|
min-width: 12rem;
|
|
min-height: 3.2rem;
|
|
border: 1px solid rgba(142, 252, 255, 0.34);
|
|
border-radius: 6px;
|
|
background: rgba(7, 17, 26, 0.78);
|
|
color: var(--text);
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.cultui-tex-label {
|
|
color: var(--accent);
|
|
font: 700 10px "Cascadia Mono", Consolas, monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-tex-source {
|
|
margin-top: 4px;
|
|
font: 700 15px "Cambria Math", "STIX Two Math", Georgia, serif;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.cultui-layer-cards {
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 18px;
|
|
left: calc(min(48rem, 46vw) + 36px);
|
|
z-index: 3;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.cultui-dialogue {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 5;
|
|
min-height: 128px;
|
|
border-right: 0;
|
|
border-bottom: 0;
|
|
border-left: 0;
|
|
border-radius: 0;
|
|
background: rgba(5, 8, 13, 0.92);
|
|
}
|
|
|
|
.cultui-rail-actions {
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 6;
|
|
display: grid;
|
|
gap: 8px;
|
|
width: min(28rem, 42vw);
|
|
}
|
|
|
|
.cultui-button {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: rgba(10, 36, 35, 0.94);
|
|
color: var(--text);
|
|
padding: 9px 10px;
|
|
text-align: left;
|
|
font: 700 12px "Cascadia Mono", Consolas, monospace;
|
|
}
|
|
|
|
.cultui-button:hover,
|
|
.cultui-button:focus-visible {
|
|
border-color: var(--line-hot);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.cultui-image-preview {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
.cultui-image-frame,
|
|
.cultui-canvas-grid {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 160px;
|
|
border: 2px solid var(--panel-border);
|
|
background:
|
|
repeating-linear-gradient(45deg, rgba(247, 239, 216, 0.06) 0 8px, rgba(0, 0, 0, 0.18) 8px 16px),
|
|
linear-gradient(180deg, #07172c, #0a2039);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cultui-image-frame {
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
|
|
.cultui-image-frame img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.cultui-image-preview figcaption,
|
|
.cultui-canvas-grid {
|
|
color: var(--muted);
|
|
font-size: 0.75rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.cultui-canvas-placeholder {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cultui-canvas-placeholder.editor .cultui-canvas-grid {
|
|
min-height: 280px;
|
|
background:
|
|
linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25% 75%, rgba(255,255,255,0.08) 75%),
|
|
linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25% 75%, rgba(255,255,255,0.08) 75%),
|
|
#142033;
|
|
background-position: 0 0, 8px 8px;
|
|
background-size: 16px 16px;
|
|
}
|
|
|
|
.cultui-status-stage {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 2px solid var(--panel-border);
|
|
background: rgba(6, 22, 39, 0.92);
|
|
}
|
|
|
|
.cultui-field {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cultui-field-value {
|
|
display: block;
|
|
border: 2px solid var(--panel-border);
|
|
background: rgba(1, 4, 11, 0.58);
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.cultui-world-scene {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 100%;
|
|
min-height: min(72vh, 760px);
|
|
overflow: hidden;
|
|
outline: none;
|
|
background: rgba(2, 8, 12, 0.5);
|
|
}
|
|
|
|
.cultui-world-scene:focus-visible {
|
|
box-shadow: inset 0 0 0 2px var(--accent);
|
|
}
|
|
|
|
.cultui-world-heading {
|
|
position: absolute;
|
|
z-index: 3;
|
|
top: 12px;
|
|
left: 12px;
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: baseline;
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-world-heading span {
|
|
color: var(--quiet);
|
|
}
|
|
|
|
.cultui-world-plane {
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
linear-gradient(var(--pixel-grid) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
}
|
|
|
|
.cultui-world-entity {
|
|
position: absolute;
|
|
display: grid;
|
|
justify-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
border: 1px solid rgba(224, 238, 240, 0.65);
|
|
border-radius: 50%;
|
|
color: #f1f5f4;
|
|
background: rgba(24, 34, 38, 0.92);
|
|
transform: translate(-50%, -50%);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cultui-world-entity.faction-player { border-color: #54d9c7; color: #9ff8e8; }
|
|
.cultui-world-entity.faction-raider,
|
|
.cultui-world-entity.faction-hostile { border-color: #ff695f; color: #ffaaa3; }
|
|
.cultui-world-entity[data-controlled="true"] { box-shadow: 0 0 0 3px rgba(255, 190, 72, 0.4); }
|
|
|
|
.cultui-world-entity-glyph {
|
|
align-self: center;
|
|
font: 700 16px/1 var(--font-mono);
|
|
}
|
|
|
|
.cultui-world-entity-label {
|
|
position: absolute;
|
|
top: 38px;
|
|
width: max-content;
|
|
max-width: 132px;
|
|
overflow: hidden;
|
|
color: var(--text);
|
|
font: 600 11px/1.2 var(--font-body);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cultui-swatch {
|
|
width: 36px;
|
|
min-height: 36px;
|
|
border: 2px solid var(--accent);
|
|
box-shadow: inset 0 0 0 2px rgba(0,0,0,0.45);
|
|
}
|
|
|
|
.cultui-binding-map {
|
|
position: relative;
|
|
min-height: 510px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background:
|
|
linear-gradient(var(--pixel-grid) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--pixel-grid) 1px, transparent 1px),
|
|
rgba(3, 15, 17, 0.92);
|
|
background-size: 28px 28px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cultui-xbox-controller {
|
|
position: absolute;
|
|
inset: 18px;
|
|
width: calc(100% - 36px);
|
|
height: calc(100% - 36px);
|
|
}
|
|
|
|
.cultui-xbox-controller .shell,
|
|
.cultui-xbox-controller .stick,
|
|
.cultui-xbox-controller .dpad,
|
|
.cultui-xbox-controller .face,
|
|
.cultui-xbox-controller .menu,
|
|
.cultui-xbox-controller .guide,
|
|
.cultui-xbox-controller .bumper,
|
|
.cultui-xbox-controller .trigger {
|
|
fill: rgba(10, 36, 35, 0.94);
|
|
stroke: var(--line);
|
|
stroke-width: 3;
|
|
}
|
|
|
|
.cultui-xbox-controller .stick-dot,
|
|
.cultui-xbox-controller .guide {
|
|
fill: rgba(142, 252, 255, 0.12);
|
|
}
|
|
|
|
.cultui-xbox-controller .face {
|
|
fill: rgba(255, 184, 79, 0.16);
|
|
}
|
|
|
|
.cultui-xbox-controller text {
|
|
fill: var(--text);
|
|
font: 700 16px var(--font-mono);
|
|
text-anchor: middle;
|
|
}
|
|
|
|
.cultui-binding-line {
|
|
stroke: var(--accent);
|
|
stroke-width: 2;
|
|
stroke-dasharray: 5 6;
|
|
opacity: 0.78;
|
|
}
|
|
|
|
.cultui-binding-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.cultui-binding-box {
|
|
position: absolute;
|
|
width: clamp(112px, 12vw, 138px);
|
|
min-height: 50px;
|
|
transform: translate(-50%, -50%);
|
|
display: grid;
|
|
gap: 4px;
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 6px;
|
|
background: rgba(7, 25, 24, 0.96);
|
|
color: var(--text);
|
|
padding: 8px;
|
|
text-align: left;
|
|
box-shadow: 0 10px 20px var(--shadow);
|
|
}
|
|
|
|
.cultui-binding-box:hover,
|
|
.cultui-binding-box:focus-visible {
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.cultui-binding-target {
|
|
font: 700 11px var(--font-mono);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-binding-source {
|
|
color: var(--quiet);
|
|
font: 600 11px var(--font-mono);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.cultui-modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(0, 0, 0, 0.58);
|
|
padding: 20px;
|
|
}
|
|
|
|
.cultui-modal {
|
|
width: min(680px, 96vw);
|
|
max-height: min(780px, 92vh);
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
border: 1px solid var(--line-hot);
|
|
border-radius: 6px;
|
|
background: var(--panel);
|
|
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cultui-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--shell-top);
|
|
}
|
|
|
|
.cultui-modal-header h2 {
|
|
margin: 0;
|
|
color: var(--accent);
|
|
font: 700 13px var(--font-mono);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cultui-modal-close {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--panel-2);
|
|
color: var(--text);
|
|
padding: 7px 10px;
|
|
font: 700 11px var(--font-mono);
|
|
}
|
|
|
|
.cultui-modal-body {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 14px;
|
|
}
|
|
|
|
.cultui-inventory-placement-preview {
|
|
z-index: 20;
|
|
border: 1px solid currentColor;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.cultui-inventory-placement-preview.is-valid {
|
|
color: #45e6a8;
|
|
background: rgb(69 230 168 / 34%);
|
|
}
|
|
|
|
.cultui-inventory-placement-preview.is-invalid {
|
|
color: #ff5148;
|
|
background: rgb(255 81 72 / 38%);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cultui-graph {
|
|
right: 12px;
|
|
left: 12px;
|
|
width: auto;
|
|
height: min(18rem, 34vh);
|
|
}
|
|
|
|
.cultui-layer-cards {
|
|
top: calc(30px + min(18rem, 34vh));
|
|
right: 12px;
|
|
left: 12px;
|
|
}
|
|
|
|
.cultui-rail-actions {
|
|
left: 12px;
|
|
width: auto;
|
|
}
|
|
}
|
|
.cultui-field-input,
|
|
.cultui-field-select {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 0.65rem 0.75rem;
|
|
color: var(--text, inherit);
|
|
background: var(--panel-inset, rgba(0, 0, 0, 0.25));
|
|
border: 1px solid var(--border, currentColor);
|
|
border-radius: 0.25rem;
|
|
font: inherit;
|
|
}
|
|
|
|
textarea.cultui-field-input {
|
|
resize: vertical;
|
|
}
|
|
|
|
.cultui-field-validation {
|
|
display: block;
|
|
color: var(--danger, #ff8e8e);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.cultui-choice-group {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.cultui-choice {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.cultui-tab-list {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.cultui-tab[aria-selected="true"] {
|
|
border-bottom-color: var(--accent, currentColor);
|
|
}
|
|
|
|
.eve-command-result-region {
|
|
margin-top: 0.75rem;
|
|
}
|