Files
losadev-tools/app/public/legacy/legacy.css
T

4049 lines
87 KiB
CSS

/* Generated by tools/extract-legacy.mjs from the desktop app.css. Do not edit. */
@keyframes viewIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: none; }
}
@keyframes popIn {
from { opacity: 0; transform: translateY(4px) scale(0.98); }
to { opacity: 1; transform: none; }
}
@keyframes inRight {
from { opacity: 0; transform: translateX(28px); }
to { opacity: 1; transform: none; }
}
@keyframes inLeft {
from { opacity: 0; transform: translateX(-28px); }
to { opacity: 1; transform: none; }
}
@keyframes inFade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes treeIn {
from { opacity: 0; transform: translateX(-8px); }
to { opacity: 1; transform: none; }
}
@keyframes crumbIn {
from { opacity: 0; transform: translateX(-6px); }
to { opacity: 1; transform: none; }
}
@keyframes menuIn {
from { opacity: 0; transform: translateY(-4px) scale(0.97); }
to { opacity: 1; transform: none; }
}
@keyframes modalFade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes modalIn {
from { opacity: 0; transform: translateY(12px) scale(0.97); }
to { opacity: 1; transform: none; }
}
@keyframes toastIn {
from { opacity: 0; transform: translateX(24px); }
to { opacity: 1; transform: none; }
}
@keyframes toastOut {
to { opacity: 0; transform: translateX(24px); }
}
@keyframes taskIn {
from { opacity: 0; transform: translate(-50%, 16px); }
to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes monPulse {
50% {
opacity: 0.35;
}
}
.lsx {
/* LS Tools — dark admin UI: navigation rail, compact bars, icon buttons, context menus. */
& {
--bg: #0f0e12;
--surface: #16151a;
--surface-2: #1c1b21;
--surface-3: #24222a;
--hover: rgba(255, 255, 255, 0.055);
--line: rgba(255, 255, 255, 0.07);
--line-2: rgba(255, 255, 255, 0.12);
--text: #ecebef;
--muted: #a6a2ad;
--dim: #6f6b77;
--accent: #e9b43c;
--accent-2: #f4c95a;
--accent-soft: rgba(233, 180, 60, 0.14);
--brand: #d72418;
--ok: #3ec07a;
--bad: #ff6b5e;
--sel: rgba(233, 180, 60, 0.13);
--radius: 8px;
--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
--mono: "Cascadia Mono", Consolas, "Microsoft JhengHei", monospace;
--sans: "Segoe UI Variable Text", "Segoe UI", "Microsoft JhengHei UI", "Leelawadee UI", sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
height: 100%;
background: var(--bg);
color: var(--text);
font: 13px/1.45 var(--sans);
overflow: hidden;
}
body {
display: flex;
}
button,
input,
select,
textarea {
font: inherit;
color: inherit;
}
h2,
h3 {
margin: 0;
font-weight: 600;
}
code {
font-family: var(--mono);
font-size: 12px;
color: var(--accent);
}
.muted {
color: var(--muted);
}
.spacer {
flex: 1;
}
[hidden] {
display: none !important;
}
/* ---------- icons ---------- */
.ic {
display: inline-grid;
place-items: center;
width: 16px;
height: 16px;
flex: none;
}
.ic svg {
width: 100%;
height: 100%;
fill: none;
stroke: currentColor;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
}
.ic.big {
width: 44px;
height: 44px;
color: var(--dim);
}
/* ---------- navigation rail ---------- */
#rail {
width: 64px;
flex: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
padding: 14px 0;
background: #0b0a0d;
border-right: 1px solid var(--line);
}
#rail .logo {
border-radius: 8px;
}
#tabs {
display: flex;
flex-direction: column;
gap: 6px;
}
#tabs button {
position: relative;
width: 48px;
padding: 8px 0 6px;
border: 0;
border-radius: 10px;
background: none;
color: var(--dim);
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
font-size: 10.5px;
font-weight: 600;
cursor: pointer;
transition: background 0.18s ease, color 0.18s ease;
}
#tabs button .ic {
width: 20px;
height: 20px;
}
#tabs button:hover {
color: var(--text);
background: var(--hover);
}
#tabs button.on {
color: var(--accent);
background: var(--accent-soft);
}
#tabs button.on::before {
content: "";
position: absolute;
left: -8px;
top: 10px;
bottom: 10px;
width: 3px;
border-radius: 2px;
background: var(--accent);
}
#app {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.view {
display: none;
flex: 1;
min-height: 0;
flex-direction: column;
}
.view.on {
display: flex;
}
/* ---------- bars ---------- */
.bar {
display: flex;
align-items: center;
gap: 8px;
padding: 0 14px;
flex: none;
border-bottom: 1px solid var(--line);
}
.bar.top {
height: 50px;
background: var(--surface);
}
.bar.nav {
height: 44px;
background: var(--bg);
}
.zone-title {
display: flex;
align-items: baseline;
gap: 12px;
min-width: 0;
}
.zone-title h2 {
font-size: 15px;
white-space: nowrap;
}
.zone-title .muted {
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* ---------- buttons ---------- */
.iconbtn,
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 30px;
padding: 0 10px;
border-radius: 7px;
border: 1px solid transparent;
background: none;
color: var(--muted);
font-weight: 600;
white-space: nowrap;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s var(--ease), opacity 0.15s ease, filter 0.15s ease;
}
.iconbtn:hover:not(:disabled) {
background: var(--hover);
color: var(--text);
}
.iconbtn.only {
width: 30px;
padding: 0;
justify-content: center;
}
.iconbtn.danger:hover:not(:disabled) {
background: rgba(255, 107, 94, 0.14);
color: var(--bad);
}
.btn {
border-color: var(--line-2);
background: var(--surface-2);
color: var(--text);
}
.btn:hover:not(:disabled) {
background: var(--surface-3);
}
.btn.primary {
border-color: transparent;
background: linear-gradient(180deg, var(--accent-2), var(--accent));
color: #17151b;
}
.btn.primary:hover:not(:disabled) {
filter: brightness(1.07);
background: linear-gradient(180deg, var(--accent-2), var(--accent));
}
.btn.danger {
border-color: rgba(255, 107, 94, 0.35);
background: none;
color: var(--bad);
}
.btn.danger:hover:not(:disabled) {
background: var(--brand);
border-color: var(--brand);
color: #fff;
}
.btn.small {
height: 26px;
padding: 0 9px;
font-size: 12px;
}
.btn:active:not(:disabled),
.iconbtn:active:not(:disabled) {
transform: scale(0.96);
}
.btn:disabled,
.iconbtn:disabled {
opacity: 0.35;
cursor: default;
}
/* ---------- inputs ---------- */
input[type="search"],
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
height: 30px;
padding: 0 10px;
border-radius: 7px;
border: 1px solid var(--line-2);
background: #0c0b0e;
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(233, 180, 60, 0.14);
}
select option {
background: var(--surface-2);
}
textarea {
height: auto;
padding: 12px;
font-family: var(--mono);
font-size: 12px;
resize: none;
}
.search {
position: relative;
display: flex;
align-items: center;
}
.search .ic {
position: absolute;
left: 9px;
color: var(--dim);
pointer-events: none;
}
.search input {
width: 240px;
padding-left: 30px;
transition: width 0.2s var(--ease), border-color 0.15s ease, box-shadow 0.15s ease;
}
.search input:focus {
width: 300px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 6px;
height: 28px;
padding: 0 10px;
border-radius: 14px;
border: 1px solid var(--line-2);
color: var(--muted);
cursor: pointer;
user-select: none;
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip input {
accent-color: var(--accent);
margin: 0;
}
.chip:has(input:checked) {
border-color: rgba(233, 180, 60, 0.5);
background: var(--accent-soft);
color: var(--text);
}
.check {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--muted);
cursor: pointer;
}
.check input {
accent-color: var(--accent);
}
/* segmented control */
.seg {
display: inline-flex;
padding: 2px;
border-radius: 8px;
background: #0c0b0e;
border: 1px solid var(--line);
}
.seg button {
display: inline-flex;
align-items: center;
gap: 6px;
height: 26px;
padding: 0 10px;
border: 0;
border-radius: 6px;
background: none;
color: var(--dim);
font-weight: 600;
cursor: pointer;
transition: background 0.18s ease, color 0.18s ease;
}
.seg button .ic {
width: 14px;
height: 14px;
}
.seg button:hover {
color: var(--text);
}
.seg button.on {
background: var(--surface-3);
color: var(--text);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
/* password pill */
.pill {
display: inline-flex;
align-items: center;
gap: 7px;
height: 32px;
padding: 0 4px 0 12px;
border-radius: 16px;
border: 1px solid var(--line-2);
background: #0c0b0e;
color: var(--muted);
transition: border-color 0.2s ease, background 0.2s ease;
}
.pill.bad {
border-color: rgba(255, 107, 94, 0.55);
background: rgba(255, 107, 94, 0.06);
}
.pill select {
height: 26px;
min-width: 150px;
border: 0;
border-radius: 13px;
background: transparent;
color: var(--text);
font-weight: 600;
cursor: pointer;
box-shadow: none;
}
.pill select:disabled {
opacity: 0.5;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--dim);
flex: none;
transition: background 0.2s ease, box-shadow 0.2s ease;
}
.dot.ok {
background: var(--ok);
box-shadow: 0 0 0 3px rgba(62, 192, 122, 0.18);
}
.dot.bad {
background: var(--bad);
box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.18);
}
/* ---------- file tabs ---------- */
.filetabs {
display: flex;
align-items: center;
gap: 4px;
min-width: 0;
overflow-x: auto;
scrollbar-width: none;
}
.filetab {
display: flex;
align-items: center;
gap: 6px;
height: 32px;
padding: 0 6px 0 12px;
border-radius: 8px;
color: var(--muted);
cursor: pointer;
white-space: nowrap;
font-weight: 600;
transition: background 0.15s ease, color 0.15s ease;
animation: popIn 0.2s var(--ease) both;
}
.filetab:hover {
background: var(--hover);
color: var(--text);
}
.filetab.on {
background: var(--surface-3);
color: var(--text);
box-shadow: inset 0 -2px 0 var(--accent);
}
.filetab .x {
width: 20px;
height: 20px;
border: 0;
border-radius: 5px;
background: none;
color: var(--dim);
cursor: pointer;
line-height: 1;
font-size: 15px;
transition: background 0.15s ease, color 0.15s ease;
}
.filetab .x:hover {
background: var(--brand);
color: #fff;
}
/* crumbs + selection bar */
.crumbs {
display: flex;
align-items: center;
gap: 1px;
min-width: 0;
flex: 1;
overflow-x: auto;
scrollbar-width: none;
white-space: nowrap;
}
.crumbs::-webkit-scrollbar {
display: none;
}
.crumb {
flex: none;
padding: 4px 7px;
border: 0;
border-radius: 6px;
background: none;
color: var(--muted);
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
animation: crumbIn 0.22s var(--ease) both;
}
.crumb:last-child {
color: var(--text);
font-weight: 600;
}
.crumb:hover {
background: var(--hover);
color: var(--text);
}
.crumb-sep {
color: var(--dim);
padding: 0 1px;
}
.selbar {
display: flex;
align-items: center;
gap: 2px;
padding: 0 6px 0 10px;
height: 34px;
border-radius: 8px;
background: var(--accent-soft);
border: 1px solid rgba(233, 180, 60, 0.3);
animation: popIn 0.18s var(--ease) both;
}
.selbar .muted {
margin-right: 6px;
color: var(--accent);
font-weight: 600;
font-size: 12px;
}
.selbar .iconbtn {
color: var(--text);
}
/* ---------- layout ---------- */
.split {
display: flex;
flex: 1;
min-height: 0;
}
.main-col {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
position: relative;
}
.splitter {
position: relative;
flex: none;
width: 5px;
margin: 0 -2px;
z-index: 4;
cursor: col-resize;
}
.splitter::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 2px;
width: 1px;
background: var(--line);
transition: background 0.15s ease, box-shadow 0.15s ease;
}
.splitter:hover::after,
.splitter.dragging::after {
background: var(--accent);
box-shadow: 0 0 0 1px rgba(233, 180, 60, 0.35);
}
/* ---------- folder tree ---------- */
.tree {
width: 250px;
min-width: 160px;
flex: none;
overflow: auto;
padding: 10px 6px;
background: var(--surface);
}
.tree-item {
display: flex;
align-items: center;
gap: 4px;
height: 28px;
padding-right: 8px;
border-radius: 6px;
color: var(--muted);
cursor: pointer;
white-space: nowrap;
transition: background 0.15s ease, color 0.15s ease;
}
.tree-item:hover {
background: var(--hover);
color: var(--text);
}
.tree-item.on {
background: var(--sel);
color: var(--text);
font-weight: 600;
}
.tree-item .tl {
overflow: hidden;
text-overflow: ellipsis;
}
.tree-item .n {
margin-left: auto;
padding-left: 8px;
color: var(--dim);
font-size: 11px;
font-variant-numeric: tabular-nums;
font-weight: 400;
}
.tree-item .caret {
flex: none;
width: 18px;
height: 18px;
display: grid;
place-items: center;
border-radius: 4px;
color: var(--dim);
transition: transform 0.2s var(--ease), background 0.15s ease;
}
.tree-item .caret::before {
content: "";
width: 6px;
height: 6px;
border-right: 1.6px solid currentColor;
border-bottom: 1.6px solid currentColor;
transform: rotate(-45deg);
}
.tree-item .caret.open {
transform: rotate(90deg);
}
.tree-item .caret:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text);
}
.tree-item .caret.none {
visibility: hidden;
}
.tree-kids.opening > .tree-node {
animation: treeIn 0.22s var(--ease) both;
}
.tree-kids.opening > .tree-node:nth-child(2) { animation-delay: 15ms; }
.tree-kids.opening > .tree-node:nth-child(3) { animation-delay: 30ms; }
.tree-kids.opening > .tree-node:nth-child(4) { animation-delay: 45ms; }
.tree-kids.opening > .tree-node:nth-child(n + 5) { animation-delay: 60ms; }
/* ---------- virtual table ---------- */
.vtable {
position: relative;
flex: 1;
min-height: 0;
overflow: auto;
font-size: 12.5px;
outline: none;
}
.vtable::-webkit-scrollbar,
.tree::-webkit-scrollbar,
#pv-text::-webkit-scrollbar,
.log::-webkit-scrollbar,
.form::-webkit-scrollbar,
.pw-wrap::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.vtable::-webkit-scrollbar-thumb,
.tree::-webkit-scrollbar-thumb,
#pv-text::-webkit-scrollbar-thumb,
.log::-webkit-scrollbar-thumb,
.form::-webkit-scrollbar-thumb,
.pw-wrap::-webkit-scrollbar-thumb {
border: 3px solid transparent;
border-radius: 6px;
background: rgba(255, 255, 255, 0.14) padding-box;
}
.vtable::-webkit-scrollbar-corner {
background: transparent;
}
.vt-head {
position: sticky;
top: 0;
z-index: 2;
display: flex;
height: 32px;
background: var(--bg);
border-bottom: 1px solid var(--line);
}
.vt-h {
position: relative;
display: flex;
align-items: center;
gap: 4px;
flex: none;
padding: 0 12px;
color: var(--dim);
font-size: 11.5px;
font-weight: 600;
letter-spacing: 0.02em;
cursor: pointer;
user-select: none;
white-space: nowrap;
overflow: hidden;
transition: color 0.15s ease;
}
.vt-h:hover {
color: var(--text);
}
.vt-h.sorted {
color: var(--accent);
}
.vt-h.sorted::after {
content: "";
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 5px solid currentColor;
}
.vt-h.sorted.desc::after {
border-bottom: 0;
border-top: 5px solid currentColor;
}
.vt-resize {
position: absolute;
top: 0;
right: 0;
width: 8px;
height: 100%;
cursor: col-resize;
}
.vt-resize::after {
content: "";
position: absolute;
top: 9px;
bottom: 9px;
right: 3px;
width: 1px;
background: var(--line-2);
transition: background 0.15s ease;
}
.vt-h:hover .vt-resize::after,
.vt-resize:hover::after {
background: var(--accent);
}
.vt-measure {
position: absolute;
visibility: hidden;
white-space: nowrap;
font-size: 12.5px;
}
body.col-resizing,
body.col-resizing * {
cursor: col-resize !important;
user-select: none !important;
}
.vt-rows {
position: relative;
}
.vt-row {
position: absolute;
left: 0;
display: flex;
height: 28px;
align-items: center;
cursor: default;
transition: background 0.12s ease;
}
.vt-row:hover {
background: var(--hover);
}
.vt-row.sel {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.vt-row.drop-target {
background: rgba(233, 180, 60, 0.22);
box-shadow: inset 0 0 0 1px var(--accent);
}
.vt-row > div {
flex: none;
padding: 0 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.num {
text-align: right;
font-variant-numeric: tabular-nums;
color: var(--muted);
}
.mono {
font-family: var(--mono);
font-size: 11.5px;
color: var(--muted);
}
.nm {
display: inline-flex;
align-items: center;
gap: 8px;
max-width: 100%;
overflow: hidden;
vertical-align: middle;
}
.nm span {
overflow: hidden;
text-overflow: ellipsis;
}
.nm i {
flex: none;
width: 16px;
height: 16px;
color: var(--dim);
}
.nm i svg {
width: 100%;
height: 100%;
fill: none;
stroke: currentColor;
stroke-width: 1.2;
stroke-linejoin: round;
}
.nm.dir {
font-weight: 600;
}
.nm.dir i {
color: var(--accent);
}
.nm.dir i svg {
fill: rgba(233, 180, 60, 0.2);
}
.tag {
display: inline-block;
padding: 1px 7px;
border-radius: 10px;
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.03em;
}
.tag.new {
background: rgba(62, 192, 122, 0.16);
color: var(--ok);
}
.tag.changed {
background: var(--accent-soft);
color: var(--accent);
}
.tag.same {
background: rgba(255, 255, 255, 0.06);
color: var(--dim);
}
.tag.enc {
background: rgba(215, 36, 24, 0.14);
color: #ff8a80;
}
.tag.warn {
background: rgba(255, 107, 94, 0.16);
color: var(--bad);
}
/* ---------- empty states ---------- */
.empty {
position: absolute;
inset: 0;
z-index: 3;
display: grid;
place-items: center;
background: var(--bg);
}
.empty-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
max-width: 420px;
text-align: center;
color: var(--muted);
animation: popIn 0.3s var(--ease) both;
}
.empty-card h2 {
color: var(--text);
font-size: 17px;
}
.empty-card p {
margin: 0;
}
#iop-recent {
margin-top: 16px;
width: 100%;
display: flex;
flex-direction: column;
gap: 2px;
}
#iop-recent .muted {
margin-bottom: 4px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--dim);
}
#iop-recent button {
padding: 7px 10px;
border: 0;
border-radius: 7px;
background: none;
color: var(--text);
text-align: left;
font-family: var(--mono);
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
transition: background 0.15s ease;
}
#iop-recent button:hover {
background: var(--hover);
}
/* ---------- preview ---------- */
.preview {
width: 360px;
min-width: 160px;
flex: none;
display: flex;
flex-direction: column;
background: var(--surface);
min-height: 0;
}
.preview-head {
display: flex;
align-items: center;
gap: 8px;
height: 48px;
padding: 0 14px;
border-bottom: 1px solid var(--line);
}
.preview-head b {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13.5px;
}
.preview-head select {
height: 26px;
font-size: 12px;
}
.pv-actions {
display: flex;
gap: 2px;
padding: 6px 8px;
border-bottom: 1px solid var(--line);
}
#pv-meta {
display: grid;
grid-template-columns: 76px 1fr;
gap: 6px 10px;
margin: 0;
padding: 12px 14px;
border-bottom: 1px solid var(--line);
font-size: 12px;
}
#pv-meta dt {
color: var(--dim);
}
#pv-meta dd {
margin: 0;
word-break: break-all;
}
#pv-text {
flex: 1;
margin: 0;
padding: 12px 14px;
overflow: auto;
font: 12px/1.55 var(--mono);
white-space: pre;
color: #d4d0d8;
}
/* ---------- status ---------- */
.status {
display: flex;
align-items: center;
gap: 16px;
height: 28px;
padding: 0 14px;
border-top: 1px solid var(--line);
background: var(--surface);
color: var(--dim);
font-size: 11.5px;
flex: none;
}
.statinfo {
display: flex;
align-items: center;
gap: 16px;
min-width: 0;
flex: 1;
}
.statinfo .path {
margin-left: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
direction: rtl;
text-align: left;
}
.quota {
display: inline-flex;
align-items: center;
gap: 7px;
}
.meter {
width: 60px;
height: 5px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.meter i {
display: block;
height: 100%;
border-radius: 3px;
background: var(--ok);
transition: width 0.4s var(--ease);
}
.meter.full i {
background: var(--bad);
}
/* ---------- patch manager ---------- */
.zones {
width: 250px;
min-width: 160px;
flex: none;
display: flex;
flex-direction: column;
background: var(--surface);
}
.zones-head {
display: flex;
align-items: center;
gap: 2px;
height: 50px;
padding: 0 8px 0 14px;
border-bottom: 1px solid var(--line);
}
#pm-zones {
flex: 1;
overflow: auto;
padding: 8px;
}
.zone {
padding: 9px 12px;
border-radius: 8px;
cursor: pointer;
transition: background 0.15s ease;
}
.zone:hover {
background: var(--hover);
}
.zone.on {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.zone b {
display: block;
font-weight: 600;
}
.zone span {
font-size: 11px;
color: var(--dim);
}
.pm-main #pm-zone {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.sub {
display: none;
flex: 1;
min-height: 0;
flex-direction: column;
}
.sub.on {
display: flex;
}
.sub[data-sub="deletes"] textarea {
flex: 1;
margin: 12px 14px;
border-radius: var(--radius);
}
.hint-inline {
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.summary {
display: flex;
gap: 18px;
padding: 8px 14px;
border-bottom: 1px solid var(--line);
color: var(--muted);
}
.summary:empty {
display: none;
}
.lr-info {
flex-wrap: wrap;
border-bottom: 0;
}
.lr-info .bad {
color: var(--bad);
}
.summary b {
color: var(--text);
}
.log {
height: 140px;
flex: none;
overflow: auto;
padding: 8px 14px;
border-top: 1px solid var(--line);
background: #0a090c;
font: 11.5px/1.6 var(--mono);
color: #b3aeb9;
}
.log:empty {
display: none;
}
.log .WARN {
color: var(--accent);
}
.log .ERROR {
color: var(--bad);
}
.form {
display: grid;
grid-template-columns: 190px minmax(0, 520px);
gap: 12px 16px;
align-content: start;
padding: 20px 22px;
overflow: auto;
}
.form label {
padding-top: 6px;
color: var(--muted);
}
.form .row {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
.form .row input {
flex: 1;
}
.form small {
grid-column: 2;
margin-top: -8px;
color: var(--dim);
}
.form h3 {
grid-column: 1 / -1;
margin-top: 12px;
padding-bottom: 6px;
border-bottom: 1px solid var(--line);
font-size: 12px;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent);
}
.form .actions {
grid-column: 2;
display: flex;
gap: 8px;
}
/* ---------- passwords ---------- */
.pw-wrap {
flex: 1;
overflow: auto;
}
#pw-list {
display: flex;
flex-direction: column;
gap: 10px;
padding: 16px;
}
.pw {
display: grid;
grid-template-columns: 200px 1fr 1fr auto;
gap: 12px;
align-items: end;
padding: 14px;
border-radius: var(--radius);
background: var(--surface);
border: 1px solid var(--line);
animation: popIn 0.22s var(--ease) both;
}
.pw label {
display: flex;
flex-direction: column;
gap: 5px;
color: var(--dim);
font-size: 11px;
font-weight: 600;
}
.pw input {
font-family: var(--mono);
font-size: 12px;
}
.pw .row {
display: flex;
gap: 6px;
}
/* ---------- menu ---------- */
.menu {
position: fixed;
z-index: 60;
min-width: 210px;
padding: 5px;
border-radius: 10px;
background: var(--surface-2);
border: 1px solid var(--line-2);
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
.menu.open {
animation: menuIn 0.14s var(--ease) both;
}
.menu .item {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
height: 32px;
padding: 0 10px;
border: 0;
border-radius: 6px;
background: none;
color: var(--text);
text-align: left;
cursor: pointer;
transition: background 0.12s ease;
}
.menu .item .ic {
color: var(--muted);
}
.menu .item:hover:not(:disabled) {
background: var(--hover);
}
.menu .item.danger,
.menu .item.danger .ic {
color: var(--bad);
}
.menu .item:disabled {
opacity: 0.35;
cursor: default;
}
.menu .item span {
flex: 1;
}
.menu kbd {
font: 11px var(--sans);
color: var(--dim);
}
.menu .sep {
height: 1px;
margin: 5px 6px;
background: var(--line);
}
/* ---------- task, toast, modal, drop ---------- */
#task {
position: fixed;
left: calc(50% + 32px);
bottom: 18px;
transform: translateX(-50%);
z-index: 20;
display: flex;
align-items: center;
gap: 12px;
width: 560px;
padding: 10px 10px 10px 16px;
border-radius: 12px;
background: var(--surface-2);
border: 1px solid var(--line-2);
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
#task-text {
width: 230px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bar-track {
flex: 1;
height: 6px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.08);
overflow: hidden;
}
#task-bar {
display: block;
height: 100%;
width: 0;
border-radius: 3px;
background: linear-gradient(90deg, var(--brand), var(--accent));
transition: width 0.25s var(--ease);
}
#toast {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 30;
display: flex;
flex-direction: column;
gap: 8px;
}
.toast {
max-width: 420px;
padding: 11px 14px;
border-radius: 10px;
background: var(--surface-2);
border: 1px solid var(--line-2);
border-left: 3px solid var(--ok);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
animation: toastIn 0.24s var(--ease) both;
white-space: pre-line;
cursor: pointer;
}
.toast.bad {
border-left-color: var(--bad);
}
.toast.out {
animation: toastOut 0.2s ease both;
}
#modal {
position: fixed;
inset: 0;
z-index: 40;
display: grid;
place-items: center;
background: rgba(5, 4, 7, 0.6);
backdrop-filter: blur(3px);
}
#modal .dialog {
width: 500px;
max-width: 90vw;
padding: 20px 22px;
border-radius: 14px;
background: var(--surface-2);
border: 1px solid var(--line-2);
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
#modal-title {
font-size: 16px;
}
#modal-body {
margin: 12px 0 18px;
color: var(--muted);
display: flex;
flex-direction: column;
gap: 10px;
}
#modal-body p {
margin: 0;
}
#modal-body input:not([type="radio"]):not([type="checkbox"]),
#modal-body select {
width: 100%;
color: var(--text);
}
#modal .actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
#drop {
position: fixed;
inset: 12px 12px 12px 76px;
z-index: 50;
display: grid;
place-items: end center;
padding-bottom: 40px;
border: 2px dashed rgba(233, 180, 60, 0.7);
border-radius: 16px;
background: rgba(233, 180, 60, 0.05);
pointer-events: none;
}
#drop div {
padding: 10px 18px;
border-radius: 10px;
background: var(--surface-2);
border: 1px solid var(--line-2);
font-size: 14px;
font-weight: 600;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* ---------- motion ---------- */
.view.on,
.sub.on {
animation: viewIn 0.22s var(--ease) both;
}
.vt-rows.in-right {
animation: inRight 0.24s var(--ease) both;
}
.vt-rows.in-left {
animation: inLeft 0.24s var(--ease) both;
}
.vt-rows.in-fade,
.fade-in {
animation: inFade 0.2s ease both;
}
#modal:not([hidden]) {
animation: modalFade 0.18s ease both;
}
#modal:not([hidden]) .dialog {
animation: modalIn 0.22s var(--ease) both;
}
#modal.closing {
animation: modalFade 0.16s ease reverse both;
}
#modal.closing .dialog {
animation: modalIn 0.16s ease reverse both;
}
#task:not([hidden]) {
animation: taskIn 0.22s var(--ease) both;
}
#drop:not([hidden]) {
animation: inFade 0.15s ease both;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
/* ---------- UI Image Set editor ---------- */
#ims-entry {
width: 190px;
font-family: var(--mono);
font-size: 12px;
}
.ims-title {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
margin-left: 6px;
overflow: hidden;
}
.ims-title .muted {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--mono);
font-size: 12px;
}
.ims-left {
width: 270px;
min-width: 180px;
flex: none;
display: flex;
flex-direction: column;
background: var(--surface);
}
.ims-head {
display: flex;
align-items: center;
gap: 8px;
padding: 10px;
border-bottom: 1px solid var(--line);
}
.ims-head .search {
flex: 1;
}
.ims-head .search input,
.ims-card .search input {
width: 100%;
}
.ims-head .search input:focus,
.ims-card .search input:focus {
width: 100%;
}
.ims-list {
flex: 1;
overflow: auto;
padding: 6px;
}
.ims-set {
padding: 7px 10px;
border-radius: 7px;
cursor: pointer;
transition: background 0.12s ease;
}
.ims-set:hover {
background: var(--hover);
}
.ims-set.on {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.ims-set b {
display: block;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ims-set span {
font-size: 11px;
color: var(--dim);
font-family: var(--mono);
}
.ims-foot {
display: flex;
align-items: center;
gap: 4px;
padding: 8px;
border-top: 1px solid var(--line);
}
.ims-stage {
position: relative;
flex: 1;
min-height: 0;
overflow: hidden;
background:
radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0) 0 0 / 18px 18px,
#0b0a0d;
}
#ims-canvas {
position: absolute;
inset: 0;
outline: none;
cursor: grab;
}
#ims-canvas.drawing {
cursor: crosshair;
}
.ims-help {
padding: 6px 14px;
border-top: 1px solid var(--line);
font-size: 11px;
background: var(--surface);
}
.ims-texinfo {
font-size: 12px;
font-family: var(--mono);
max-width: 420px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ims-texinfo.bad {
color: var(--bad);
}
#ims-hover {
color: var(--accent);
}
.iconbtn.toggle.on {
background: var(--accent-soft);
color: var(--accent);
}
.ims-side {
width: 330px;
min-width: 240px;
flex: none;
display: flex;
flex-direction: column;
gap: 10px;
padding: 10px;
overflow: auto;
background: var(--surface);
}
.ims-card {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
border-radius: 10px;
background: var(--surface-2);
border: 1px solid var(--line);
animation: popIn 0.2s var(--ease) both;
}
.ims-card.grow {
min-height: 220px;
flex: 1;
}
.ims-card h4 {
margin: 0;
display: flex;
justify-content: space-between;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--accent);
}
.ims-card .ims-list {
margin: 0 -6px;
padding: 0;
max-height: none;
}
.ims-card .ims-foot {
margin: 0 -12px -12px;
}
.ims-img {
display: flex;
align-items: center;
gap: 8px;
height: 28px;
padding: 0 10px;
border-radius: 6px;
cursor: pointer;
transition: background 0.12s ease;
}
.ims-img:hover {
background: var(--hover);
}
.ims-img.on {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.ims-img span {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ims-img em {
font-style: normal;
font-size: 11px;
color: var(--dim);
font-family: var(--mono);
}
.ims-form {
display: flex;
flex-direction: column;
gap: 8px;
}
.fld {
display: flex;
flex-direction: column;
gap: 4px;
}
.fld span {
font-size: 11px;
color: var(--dim);
font-weight: 600;
}
.fld input {
width: 100%;
font-family: var(--mono);
font-size: 12px;
}
.fld-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.ims-cropwrap {
display: grid;
place-items: center;
min-height: 60px;
padding: 10px;
border-radius: 8px;
background:
repeating-conic-gradient(#2a2830 0% 25%, #34313b 0% 50%) 0 0 / 16px 16px;
overflow: auto;
}
#ims-crop {
image-rendering: pixelated;
max-width: 100%;
}
/* choice list (texture source picker) */
.choice-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.choice {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid var(--line-2);
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:hover {
background: var(--hover);
}
.choice:has(input:checked) {
border-color: rgba(233, 180, 60, 0.6);
background: var(--accent-soft);
}
.choice input {
flex: none;
width: auto;
height: auto;
margin: 3px 0 0;
padding: 0;
border: 0;
background: none;
box-shadow: none;
accent-color: var(--accent);
}
.choice span {
display: flex;
flex: 1;
flex-direction: column;
gap: 2px;
min-width: 0;
text-align: left;
}
.choice b {
color: var(--text);
font-weight: 600;
}
.choice em {
font-style: normal;
font-size: 12px;
color: var(--dim);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* ---------- Model viewer ---------- */
.mdl-kinds {
padding: 10px 10px 0;
}
.mdl-kinds .seg {
width: 100%;
}
.mdl-kinds .seg button {
flex: 1;
justify-content: center;
padding: 0 6px;
}
.mdl-list {
flex: 1;
min-height: 0;
}
.mdl-list .dim {
color: var(--dim);
font-size: 11px;
}
.mdl-hint {
font-size: 11px;
justify-content: center;
}
.mdl-stage {
position: relative;
flex: 1;
min-height: 0;
overflow: hidden;
background:
radial-gradient(ellipse at 50% 35%, rgba(233, 180, 60, 0.06), transparent 60%),
linear-gradient(#141318, #0b0a0d);
}
#mdl-canvas {
position: absolute;
inset: 0;
outline: none;
cursor: grab;
}
#mdl-canvas:active {
cursor: grabbing;
}
#fx-canvas { position: absolute; inset: 0; outline: none; cursor: grab; }
#fx-canvas:active { cursor: grabbing; }
.fx-stage { background: #5e5e5e; }
.fx-side { width: 380px; min-width: 300px; }
.fx-side .ims-card { flex: 0 0 auto; }
.fx-hierarchy { max-height: 210px; overflow: auto; font-size: 12px; }
.fx-node { display: block; width: 100%; padding: 5px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.fx-node:hover { background: var(--hover); }
.fx-node.on { background: var(--accent-soft); color: var(--accent); }
.fx-actions { display: flex; gap: 5px; flex-wrap: wrap; padding-top: 8px; }
.fx-properties { display: grid; grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 6px 8px; max-height: 355px; overflow: auto; font-size: 11px; padding-right: 3px; }
.fx-properties label { color: var(--muted); }
.fx-properties input, .fx-properties select { width: 100%; min-width: 0; font: 11px var(--mono); }
.fx-vector { display: flex; gap: 3px; min-width: 0; }
.fx-vector input { flex: 1 1 0; width: 0; padding-left: 3px; padding-right: 1px; }
.fx-group { grid-column: 1 / -1; margin: 7px 0 1px; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fx-resource-field { display: flex; gap: 3px; min-width: 0; }
.fx-resource-field input { flex: 1 1 0; }
.fx-resource-field button { flex: none; }
.fx-resource-list { display: flex; flex-direction: column; gap: 2px; min-height: 120px; max-height: 310px; overflow: auto; margin-top: 6px; }
.fx-resource { border: 0; border-radius: 4px; background: transparent; color: var(--text); padding: 6px 8px; text-align: left; cursor: pointer; font: 11px var(--mono); }
.fx-resource:hover, .fx-resource.on { background: var(--accent-soft); color: var(--accent); }
.fx-script-card { display: flex; flex: 1 1 220px !important; flex-direction: column; min-height: 170px; }
.fx-script { flex: 1; min-height: 130px; width: 100%; resize: none; font: 11px/1.45 var(--mono); white-space: pre; tab-size: 2; }
#mdl-labels {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.mdl-tag {
position: absolute;
transform: translate(8px, -50%);
padding: 1px 6px;
border-radius: 5px;
background: rgba(15, 14, 18, 0.8);
color: #ffb3aa;
font: 11px var(--mono);
white-space: nowrap;
}
.mdl-loading {
position: absolute;
top: 14px;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 10px;
padding: 7px 14px;
border-radius: 999px;
background: var(--surface-3);
border: 1px solid var(--line-2);
font-size: 12px;
animation: popIn 0.2s var(--ease) both;
}
.mdl-loading i {
width: 12px;
height: 12px;
border-radius: 50%;
border: 2px solid var(--accent);
border-right-color: transparent;
animation: spin 0.8s linear infinite;
}
.mdl-timeline {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
border-top: 1px solid var(--line);
background: var(--surface);
animation: popIn 0.2s var(--ease) both;
}
.mdl-track {
position: relative;
flex: 1;
display: flex;
align-items: center;
height: 30px;
}
.mdl-track input[type="range"] {
width: 100%;
accent-color: var(--accent);
position: relative;
z-index: 1;
}
.mdl-events {
position: absolute;
left: 8px;
right: 8px;
top: 0;
height: 9px;
z-index: 2;
}
.mdl-ev {
position: absolute;
top: 0;
width: 7px;
height: 9px;
margin-left: -3.5px;
border-radius: 2px;
background: var(--bad);
cursor: pointer;
transition: transform 0.12s ease;
}
.mdl-ev:hover {
transform: scale(1.4);
}
#mdl-clock {
min-width: 108px;
text-align: right;
font-size: 12px;
color: var(--muted);
}
#mdl-side h5 {
margin: 6px 0 0;
font-size: 11px;
font-weight: 600;
color: var(--dim);
}
.mdl-rows {
display: flex;
flex-direction: column;
gap: 2px;
margin: 0 -6px;
}
.mdl-row {
display: flex;
align-items: center;
gap: 8px;
min-height: 34px;
padding: 4px 6px;
border-radius: 7px;
transition: background 0.12s ease;
}
.mdl-row > .ic {
color: var(--dim);
flex: none;
}
.mdl-row .grow,
.mdl-sub .grow,
.mdl-tr .grow {
flex: 1;
min-width: 0;
}
.mdl-row b,
.mdl-row em {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mdl-row b {
font-weight: 600;
}
.mdl-row em {
font-style: normal;
font-size: 11px;
color: var(--dim);
}
.mdl-row.mesh {
cursor: pointer;
}
.mdl-row.mesh:hover {
background: var(--hover);
}
.mdl-row.mesh.on {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.mdl-row input[type="checkbox"] {
accent-color: var(--accent);
}
.mdl-row select {
min-width: 0;
}
.mdl-note {
font-size: 12px;
padding: 0 6px;
}
.bad {
color: var(--bad);
}
.small {
font-size: 11px;
}
.mdl-dl {
display: grid;
grid-template-columns: auto 1fr;
gap: 4px 10px;
margin: 0;
font-size: 12px;
}
.mdl-dl dt {
color: var(--dim);
}
.mdl-dl dd {
margin: 0;
min-width: 0;
overflow-wrap: anywhere;
}
.mdl-subs {
display: flex;
flex-direction: column;
gap: 2px;
}
.mdl-sub {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 6px;
border-radius: 6px;
font-size: 12px;
}
.mdl-sub:hover {
background: var(--hover);
}
.mdl-sub b {
width: 16px;
color: var(--dim);
font-weight: 600;
}
.mdl-sub .grow {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mdl-sub em {
font-style: normal;
font-size: 11px;
color: var(--dim);
font-family: var(--mono);
}
.mdl-cps,
.mdl-ani {
display: flex;
flex-direction: column;
gap: 6px;
}
.mdl-cp {
display: flex;
flex-direction: column;
gap: 4px;
padding: 6px;
border-radius: 7px;
background: var(--surface-3);
animation: popIn 0.18s var(--ease) both;
}
.mdl-cp .row,
.mdl-ev-row,
.mdl-dur {
display: flex;
gap: 4px;
align-items: center;
}
.mdl-cp input,
.mdl-cp select,
.mdl-ev-row input,
.mdl-tr input {
min-width: 0;
flex: 1;
font-family: var(--mono);
font-size: 12px;
height: 26px;
padding: 0 6px;
}
.mdl-cp .xyz input[type="number"] {
flex: 1 1 50px;
}
.mdl-dur {
align-items: flex-end;
gap: 10px;
}
.mdl-dur .fld {
flex: 1;
}
.mdl-dur .chip {
margin-bottom: 4px;
}
.mdl-events-list {
display: flex;
flex-direction: column;
gap: 3px;
max-height: 220px;
overflow: auto;
}
.mdl-ev-row input[type="number"] {
flex: 0 0 72px;
}
.mdl-events-list .mdl-cp {
padding: 4px;
gap: 3px;
}
.mdl-tracks {
flex: 1;
min-height: 120px;
max-height: 340px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 1px;
}
.mdl-tr {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 4px;
border-radius: 6px;
font-size: 12px;
}
.mdl-tr:hover {
background: var(--hover);
}
.mdl-tr .grow {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.mdl-tr em {
font-style: normal;
color: var(--dim);
font-family: var(--mono);
font-size: 11px;
width: 34px;
text-align: right;
}
.mdl-tr input {
flex: 0 0 58px;
}
.mdl-tr.bad .grow {
color: var(--bad);
text-decoration: line-through;
}
#mdl-side .search input {
width: 100%;
}
#modal .dialog:has(textarea.mdl-mat) {
width: 820px;
}
textarea.mdl-mat {
width: 100%;
height: 56vh;
font: 12px/1.5 var(--mono);
resize: vertical;
}
.choice-list.scroll {
max-height: 50vh;
overflow: auto;
}
/* ---------- Map editor ---------- */
.map-head select {
width: 100%;
}
.map-labels {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.map-tag {
position: absolute;
transform: translate(10px, -50%);
padding: 1px 6px;
border-radius: 5px;
border-left: 3px solid;
background: rgba(15, 14, 18, 0.82);
color: var(--text);
font: 11px var(--mono);
white-space: nowrap;
}
.map-tag.on {
background: rgba(233, 180, 60, 0.9);
color: #16151a;
font-weight: 700;
}
.map-side .ims-card h4 span {
text-transform: none;
letter-spacing: 0;
}
.map-layers {
display: flex;
flex-direction: column;
gap: 1px;
max-height: 220px;
overflow: auto;
margin: 0 -6px;
}
.map-layer {
display: flex;
align-items: center;
gap: 8px;
padding: 3px 6px;
border-radius: 6px;
font-size: 12px;
cursor: pointer;
}
.map-layer:hover {
background: var(--hover);
}
.map-layer input {
accent-color: var(--accent);
}
.map-layer .grow {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.map-layer em {
font-style: normal;
font-family: var(--mono);
font-size: 11px;
color: var(--dim);
}
.map-dot {
width: 9px;
height: 9px;
border-radius: 50%;
flex: none;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}
.map-sections {
display: flex;
flex-wrap: wrap;
gap: 4px;
max-height: 170px;
overflow: auto;
}
.map-object-list {
display: flex;
flex-direction: column;
gap: 3px;
max-height: 190px;
overflow: auto;
}
.map-object-item {
display: flex;
align-items: stretch;
min-width: 0;
border: 1px solid var(--line);
border-radius: 7px;
background: var(--surface-3);
}
.map-object-item:hover { background: var(--hover); }
.map-object-item.on { border-color: var(--accent); background: var(--accent-soft); }
.map-object-row {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
min-width: 0;
padding: 6px 8px;
text-align: left;
border: 0;
border-radius: 6px;
color: var(--text);
background: transparent;
cursor: pointer;
}
.map-object-actions { display: flex; align-items: center; gap: 2px; padding: 2px 4px 2px 0; }
.map-object-actions .iconbtn { width: 27px; height: 27px; }
.map-object-row span {
overflow: hidden;
color: var(--muted);
font: 10px var(--mono);
text-overflow: ellipsis;
white-space: nowrap;
}
.map-object-row:hover { background: transparent; }
.map-object-transform {
display: flex;
flex-direction: column;
gap: 8px;
margin: 4px 0 10px;
padding: 9px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-3);
}
.map-object-mode {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 5px;
}
.map-object-mode .iconbtn.on { color: var(--accent); border-color: var(--accent); }
.map-object-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.map-object-fields .fld { min-width: 0; }
.map-object-fields input { min-width: 0; width: 100%; }
#modal .dialog:has(.map-model-browser) { width: 940px; max-width: 94vw; }
.map-model-browser {
display: grid;
grid-template-columns: minmax(360px, 1.4fr) minmax(220px, 0.8fr);
gap: 12px;
width: 100%;
height: min(62vh, 620px);
min-height: 360px;
color: var(--text);
}
.map-model-browser-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.map-model-browser-list input { flex: 0 0 auto; }
.map-model-list {
display: flex;
flex-direction: column;
gap: 2px;
min-height: 0;
overflow: auto;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface-1);
}
.map-model-option {
padding: 6px 8px;
overflow-wrap: anywhere;
border: 0;
color: var(--text);
background: transparent;
font: 11px var(--mono);
text-align: left;
white-space: normal;
cursor: pointer;
}
.map-model-option:hover { background: var(--hover); }
.map-model-option.on { color: var(--accent); background: var(--accent-soft); }
.map-model-more { padding: 8px; }
@media (max-width: 720px) {
.map-model-browser { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(160px, 0.65fr); }
}
.map-model-preview {
position: relative;
min-width: 0;
min-height: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 8px;
background: #17171b;
}
.map-model-canvas { display: block; width: 100%; height: 100%; }
.map-model-status {
position: absolute;
right: 8px;
bottom: 8px;
left: 8px;
padding: 5px 8px;
border-radius: 5px;
color: var(--text);
background: rgba(0, 0, 0, 0.68);
font: 11px var(--mono);
pointer-events: none;
}
.map-sec {
display: flex;
align-items: center;
gap: 5px;
padding: 3px 8px;
border-radius: 999px;
background: var(--surface-3);
border: 1px solid var(--line);
font: 11px var(--mono);
cursor: pointer;
transition: background 0.12s ease, border-color 0.12s ease;
}
.map-sec:hover {
background: var(--hover);
}
.map-sec.on {
background: var(--accent-soft);
border-color: rgba(233, 180, 60, 0.6);
color: var(--accent);
}
.map-sec em {
font-style: normal;
color: var(--dim);
}
#map-sec-name {
font-family: var(--mono);
text-transform: none;
letter-spacing: 0;
}
.map-sec-tools {
display: flex;
align-items: center;
gap: 6px;
}
.map-sec-tools .spacer {
flex: 1;
}
.map-kvs {
display: flex;
flex-direction: column;
gap: 2px;
max-height: 420px;
overflow: auto;
}
.map-kv {
display: grid;
grid-template-columns: minmax(90px, 44%) 1fr 26px;
align-items: center;
gap: 4px;
padding: 1px 2px;
border-radius: 6px;
}
.map-kv.on {
background: var(--accent-soft);
}
.map-kv .k {
font: 11px var(--mono);
color: var(--muted);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.map-kv input {
min-width: 0;
height: 24px;
padding: 0 6px;
font: 12px var(--mono);
}
.map-kv .iconbtn.only {
width: 24px;
height: 24px;
opacity: 0.45;
}
.map-kv:hover .iconbtn.only {
opacity: 1;
}
.map-help {
grid-column: 1 / -1;
font-style: normal;
font-size: 11px;
color: var(--dim);
white-space: pre-wrap;
padding: 0 2px 2px;
}
.map-kv.add {
grid-template-columns: minmax(90px, 44%) 1fr 26px;
padding-top: 6px;
border-top: 1px solid var(--line);
}
.map-minimap {
display: flex;
flex-direction: column;
gap: 4px;
}
.map-minimap canvas {
max-width: 100%;
image-rendering: pixelated;
border-radius: 6px;
background: repeating-conic-gradient(#2a2830 0% 25%, #34313b 0% 50%) 0 0 / 12px 12px;
align-self: flex-start;
}
/* ---------- UI window editor ---------- */
.wnd-tree {
display: flex;
flex-direction: column;
max-height: 260px;
overflow: auto;
margin: 0 -6px;
}
.wnd-node {
display: flex;
align-items: baseline;
gap: 6px;
padding: 3px 8px;
border-radius: 6px;
cursor: pointer;
font-size: 12px;
white-space: nowrap;
}
.wnd-node:hover {
background: var(--hover);
}
.wnd-node.on {
background: var(--sel);
box-shadow: inset 2px 0 0 var(--accent);
}
.wnd-node.hid {
opacity: 0.6;
}
.wnd-node b {
font-weight: 600;
}
.wnd-node em {
font-style: normal;
font-size: 11px;
color: var(--dim);
overflow: hidden;
text-overflow: ellipsis;
}
.wnd-props {
display: flex;
flex-direction: column;
gap: 8px;
overflow: auto;
}
.wnd-el {
display: flex;
flex-direction: column;
gap: 2px;
padding: 6px;
border-radius: 8px;
background: var(--surface-3);
border: 1px solid var(--line);
}
.wnd-el .wnd-el {
background: rgba(255, 255, 255, 0.025);
}
.wnd-el-head {
display: flex;
align-items: center;
gap: 4px;
font: 12px var(--mono);
color: var(--accent);
}
.wnd-el-head .spacer {
flex: 1;
}
.wnd-el-head .iconbtn.only {
width: 24px;
height: 24px;
}
.wnd-resolved {
font-size: 12px;
color: var(--ok);
padding: 0 4px 2px;
}
.wnd-quick {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
}
.wnd-quick .fld input,
.wnd-quick .fld select {
width: 100%;
}
.wnd-quick .wide {
grid-column: 1 / -1;
}
.wnd-color {
display: flex;
gap: 4px;
align-items: center;
}
.wnd-color input[type="color"] {
width: 26px;
height: 24px;
padding: 0;
border: none;
background: none;
}
/* ---------- Patch Manager → Packs ---------- */
.bar .chip {
flex: none;
white-space: nowrap;
}
.bar .hint-inline {
min-width: 0;
flex: 1;
}
.pack-list {
display: flex;
flex-direction: column;
gap: 6px;
padding: 10px 14px;
border-bottom: 1px solid var(--line);
flex: none;
max-height: 40%;
overflow: auto;
}
.pack-row {
display: grid;
grid-template-columns: 18px minmax(150px, 1fr) minmax(190px, 0.9fr) minmax(260px, 1.5fr) auto;
align-items: center;
gap: 12px;
padding: 8px 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.pack-row.bad {
border-color: color-mix(in srgb, var(--bad) 45%, transparent);
}
.pack-row > .ic {
color: var(--accent);
}
.pack-name,
.pack-stats {
display: flex;
flex-direction: column;
min-width: 0;
}
.pack-name span,
.pack-stats span {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 12px;
}
.pack-stats .bad {
color: var(--bad);
}
.pack-prefix {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 12px;
}
.pack-prefix input {
height: 26px;
padding: 0 8px;
border: 1px solid var(--line-2);
border-radius: 6px;
background: var(--surface);
font-family: var(--mono);
font-size: 12px;
}
.pack-prefix input:focus {
outline: none;
border-color: var(--accent);
}
.empty-line {
padding: 6px 2px;
}
/* ---------- Monitor (LS_Monitor) ---------- */
.mon-main {
display: flex;
flex-direction: column;
min-width: 0;
}
#mon-zone {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
#mon-zone .sub {
display: none;
flex: 1;
min-height: 0;
flex-direction: column;
}
#mon-zone .sub.on {
display: flex;
}
.mon-zone-item b {
display: flex;
align-items: center;
gap: 7px;
}
.mon-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--dim);
flex: none;
}
.mon-dot.on {
background: var(--ok);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}
.mon-dot.wait {
background: var(--accent);
animation: monPulse 1.2s ease-in-out infinite;
}
.mon-status-bar {
gap: 10px;
border-bottom: 1px solid var(--line);
}
.mon-chip {
display: inline-flex;
align-items: center;
gap: 6px;
height: 26px;
padding: 0 10px;
border: 1px solid var(--line-2);
border-radius: 13px;
color: var(--muted);
font-size: 12px;
white-space: nowrap;
}
.mon-chip.on {
color: var(--text);
}
.mon-chip.level {
border-color: color-mix(in srgb, var(--accent) 45%, transparent);
color: var(--accent);
background: var(--accent-soft);
}
.mon-kpis {
display: flex;
gap: 18px;
align-items: baseline;
}
.kpi {
display: flex;
align-items: baseline;
gap: 5px;
color: var(--muted);
font-size: 12px;
}
.kpi b {
color: var(--text);
font-size: 15px;
font-variant-numeric: tabular-nums;
}
.kpi.big b {
font-size: 22px;
color: var(--accent);
}
#mon-table {
flex: 1;
min-height: 0;
}
.vt-row.mon-special {
background: var(--surface-2);
}
.mon-strong {
font-weight: 600;
}
.tag.mon-on {
color: var(--ok);
background: color-mix(in srgb, var(--ok) 14%, transparent);
}
.tag.mon-off {
color: var(--bad);
background: color-mix(in srgb, var(--bad) 12%, transparent);
}
.tag.mon-busy,
.tag.mon-connecting {
color: var(--accent);
background: var(--accent-soft);
}
/* CCU graph */
.mon-graph-wrap {
position: relative;
flex: 1;
min-height: 0;
margin: 10px 14px 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
}
#mon-graph {
position: absolute;
inset: 0;
}
.mon-graph-tip {
position: absolute;
transform: translate(-50%, -140%);
padding: 3px 8px;
border-radius: 5px;
background: var(--surface-3);
border: 1px solid var(--line-2);
font-size: 12px;
white-space: nowrap;
pointer-events: none;
}
#mon-day {
height: 28px;
padding: 0 8px;
border: 1px solid var(--line-2);
border-radius: 6px;
background: var(--surface);
color-scheme: dark;
}
/* login panel */
.mon-panels {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 10px;
padding: 14px;
overflow: auto;
align-content: start;
}
.mon-tile {
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
cursor: context-menu;
}
.mon-tile-head {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 12px;
}
.mon-tile-head b {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.mon-tile-state {
color: var(--muted);
}
.mon-tile-bar {
height: 6px;
margin: 9px 0 6px;
border-radius: 3px;
background: var(--surface-3);
overflow: hidden;
}
.mon-tile-bar i {
display: block;
height: 100%;
background: var(--ok);
transition: width 0.4s var(--ease);
}
.mon-tile-num b {
font-size: 16px;
font-variant-numeric: tabular-nums;
}
.mon-tile.blocked {
opacity: 0.75;
border-color: color-mix(in srgb, var(--bad) 40%, transparent);
}
.mon-tile.blocked .mon-tile-state,
.mon-tile.zombie .mon-tile-state {
color: var(--bad);
}
.mon-tile.blocked .mon-tile-bar i {
background: var(--dim);
}
.mon-tile.zombie .mon-tile-bar i {
background: var(--bad);
}
.mon-tile.disconnected,
.mon-tile.waiting {
opacity: 0.55;
}
/* operating tool */
.mon-operate {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
gap: 12px;
padding: 14px;
overflow: auto;
align-content: start;
}
.mon-card {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 14px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface-2);
}
.mon-card header {
display: flex;
align-items: center;
gap: 8px;
}
.mon-card header h3 {
font-size: 13px;
}
.mon-card p {
margin: 0;
font-size: 12px;
}
.mon-card.locked {
display: none;
}
.mon-list {
width: 100%;
resize: vertical;
padding: 7px 9px;
border: 1px solid var(--line-2);
border-radius: 6px;
background: var(--surface);
font-family: var(--mono);
font-size: 12px;
}
.mon-card input[type="text"],
.mon-card input[type="number"],
.mon-card input[type="datetime-local"],
.mon-card select {
height: 28px;
padding: 0 8px;
border: 1px solid var(--line-2);
border-radius: 6px;
background: var(--surface);
color-scheme: dark;
min-width: 0;
}
.mon-row {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 8px;
}
.mon-field {
display: flex;
flex-direction: column;
gap: 3px;
font-size: 11px;
color: var(--muted);
}
.mon-two {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.mon-notices {
display: flex;
flex-direction: column;
gap: 6px;
}
.mon-notice {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 6px;
padding: 6px;
border: 1px solid var(--line);
border-radius: 6px;
}
.mon-notice > input[type="text"] {
flex: 1 1 100%;
}
.mon-log {
flex: 1;
height: auto;
min-height: 0;
}
.log .OK {
color: var(--ok);
}
/* details window */
.mon-info {
max-height: 60vh;
overflow: auto;
min-width: 560px;
scrollbar-color: var(--surface-3) transparent;
}
.mon-kv {
display: grid;
grid-template-columns: max-content 1fr;
gap: 4px 16px;
font-size: 12px;
}
.mon-kv .k {
color: var(--muted);
}
.mon-kv .v {
font-family: var(--mono);
word-break: break-all;
}
.mon-kv-sep {
grid-column: 1 / -1;
height: 1px;
margin: 4px 0;
background: var(--line);
}
.mon-sub-h {
margin: 12px 0 6px;
font-size: 12px;
}
.mon-relays {
font-family: var(--mono);
font-size: 12px;
display: flex;
flex-direction: column;
gap: 2px;
}
/* ---------- profile (workspace) switcher ---------- */
.ws-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 1px;
width: 50px;
margin-top: -6px;
padding: 5px 0 4px;
border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
border-radius: 8px;
background: var(--accent-soft);
cursor: pointer;
transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.ws-btn:hover {
border-color: var(--accent);
}
.ws-btn b {
color: var(--accent);
font-size: 11px;
letter-spacing: 0.04em;
}
.ws-btn span {
color: var(--muted);
font-size: 9px;
}
.ws-packs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin: 4px 0 12px;
}
#iop-recent .ws-packs button.primary {
color: var(--accent);
}
.small-pre {
max-height: 140px;
overflow: auto;
margin: 0;
padding: 8px 10px;
border-radius: 6px;
background: var(--surface);
font-size: 11.5px;
white-space: pre;
}
/* ---------- Items (Item Viewer) ---------- */
.it-body {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: 180px minmax(360px, 1fr) minmax(320px, 400px);
}
.it-cats {
display: flex;
flex-direction: column;
gap: 2px;
padding: 10px 8px;
border-right: 1px solid var(--line);
overflow-y: auto;
}
.it-cats button {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 10px;
border: 0;
border-radius: 6px;
background: none;
color: var(--muted);
text-align: left;
cursor: pointer;
}
.it-cats button:hover {
background: var(--hover);
color: var(--text);
}
.it-cats button.on {
background: var(--sel);
color: var(--accent-2);
}
.it-cats b {
font: 600 11px var(--mono);
color: var(--dim);
}
.it-list {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.it-list .vtable {
flex: 1;
min-height: 0;
}
.it-count {
padding: 5px 12px;
border-top: 1px solid var(--line);
font-size: 11px;
}
.it-icon {
display: block;
image-rendering: auto;
}
.it-icon.missing {
outline: 1px dashed var(--line-2);
outline-offset: -1px;
}
.vtable .vt-row > div:first-child {
display: flex;
align-items: center;
}
.it-detail {
border-left: 1px solid var(--line);
padding: 16px;
overflow-y: auto;
min-width: 0;
}
.it-empty {
padding: 40px 0;
text-align: center;
}
.it-head {
display: flex;
gap: 14px;
align-items: center;
margin-bottom: 12px;
}
.it-head .it-icon {
flex: none;
border-radius: 8px;
background: var(--surface-2);
}
.it-head h3 {
margin: 0 0 2px;
font-size: 17px;
}
.it-head code {
font: 11px var(--mono);
}
.it-kvs {
display: grid;
gap: 3px;
margin-bottom: 12px;
}
.it-kv {
display: grid;
grid-template-columns: 90px 1fr;
gap: 8px;
overflow-wrap: anywhere;
}
.it-detail h4 {
margin: 14px 0 6px;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--accent);
}
.it-detail h4 .muted {
text-transform: none;
letter-spacing: 0;
font-weight: 400;
font-size: 11px;
}
.it-shop {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.it-shop th,
.it-shop td {
padding: 4px 6px;
border-bottom: 1px solid var(--line);
text-align: left;
}
.it-shop th {
color: var(--dim);
font-weight: 500;
}
.it-shop .num {
text-align: right;
font-family: var(--mono);
}
.it-shop tr.off td {
color: var(--dim);
}
.it-contents {
display: grid;
gap: 2px;
max-height: 260px;
overflow-y: auto;
}
.it-content {
display: grid;
grid-template-columns: 26px 1fr auto;
gap: 8px;
align-items: center;
}
.it-manual {
margin-bottom: 6px;
}
/* descriptions as the game shows them: a light panel, the INI's own text colours */
.it-mtitle,
.it-mline {
background: #f3f1ea;
padding: 1px 10px;
color: #3a3a3a;
white-space: pre-wrap;
}
.it-mtitle {
padding-top: 8px;
font-weight: 600;
}
.it-manual > .it-mline:first-of-type,
.it-manual > .it-mtitle + .it-mline {
padding-top: 8px;
}
.it-manual > .it-mline:last-child {
padding-bottom: 8px;
}
.it-raw {
margin-top: 14px;
}
.it-raw summary {
cursor: pointer;
color: var(--muted);
}
.it-raw table {
width: 100%;
border-collapse: collapse;
font-size: 11px;
margin-top: 6px;
}
.it-raw td {
padding: 2px 6px;
border-bottom: 1px solid var(--line);
vertical-align: top;
overflow-wrap: anywhere;
}
.it-raw td:first-child {
color: var(--muted);
width: 40%;
}
/* ---------- Tables (DAT Editor) ---------- */
.dt-body {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
}
.dt-list {
display: flex;
flex-direction: column;
gap: 1px;
padding: 8px;
border-right: 1px solid var(--line);
overflow-y: auto;
}
.dt-group {
margin: 8px 6px 4px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent);
}
.dt-none {
padding: 4px 8px;
font-size: 12px;
}
.dt-item {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 6px 10px;
border: 0;
border-radius: 6px;
background: none;
text-align: left;
cursor: pointer;
color: var(--text);
}
.dt-item:hover {
background: var(--hover);
}
.dt-item.on {
background: var(--sel);
color: var(--accent-2);
}
.dt-item small {
font-size: 10.5px;
}
.dt-main {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.dt-main .bar.nav {
flex-wrap: wrap;
}
.dt-grid {
flex: 1;
min-height: 0;
overflow: auto;
position: relative;
outline: none;
background: var(--bg);
font-size: 12.5px;
}
.dt-head {
position: sticky;
top: 0;
z-index: 3;
display: flex;
height: 34px;
background: var(--surface-2);
border-bottom: 1px solid var(--line-2);
}
.dt-h {
position: relative;
flex: none;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 8px;
border-right: 1px solid var(--line);
cursor: pointer;
overflow: hidden;
white-space: nowrap;
}
.dt-h b {
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
}
.dt-h small {
font-size: 10px;
color: var(--dim);
overflow: hidden;
text-overflow: ellipsis;
}
.dt-h.dt-rn {
position: sticky;
left: 0;
z-index: 4;
background: var(--surface-2);
color: var(--dim);
cursor: default;
}
.dt-resize {
position: absolute;
top: 0;
right: -3px;
width: 7px;
height: 100%;
cursor: col-resize;
}
.dt-rows {
position: relative;
}
.dt-row {
position: absolute;
left: 0;
display: flex;
height: 26px;
}
.dt-row.new .dt-rn {
color: var(--ok);
}
.dt-cell {
flex: none;
height: 26px;
line-height: 25px;
padding: 0 7px;
border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
cursor: cell;
user-select: none;
}
.dt-cell.num {
text-align: right;
font-family: var(--mono);
font-size: 12px;
}
.dt-cell.dt-rn {
position: sticky;
left: 0;
z-index: 2;
background: var(--surface);
color: var(--dim);
text-align: right;
font: 11px/25px var(--mono);
cursor: pointer;
}
.dt-cell.dirty {
background: rgba(233, 180, 60, 0.12);
}
.dt-cell.sel {
background: rgba(88, 166, 255, 0.16);
}
.dt-cell.act {
box-shadow: inset 0 0 0 2px var(--accent);
}
.dt-enum {
margin-left: 6px;
font: 10.5px var(--sans);
color: var(--dim);
}
.dt-editor {
position: absolute;
z-index: 5;
height: 26px !important;
padding: 0 7px !important;
border-radius: 0 !important;
border: 2px solid var(--accent) !important;
background: #0c0b0e;
font: 12.5px var(--mono);
}
.dt-status {
padding: 5px 12px;
border-top: 1px solid var(--line);
font-size: 11px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* ---------- Quests (Quest Manager) ---------- */
#q-subtabs {
margin-right: 8px;
}
#view-quests .bar.top select {
max-width: 190px;
}
.q-body {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: minmax(380px, 1fr) minmax(460px, 560px);
}
.q-list {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.q-list .bar.nav {
flex-wrap: wrap;
}
.q-list .bar.nav select {
max-width: 170px;
}
.q-list .vtable {
flex: 1;
min-height: 0;
}
#view-quests .sub[data-sub="checks"] .vtable {
flex: 1;
min-height: 0;
}
.q-detail {
border-left: 1px solid var(--line);
padding: 14px 16px 40px;
overflow-y: auto;
min-width: 0;
}
.q-head {
position: sticky;
top: -14px;
z-index: 2;
margin: -14px -16px 10px;
padding: 12px 16px;
background: var(--bg);
border-bottom: 1px solid var(--line);
}
.q-head-text {
flex: 1;
min-width: 0;
}
.q-head-text h3 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.q-head-actions {
display: flex;
gap: 6px;
align-items: center;
}
.q-problems {
display: grid;
gap: 4px;
margin-bottom: 10px;
}
.q-problem {
padding: 6px 10px;
border-radius: 6px;
font-size: 12px;
background: rgba(233, 180, 60, 0.1);
color: var(--accent-2);
}
.q-problem.error {
background: rgba(255, 107, 94, 0.12);
color: var(--bad);
}
.q-card {
margin-bottom: 10px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
}
.q-card > summary {
padding: 8px 12px;
cursor: pointer;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--accent);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.q-card-body {
display: grid;
gap: 7px;
padding: 4px 12px 12px;
}
.q-field {
display: grid;
grid-template-columns: 150px minmax(0, 1fr);
gap: 10px;
align-items: center;
}
.q-field > label {
color: var(--muted);
font-size: 12px;
}
.q-field input[type="text"],
.q-field select,
.q-field textarea {
width: 100%;
min-width: 0;
}
.q-field textarea {
font-family: var(--sans);
font-size: 13px;
padding: 6px 10px;
}
.q-note {
margin: -2px 0 2px 160px;
font-size: 11.5px;
}
.q-inline {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
min-width: 0;
}
.q-inline input[type="text"] {
flex: 1;
min-width: 120px;
}
.q-inline input.q-num,
input.q-num {
flex: none;
width: 78px;
min-width: 0;
}
.q-inline input[type="date"] {
width: 150px;
color-scheme: dark;
}
.q-inline input[type="number"] {
width: 58px;
}
.q-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.q-chip {
font-size: 12px;
}
.q-subs {
flex-wrap: wrap;
max-width: 100%;
}
.q-subs button {
min-width: 28px;
justify-content: center;
}
.q-reward {
display: flex;
align-items: center;
gap: 8px;
}
.q-reward.big {
margin-bottom: 10px;
padding: 10px 12px;
border-radius: var(--radius);
background: var(--surface-2);
}
.q-reward-info {
display: flex;
align-items: center;
gap: 6px;
flex: 1;
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.q-reward-info span {
overflow: hidden;
text-overflow: ellipsis;
}
.q-bad {
color: var(--bad);
}
.q-link {
color: var(--accent-2);
text-decoration: none;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 260px;
}
.q-link:hover {
text-decoration: underline;
}
.q-icon-prev {
display: inline-flex;
width: 30px;
height: 30px;
align-items: center;
justify-content: center;
border-radius: 6px;
background: var(--surface-2);
}
.q-flags {
display: inline-flex;
gap: 3px;
}
.q-flag {
display: inline-grid;
place-items: center;
width: 17px;
height: 17px;
border-radius: 4px;
font: 700 10px var(--sans);
background: var(--surface-3);
color: var(--muted);
}
.q-flag.event {
background: rgba(88, 166, 255, 0.18);
color: #8cc0ff;
}
.q-flag.daily {
background: rgba(62, 192, 122, 0.16);
color: var(--ok);
}
.q-flag.repeat {
background: rgba(190, 130, 255, 0.16);
color: #c9a2ff;
}
.q-flag.bad {
background: rgba(255, 107, 94, 0.2);
color: var(--bad);
}
.q-flag.warn {
background: var(--accent-soft);
color: var(--accent);
}
.q-help {
border-radius: 6px;
overflow: hidden;
border: 1px solid var(--line);
}
.q-help-head {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
font-size: 12px;
}
.q-help-head .iconbtn {
margin-left: auto;
}
.q-help-body .it-mline {
font-size: 12px;
}
.q-help-edit {
display: grid;
gap: 4px;
max-height: 55vh;
overflow: auto;
}
.q-help-line {
display: grid;
grid-template-columns: 36px 100px 1fr;
gap: 6px;
align-items: center;
}
.q-color {
font-family: var(--mono);
font-size: 11px;
}
.q-guide {
font-size: 11.5px;
overflow-wrap: anywhere;
}
.q-raw {
display: grid;
gap: 3px;
}
.q-raw-row {
display: grid;
grid-template-columns: minmax(150px, 38%) 1fr 30px;
gap: 6px;
align-items: center;
}
.q-raw-row code {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.q-raw-row input {
height: 26px;
font: 12px var(--mono);
}
.q-pick {
display: grid;
gap: 1px;
max-height: 50vh;
min-width: 520px;
margin-top: 8px;
overflow: auto;
}
.q-pick-row {
display: grid;
grid-template-columns: 28px 80px 1fr auto;
gap: 8px;
align-items: center;
padding: 3px 8px;
border-radius: 5px;
cursor: pointer;
}
.q-pick-row:hover {
background: var(--hover);
}
.q-pick-row.on {
background: var(--sel);
}
.q-sev {
font-size: 11px;
text-transform: uppercase;
color: var(--accent);
}
.q-sev.error {
color: var(--bad);
}
/* Hero Creator */
.hero-list { overflow: auto; flex: 1; min-height: 0; }
.hero-row { display: flex; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.hero-row:hover { background: var(--hover); }
.hero-row.on { background: var(--sel); border-left: 3px solid var(--accent); padding-left: 9px; }
.hero-id { font: 12px var(--mono); color: var(--accent); min-width: 30px; }
.hero-row-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-main { overflow: auto; }
#hero-work { padding: 18px 22px 28px; max-width: 1150px; width: 100%; margin: 0 auto; }
.hero-summary h2 { margin: 0 0 4px; }
.hero-summary p { margin: 0 0 16px; }
.hero-tabs { margin-bottom: 15px; width: fit-content; }
.hero-content { display: grid; gap: 12px; }
.hero-card { border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 14px; }
.hero-card h3 { margin: 0 0 8px; font-size: 14px; }
.hero-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hero-card-head h3 { margin: 0; }
.hero-card-head .spacer { flex: 1; }
.hero-fields { display: grid; gap: 5px; }
.hero-field { display: grid; grid-template-columns: minmax(170px, 32%) minmax(160px, 1fr) auto; align-items: center; gap: 7px; }
.hero-field label { color: var(--dim); font-size: 12px; overflow-wrap: anywhere; }
.hero-field input { min-width: 0; width: 100%; height: 29px; font: 12px var(--mono); }
.hero-field button { min-width: 58px; }
.hero-side { width: 260px; }
.hero-side .ims-card { margin-bottom: 10px; }
.hero-side p { font-size: 12px; }
#hero-preview-status, #hero-export-status { margin-top: 8px; font-size: 11px; overflow-wrap: anywhere; }
.hero-empty-note { padding: 18px; color: var(--dim); }
.hero-picker-list { display: grid; gap: 2px; min-width: 460px; max-height: 52vh; overflow: auto; margin-top: 8px; }
.hero-picker-row { border: 0; border-radius: 4px; background: transparent; text-align: left; padding: 5px 8px; font: 12px var(--mono); cursor: pointer; }
.hero-picker-row:hover { background: var(--hover); }
.hero-picker-row.on { background: var(--sel); color: var(--accent); }
.hero-studio { display: grid; gap: 10px; margin-bottom: 18px; }
.hero-stage { height: min(48vh, 480px); min-height: 320px; position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 9px; background: radial-gradient(ellipse at 50% 35%, #27262b, #131217 68%); }
.hero-action-label { position: absolute; z-index: 2; top: 12px; left: 14px; padding: 5px 9px; border-radius: 5px; background: rgba(10, 9, 12, .65); font: 12px var(--mono); pointer-events: none; }
.hero-practice-hud { position: absolute; z-index: 2; top: 12px; right: 14px; display: flex; gap: 12px; padding: 6px 9px; border: 1px solid rgba(246, 187, 70, .35); border-radius: 6px; background: rgba(10, 9, 12, .78); color: var(--text); font: 11px var(--mono); pointer-events: none; }
.hero-practice-hud[hidden], .hero-practice-help[hidden] { display: none; }
.hero-practice-hud b { color: var(--accent); }
.hero-practice-help { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.hero-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-playbar { display: flex; align-items: center; gap: 7px; }
.hero-playbar .muted { margin-left: auto; font: 11px var(--mono); }
.hero-combos, .hero-skills { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-action { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); text-align: left; cursor: pointer; }
.hero-action:hover, .hero-action.on { border-color: var(--accent); background: var(--accent-soft); }
.hero-action b { color: var(--accent); font: 13px var(--mono); }
.hero-action small { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }
.hero-skill-icon { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--surface-3); }
.hero-action-info { min-height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; white-space: pre-line; }
/* ---------- Anim Studio ---------- */
#ans-canvas { position: absolute; inset: 0; outline: none; cursor: grab; }
#ans-canvas:active { cursor: grabbing; }
#ans-canvas.manip { cursor: crosshair; }
.ans-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ans-transport { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-top: 1px solid var(--line); background: var(--surface); }
.ans-transport #ans-clock { min-width: 150px; font-size: 12px; color: var(--muted); }
.ans-sep { width: 1px; height: 20px; background: var(--line); }
.ans-dope { position: relative; height: 230px; flex: none; border-top: 1px solid var(--line); background: #0d0c10; }
#ans-dope-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; }
.ans-side { width: 340px; }
.ans-side .ims-card { flex: 0 0 auto; }
.ans-grid { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 6px 8px; font-size: 12px; }
.ans-grid > label { color: var(--muted); font-size: 11px; }
.ans-grid input, .ans-grid select { width: 100%; min-width: 0; font: 12px var(--mono); }
.ans-vec { display: flex; gap: 4px; min-width: 0; }
.ans-vec input { flex: 1 1 0; width: 0; }
.ans-row { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.ans-row .grow { flex: 1; }
.ans-row input[type="number"] { width: 72px; font: 12px var(--mono); }
.ans-note { font-size: 11px; color: var(--dim); margin-top: 6px; line-height: 1.45; }
.ans-ev { display: grid; grid-template-columns: 46px minmax(0, 0.8fr) minmax(0, 1.6fr) auto auto auto auto; gap: 4px; align-items: center; margin-bottom: 4px; }
.ans-ev input { min-width: 0; width: 100%; font: 11px var(--mono); }
.ans-ev.on input { border-color: var(--accent); }
.ans-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ans-check input { accent-color: var(--accent); }
.ans-map { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; max-height: 360px; overflow: auto; font-size: 12px; align-items: center; }
.ans-map select { min-width: 0; width: 100%; font: 11px var(--mono); }
.ans-mesh { display: flex; align-items: center; gap: 6px; min-height: 28px; font-size: 12px; }
.ans-mesh .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ans-mesh input { accent-color: var(--accent); }
/* ---------- Costume Studio ---------- */
#view-cos .ans-transport #cos-clock { min-width: 110px; font-size: 12px; color: var(--muted); }
#view-cos .ans-transport #cos-anim { max-width: 220px; }
#view-cos .ans-transport .grow { flex: 1 1 auto; min-width: 60px; }
.ans-checks { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; max-height: 140px; overflow: auto; }
.ans-note.warn, #view-cos .warn { color: var(--warn, #e0a64a); }
#view-cos .ans-mesh .ok { color: var(--accent); }
#view-cos input.bad { border-color: var(--bad, #e05a4a); }
#view-cos .cos-parts { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; max-height: 220px; overflow: auto; }
#view-cos .cos-parts select { width: 128px; flex: none; font-size: 12px; }
/* ================= Texture Studio ================= */
#tex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; cursor: crosshair; }
#tex-canvas[data-tool="pan"] { cursor: grab; }
#tex-canvas.pick { cursor: copy; }
.tex-stage { background: #111014; }
.tex-stage .empty { position: absolute; inset: 0; }
#tex-side { width: 320px; min-width: 260px; }
#tex-tools button { padding: 0 10px; }
.tex-list { overflow: auto; }
.tex-row { display: flex; align-items: center; gap: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
.tex-row:hover { background: rgba(255, 255, 255, 0.04); }
.tex-row.on { background: rgba(233, 180, 60, 0.14); color: var(--text, #eee); }
.tex-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tex-row .dim { color: var(--dim); font-size: 11px; }
.tex-ext { font: 10px var(--mono); text-transform: uppercase; padding: 1px 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); color: var(--muted); min-width: 30px; text-align: center; }
.tex-ext.dds { background: rgba(233, 180, 60, 0.2); color: #e9b43c; }
.tex-dir { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
#tex-side .seg { margin-bottom: 8px; }
#tex-side input[type="range"] { min-width: 0; }
#tex-side input[type="color"] { width: 44px; height: 24px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.15); background: none; }
.tex-val { min-width: 38px; text-align: right; font-size: 11px; color: var(--muted); }
.tex-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 8px; }
.tex-sw { height: 20px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.15); cursor: pointer; padding: 0; }
.tex-sw:hover { outline: 1px solid #fff; }
.tex-conv { max-height: 260px; overflow: auto; display: flex; flex-direction: column; gap: 3px; font: 12px var(--mono); }
/* ---------- FX Lab (easy particle maker) ---------- */
#fxl-canvas { position: absolute; inset: 0; outline: none; cursor: grab; }
#fxl-canvas:active { cursor: grabbing; }
#fxl-stage > #mdl-canvas { position: absolute; inset: 0; outline: none; }
.fxl-name { width: 170px; font-family: var(--mono); font-size: 12px; }
#view-fxlab .bar.nav select { font-size: 12px; }
.fxl-presets { display: flex; flex-direction: column; gap: 2px; }
.fxl-group { margin: 8px 6px 3px; color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fxl-preset { position: relative; }
.fxl-preset .fxl-del { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); opacity: 0; }
.fxl-preset:hover .fxl-del { opacity: 1; }
.fxl-side { width: 400px; }
.fxl-layers { display: flex; flex-direction: column; gap: 2px; max-height: 170px; overflow: auto; }
.fxl-layer { display: flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.fxl-layer:hover { background: var(--hover); }
.fxl-layer.on { background: var(--accent-soft); color: var(--accent); }
.fxl-layer span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxl-layer em { font-size: 10px; font-style: normal; }
.fxl-swatch { width: 22px; height: 22px; border-radius: 4px; flex: none; }
.fxl-props-card { flex: 1 1 auto !important; min-height: 0; display: flex; flex-direction: column; }
.fxl-props { display: grid; grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: 6px 8px; overflow: auto; font-size: 11px; padding-right: 3px; min-height: 0; flex: 1; }
.fxl-props > label { color: var(--muted); }
.fxl-props input[type="text"], .fxl-props select, .fxl-props input[type="number"] { width: 100%; min-width: 0; font: 11px var(--mono); }
.fxl-props .fxl-check { justify-self: start; }
.fxl-wide { grid-column: 1 / -1; }
.fxl-slider { display: flex; align-items: center; gap: 5px; min-width: 0; }
.fxl-slider input[type="range"] { flex: 1 1 0; min-width: 0; accent-color: var(--accent); }
.fxl-slider .fxl-num { flex: 0 0 58px; width: 58px !important; }
.fxl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; }
.fxl-curve { width: 100%; height: 70px; border-radius: 5px; border: 1px solid var(--line); cursor: crosshair; touch-action: none; }
.fxl-grad { position: relative; padding-bottom: 14px; }
.fxl-grad-bar { height: 18px; border-radius: 4px; border: 1px solid var(--line); cursor: copy; }
.fxl-grad-marks { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; }
.fxl-grad-stop { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border: 2px solid #fff; border-radius: 2px; box-shadow: 0 0 0 1px #000; cursor: ew-resize; touch-action: none; }
.fxl-grad-picker { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; left: 0; bottom: 0; }
.fxl-ramps { display: flex; flex-wrap: wrap; gap: 4px; }
.fxl-ramp { width: 30px; height: 14px; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; padding: 0; }
.fxl-ramp:hover { outline: 1px solid var(--accent); }
.fxl-sprites { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.fxl-sprite { width: 34px; height: 34px; border-radius: 5px; border: 1px solid var(--line); cursor: pointer; }
.fxl-sprite.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fxl-sprites .iconbtn.on { color: var(--accent); }
.fxl-script { min-height: 180px; height: 220px; margin-top: 6px; }
.fxl-form { display: flex; flex-direction: column; gap: 8px; }
.fxl-form label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fxl-form input[type="number"], .fxl-form select { width: 110px; }
.fxl-offscreen { position: fixed; left: -10000px; top: 0; pointer-events: none; }
.fxl-props { overflow-x: hidden; }
#fxl-mode { width: 130px; flex: none; }
#fxl-anim { width: 180px; flex: 0 1 180px; min-width: 90px; }
#fxl-bg { width: 76px; flex: none; }
#fxl-stats { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fxl-notes { margin-top: 6px; font-size: 11px; }
.fxl-notes ul { margin: 4px 0 0; padding-left: 16px; max-height: 110px; overflow: auto; color: var(--muted); }
.fxl-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.fxl-row input[type="number"] { width: 90px; }
/* Anim Studio: sound picker */
.ans-snd { display: flex; align-items: center; gap: 4px; }
.ans-snd .fx-resource { flex: 1; }
/* Anim Studio: hitboxes */
.ans-hit-row { display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto auto; gap: 6px; align-items: center; font-size: 11px; padding: 3px 4px; border-radius: 5px; }
.ans-hit-row.on { background: rgba(255, 70, 50, 0.16); }
.ans-hit-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ans-hit-check { display: flex; gap: 6px; align-items: baseline; font-size: 11px; margin: 3px 0; flex-wrap: wrap; }
.ans-hit-check.ok b { color: #5fd47a; }
.ans-hit-check.bad b, .ans-hit-check.bad span:first-of-type { color: #ff6b5b; }
.ans-hit-tag { background: rgba(255, 60, 40, 0.85) !important; color: #fff !important; }
#ans-hit .ans-vec { min-width: 0; }
#ans-hit .ans-vec > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Anim Studio: character presets */
.ans-presets { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.ans-preset { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.ans-preset button { background: transparent; border: 0; color: var(--text); font: 11px var(--mono); padding: 4px 8px; cursor: pointer; }
.ans-preset .ans-preset-load:hover { background: var(--accent-soft); color: var(--accent); }
.ans-preset .ans-preset-del { color: var(--muted); padding: 4px 6px; border-left: 1px solid var(--line); }
.ans-preset .ans-preset-del:hover { color: #ff6b5b; }
/* Hero: Flow */
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow-summary { padding: 8px 10px; border-radius: 8px; font-size: 12px; border: 1px solid var(--line); }
.flow-summary.ok { color: #7fd99a; }
.flow-summary.bad { color: #ff8a7a; }
.flow-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.flow-card.bad { border-color: rgba(255, 107, 91, 0.55); }
.flow-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.flow-head b { font-size: 14px; color: var(--accent); }
.flow-check { font-size: 11px; font-weight: 600; }
.flow-check.ok { color: #5fd47a; }
.flow-check.bad { color: #ff6b5b; }
.flow-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow-step { display: flex; flex-direction: column; gap: 3px; }
.flow-step > em, .flow-l > em { font-style: normal; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.flow-events { flex-direction: row; flex-wrap: wrap; gap: 6px 10px; flex: 1; }
.flow-arrow { color: var(--accent); font-weight: 700; }
.flow-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--line); font: 11px var(--mono); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.flow-chip.n { color: var(--accent); }
.flow-chip.attr { color: #9fd0ff; }
.flow-chip.box { color: #ffb37a; }
.flow-chip.buff { color: #d6a8ff; }
.flow-chip.bad, .flow-hit.bad .flow-chip.bad { color: #ff6b5b; border-color: rgba(255, 107, 91, 0.6); }
.flow-chip.file.effect { color: #ffd47a; }
.flow-chip.file.sound { color: #8fe0b0; }
.flow-mini { border: 0; background: transparent; color: inherit; padding: 0 0 0 2px; cursor: pointer; display: inline-flex; }
.flow-mini svg { width: 12px; height: 12px; }
.flow-hits { display: flex; flex-direction: column; gap: 6px; padding-left: 12px; border-left: 2px solid var(--line); }
.flow-hit-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flow-hit-body { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 0 4px; font-size: 11px; }
.flow-hit-body.bad { color: #ff6b5b; }
.flow-l { display: inline-flex; flex-direction: column; gap: 2px; }
.ans-card-close { float: right; }
}