@font-face { font-family: "Noto Sans"; src: url("assets/NotoSans-Regular.ttf"); }
@font-face { font-family: "MDI"; src: url("assets/materialdesignicons.ttf"); }

:root {
  --gly: 1.32; /* MDI glyphs are drawn larger than the text: in game a camera icon is ~62% of the button height */
  --bg: #15161a; --panel: #1c1e24; --panel2: #23262e; --line: #30343e; --text: #dfe3ea; --muted: #8a92a3;
  --accent: #3d9bff; --accent2: #00ffb3; --danger: #ff5c5c; --warn: #ffc23d;
  --ui: "Noto Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.35 var(--ui); overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: var(--panel2); border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: .4; cursor: default; }
button.primary { background: #1f5fae; border-color: #2c7ad6; }
input[type=text], input[type=number], select, textarea { background: #101115; border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.mdi { font-family: "MDI"; font-style: normal; }
.hidden { display: none !important; }

#app { display: grid; grid-template-rows: 42px 1fr 24px; grid-template-columns: var(--lw, 250px) 1fr var(--rw, 330px); height: 100%; position: relative; }
#toolbar { grid-column: 1 / 4; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
#toolbar .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
#toolbar label { display: flex; align-items: center; gap: 4px; color: var(--muted); }
#toolbar .spacer { flex: 1; }
#toolbar .brand { font-weight: 600; margin-right: 6px; }
#left, #right { background: var(--panel); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
#left { border-right: 1px solid var(--line); }
#right { border-left: 1px solid var(--line); }
#status { grid-column: 1 / 4; background: var(--panel); border-top: 1px solid var(--line); display: flex; gap: 16px; padding: 0 10px; align-items: center; color: var(--muted); font-size: 12px; }
#status .bad { color: var(--warn); cursor: pointer; }
#status .err { color: var(--danger); cursor: pointer; }

.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; border: 0; border-radius: 0; background: transparent; padding: 7px; color: var(--muted); }
.tabs button.on { color: var(--text); box-shadow: inset 0 -2px var(--accent); }
.scroll { overflow: auto; flex: 1; min-height: 0; }
.pal-search { position: relative; margin: 8px; }
#palette-search { width: 100%; padding-right: 28px; box-sizing: border-box; }
#palette-clear { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
#palette-clear:hover { color: var(--text, #fff); }
#palette-clear.hidden { display: none; }
.pal-cat { padding: 6px 10px 2px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.pal-items { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 2px 8px 6px; }
.pal-item { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 4px; background: var(--panel2); border: 1px solid transparent; cursor: grab; overflow: hidden; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; min-height: 30px; user-select: none; }
.pal-item:hover { border-color: var(--accent); }
.pal-item .mdi { font-size: 16px; color: var(--accent2); }

#outline { padding: 4px 0; }
.ol-row { display: flex; align-items: center; gap: 4px; padding: 2px 6px; cursor: pointer; white-space: nowrap; }
.ol-row:hover { background: var(--panel2); }
.ol-row.sel { background: #1d3f68; }
.ol-row .mdi { font-size: 14px; color: var(--muted); }
.ol-row small { color: var(--muted); }

#canvas-wrap { position: relative; overflow: auto; background: #101115; }
#stage.grid { background-image: linear-gradient(rgba(255,255,255,var(--ga,.03)) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,var(--ga,.03)) 1px, transparent 1px); background-size: var(--gs,20px) var(--gs,20px); }
#stage { position: relative; isolation: isolate; width: 3200px; height: 2200px; transform-origin: 0 0; }
#overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1000; }
.selbox { position: absolute; border: 2px solid var(--accent); pointer-events: none; }
.selbox .tag { position: absolute; left: -2px; top: -20px; background: var(--accent); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 3px 3px 0 0; white-space: nowrap; }
.hovbox { position: absolute; border: 1px solid rgba(61,155,255,.6); background: rgba(61,155,255,.06); pointer-events: none; }
.dropbox { position: absolute; border: 2px dashed var(--accent2); background: rgba(0,255,179,.08); pointer-events: none; }
.dropline { position: absolute; background: var(--accent2); pointer-events: none; }

/* ---- painted game-like content ---- */
.win { position: absolute; background: rgba(15,15,15,.94); border: 1px solid rgba(110,110,128,.5); overflow: hidden; font: 15px/27px "Noto Sans"; color: #fff; }
.win .title { position: absolute; left: 0; top: 0; right: 0; background: rgb(41,74,122); padding: 0 8px; font-size: 15px; white-space: nowrap; overflow: hidden; cursor: move; }
.rsz { position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.35) 50%); }
.n { position: absolute; overflow: hidden; font: 15px/1 "Noto Sans"; color: #fff; white-space: nowrap; }
.cell { position: absolute; outline: 1px dashed rgba(255,255,255,.10); pointer-events: none; }
.cell.empty { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 12px; outline: 1px dashed rgba(0,255,179,.35); background: rgba(0,255,179,.03); }
.t-Panel, .t-PanelGroup, .t-FillChild, .t-Popout, .t-List, .t-DragList { background: rgba(166,178,255,.045); }
.t-Panel.border, .t-FillChild.border, .t-PanelGroup.border { border: 1px solid rgba(110,110,128,.5); }
.t-Popout { border: 1px dashed rgba(0,255,179,.5); }
.tagline { position: absolute; left: 4px; top: 2px; font-size: 10px; color: rgba(255,255,255,.35); pointer-events: none; }
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 4px; padding: 0 6px; height: 100%; text-overflow: ellipsis; overflow: hidden; }
.btn .mdi { font-size: 16px; }
.frame { position: absolute; top: 0; bottom: 0; background: #101d33; border: 1px solid #244a7c; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.frame .fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(66,150,250,.55); }
.frame span { position: relative; z-index: 1; }
.frame .arrow { position: absolute; right: 6px; font-family: MDI; font-size: 16px; }
.ico { position: absolute; left: 0; top: 0; bottom: 0; width: 27px; display: flex; align-items: center; justify-content: center; font-family: MDI; font-size: 17px; background: rgba(255,255,255,.06); border-radius: 4px; }
.chk { display: flex; align-items: center; gap: 8px; height: 100%; }
.chk i { width: 22px; height: 22px; border: 1px solid rgba(61,150,255,.5); background: rgba(31,66,107,.3); border-radius: 3px; flex: none; }
.sep { }
.hr { position: absolute; left: 0; right: 0; height: 1px; background: rgba(110,110,128,.6); }
.shdr { position: absolute; left: 0; right: 0; display: flex; align-items: center; }
.txt { white-space: pre-wrap; line-height: 15px; }
.tabh { position: absolute; border-radius: 4px 4px 0 0; padding: 0 6px; display: flex; align-items: center; font-size: 15px; cursor: pointer; background: rgb(46,89,153); }
.tabh.on { background: rgb(61,133,224); }
.grab { position: absolute; background: rgba(120,120,140,.28); cursor: col-resize; }
.grab.v { cursor: row-resize; }
.grab:hover { background: rgba(0,255,179,.5); }
.bar { position: absolute; background: rgba(120,120,140,.35); cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: MDI; font-size: 14px; }
.bar:hover { background: rgba(0,255,179,.5); }
.chip { position: absolute; background: #3a2f5c; border: 1px solid #6a56b5; border-radius: 11px; font: 12px/20px var(--ui); padding: 0 10px; text-align: center; white-space: nowrap; overflow: hidden; }
.float { position: absolute; background: rgba(15,15,15,.96); border: 1px solid #b58a2a; overflow: hidden; }
.float .title { position: absolute; left: 0; top: 0; right: 0; height: 27px; line-height: 27px; background: #6d5416; padding: 0 8px; font-size: 15px; }
.badge { position: absolute; right: 2px; top: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: #2ecc71; font-size: 10px; line-height: 16px; text-align: center; }

/* ---- inspector ---- */
#inspector { padding: 0 0 20px; }
.ins-head { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ins-head .type { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ins-head .type .mdi { color: var(--accent2); font-size: 18px; }
.ins-head .doc { color: var(--muted); font-size: 11.5px; margin-top: 4px; word-break: break-word; }
.crumbs { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 6px; font-size: 11.5px; }
.crumbs a { color: var(--muted); cursor: pointer; } .crumbs a:hover { color: var(--accent); }
.crumbs a:not(:last-child)::after { content: " \203A "; }
.ins-actions { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.ins-actions button { padding: 2px 8px; font-size: 12px; }
details.sec { border-bottom: 1px solid var(--line); }
details.sec > summary { padding: 6px 12px; cursor: pointer; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; user-select: none; }
.fld-note { padding: 4px 12px 8px; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.fld { display: grid; grid-template-columns: minmax(84px, 38%) 1fr; gap: 6px; align-items: center; padding: 3px 12px; }
.fld label { color: var(--muted); font-size: 12px; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
.fld label.lua::after { content: " \0192"; color: var(--accent2); }
.fld .w { display: flex; gap: 4px; align-items: center; min-width: 0; }
.fld .w input[type=checkbox] { width: auto; }
.fld .w .unit { color: var(--muted); font-size: 11px; }
.fld .warn { grid-column: 2; color: var(--warn); font-size: 11px; }
.luaone { margin: 8px 12px; padding: 6px 8px; background: #101115; border: 1px solid var(--line); border-radius: 4px; font: 11px/1.4 Consolas, monospace; color: #9ad; white-space: pre-wrap; word-break: break-all; max-height: 110px; overflow: auto; }
.color-w input[type=color] { width: 34px; height: 24px; padding: 0; border: 1px solid var(--line); background: none; }
.issue { padding: 4px 12px; cursor: pointer; font-size: 12px; }
.issue:hover { background: var(--panel2); }
.issue.error { color: var(--danger); } .issue.warn { color: var(--warn); }

/* ---- modals ---- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 5000; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; width: min(900px, 92vw); max-height: 86vh; display: flex; flex-direction: column; }
.card header, .card footer { display: flex; gap: 8px; align-items: center; padding: 10px 14px; }
.card header { border-bottom: 1px solid var(--line); font-weight: 600; }
.card footer { border-top: 1px solid var(--line); justify-content: flex-end; }
.card textarea { flex: 1; min-height: 50vh; font: 12px/1.45 Consolas, monospace; border-radius: 0; border: 0; resize: none; }
.glyphs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; padding: 8px; overflow: auto; }
.glyphs button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 10px; overflow: hidden; }
.glyphs button i { font-family: MDI; font-size: 22px; font-style: normal; }
.welcome { position: absolute; left: 60px; top: 60px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; width: 380px; }
.welcome h3 { margin: 0 0 8px; } .welcome button { display: block; width: 100%; text-align: left; margin-top: 6px; }
#banner { position: fixed; left: 50%; top: 50px; transform: translateX(-50%); background: #5a1d1d; border: 1px solid var(--danger); padding: 8px 14px; border-radius: 6px; z-index: 6000; max-width: 80vw; }

/* ---- preview mode ---- */
body.preview .cell, body.preview .tagline { display: none; }
body.preview .t-Popout:not(.undocked) { border-color: transparent; }
body.preview .n { cursor: default; }
body.preview .btn, body.preview .frame, body.preview .chk, body.preview .tabh, body.preview .bar, body.preview .grab { cursor: pointer; }
body.preview #canvas-wrap { box-shadow: inset 0 0 0 2px var(--accent2); }
.flash .btn { filter: brightness(1.6) saturate(1.2); }
.chk i { position: relative; display: flex; align-items: center; justify-content: center; }
.chk i b { font-size: 18px; font-weight: normal; color: #00ffb3; }
.float.popout { border-color: rgba(0,255,179,.6); }
.float.popout .title { background: #14614e; }
.n.undocked { background: transparent; border: 0; }
#toasts { position: fixed; right: 356px; top: 56px; z-index: 7000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: rgba(15,15,15,.95); border: 2px solid; padding: 10px 16px; border-radius: 4px; font: 15px "Noto Sans"; min-width: 200px; }
.ghost { position: fixed; z-index: 8000; pointer-events: none; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; opacity: .9; }
.menu { position: fixed; z-index: 7500; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 4px; min-width: 190px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.menu .mi { padding: 4px 10px; border-radius: 4px; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; white-space: nowrap; }
.menu .mi:hover { background: #1d3f68; }
.menu .mi.dis { opacity: .4; pointer-events: none; }
.menu .mi small { color: var(--muted); }
.menu .ms { height: 1px; background: var(--line); margin: 4px 2px; }
.menu .sub { position: relative; }
.menu .sub > .menu { display: none; left: 100%; top: -5px; position: absolute; }
.menu .sub:hover > .menu { display: block; }
.ol-row.drop-before { box-shadow: inset 0 2px 0 var(--accent2); }
.ol-row.drop-after { box-shadow: inset 0 -2px 0 var(--accent2); }
.ol-row.drop-into { background: rgba(0,255,179,.18); }

.win .title { text-align: center; }
.btn .t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.float.popout .ptitle { position: absolute; left: 0; right: 0; top: 6px; text-align: center; font: 15px/27px "Noto Sans"; }
.float.popout { background: rgba(15,15,15,.94); border: 1px solid rgba(110,110,128,.5); }
.n.undocked { background: rgba(166,178,255,.045); }
.bar, .grab { z-index: 5000; }
/* preview: no editing chrome */
body.preview .n { outline: none !important; }
body.preview .t-Popout, body.preview .t-Popout.undocked { border-color: transparent !important; }
body.preview .grab, body.preview .bar { background: transparent; }
body.preview .grab:hover, body.preview .bar:hover { background: rgba(0,255,179,.28); }
body.preview .bar { color: rgba(255,255,255,.55); }
body.preview .bar:hover { color: #fff; }
body.preview .float.popout { border-color: rgba(110,110,128,.5); }
#toolbar { overflow-x: auto; white-space: nowrap; }
#toolbar > * { flex: none; }
#toolbar select { width: auto; }
.n.t-Popout.inline { background: none; }

/* calibrated against an in-game screenshot */
.ico { background: none; }
.knob { position: absolute; top: 2px; bottom: 2px; width: 15px; border-radius: 8px; background: #4187e6; z-index: 0; }
.cbtn { position: absolute; right: 0; top: 0; bottom: 0; width: 27px; background: rgba(66,150,250,.55); border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: normal; }
.chk i { width: 27px; height: 27px; }
.win .title i.mdi { line-height: 27px; }
.grip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,.45); pointer-events: none; }
.bar { font-family: inherit; }

#canvas-wrap, #stage, #stage * { user-select: none; -webkit-user-select: none; }
#canvas-wrap { touch-action: none; }
.float.mirror { opacity: .92; border-style: dashed; cursor: pointer; }
.mirror .n { pointer-events: none; }
.phandle { position: absolute; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: 12px; overflow: hidden; }
.float.popout { cursor: move; }
.float.popout .rsz { z-index: 5000; }
.float.popout .n { cursor: default; }
/* CET / ImGui rounding: windows ~6, child windows (Panel, PanelGroup, FillChild, lists...) ~5, frames ~4 */
.win, .float { border-radius: 6px; }
.t-Panel, .t-PanelGroup, .t-FillChild, .t-Popout, .t-List, .t-DragList, .t-Group, .t-Tab, .t-ContentPane { border-radius: 5px; }
.frame, .btn, .ico { border-radius: 4px; }

/* ---- game look; sizes come from core/metrics.js through CSS variables set at boot (--fs --fh --r --grab --fb) ---- */
.win { font: var(--fs) / var(--fh) "Noto Sans"; border-radius: var(--wr); }
.win .title { font-size: var(--fs); }
.win .title i.mdi { line-height: var(--fh); font-size: calc(var(--fs) * var(--gly)) !important; }
.n { font: var(--fs) / 1 "Noto Sans"; }
.btn { border-radius: var(--r); gap: 6px; padding: 0 6px; }
.btn .mdi { font-size: calc(var(--fs) * var(--gly)); }
.frame { border-radius: var(--r); border: var(--fb) solid rgb(44,92,148); background: rgba(31,66,107,.3); }
.frame .mdi, .frame span.mdi { font-size: calc(var(--fs) * var(--gly)); }
.ico { width: var(--fh); font-size: calc(var(--fs) * var(--gly)); border-radius: var(--r); }
.knob { top: calc(var(--gp) - var(--fb)); bottom: calc(var(--gp) - var(--fb)); width: var(--grab); border-radius: min(var(--gr), calc(var(--grab) / 2)); }
.cbtn { width: var(--fh); font-size: calc(var(--fh) * .9); border-radius: 0 var(--r) var(--r) 0; }
.chk i { width: var(--fh); height: var(--fh); border-radius: var(--r); border: var(--fb) solid rgb(44,92,148); }
.chk i b { font-size: calc(var(--fs) * 1.2); }
.txt { line-height: var(--fs); }
.tabh { font-size: var(--fs); border-radius: var(--tr) var(--tr) 0 0; }
.float, .float.popout, .win { border-radius: var(--wr); }
.float .title { height: var(--fh); line-height: var(--fh); font-size: var(--fs); }
.float.popout .ptitle { font: var(--fs) / var(--fh) "Noto Sans"; top: 9px; }
.toast { font: var(--fs) "Noto Sans"; }
.t-Panel, .t-PanelGroup, .t-FillChild, .t-Popout, .t-List, .t-DragList, .t-Group, .t-Tab, .t-ContentPane, .n.undocked { border-radius: var(--cr); }

/* themed scrollbars (editor chrome and canvas) */
* { scrollbar-width: thin; scrollbar-color: #3a4054 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb { background: #343a4c; border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: #4a5372; background-clip: content-box; }
.linkbox { position: absolute; border: 2px dashed var(--accent2); background: rgba(0,255,179,.06); pointer-events: none; }
.linklist { display: flex; flex-direction: column; gap: 2px; max-height: 180px; overflow: auto; width: 100%; }
.linkrow { display: flex; align-items: center; gap: 6px; padding: 1px 2px; border-radius: 4px; cursor: pointer; }
.linkrow:hover { background: var(--panel2); }
/* ImGui child windows clip their content: overflowing panel content must not paint over the next panel */
.t-Panel, .t-PanelGroup, .t-FillChild, .t-List, .t-DragList { overflow: hidden; }
.linkrow small { color: var(--muted); }
/* draggable panel edges */
.rs { position: absolute; top: 42px; bottom: 24px; width: 7px; margin-left: -3px; cursor: col-resize; z-index: 50; }
.rs:hover, .rs.on { background: rgba(61,155,255,.35); }
/* pinned Lua pane under the inspector: drag the top edge, Fit (content) or Fill (remaining space) */
#luapane { flex: none; border-top: 1px solid var(--line); background: var(--panel); position: relative; display: flex; flex-direction: column; }
#luapane.hidden { display: none; }
#luapane .lp-grip { position: absolute; left: 0; right: 0; top: -3px; height: 7px; cursor: row-resize; z-index: 5; }
#luapane .lp-grip:hover, #luapane .lp-grip.on { background: rgba(61,155,255,.35); }
#luapane .lp-head { display: flex; align-items: center; gap: 4px; padding: 5px 10px 0; color: var(--muted); font-size: 11px; }
#luapane .lp-head button { padding: 1px 7px; font-size: 11px; }
#luapane[data-mode="fit"] .lp-head #lp-fit, #luapane[data-mode="fill"] .lp-head #lp-fill { border-color: var(--accent); color: var(--accent); }
#luapane .luaone { margin: 6px 10px 10px; max-height: none; overflow: auto; height: var(--luah, 140px); flex: none; }
#luapane[data-mode="fit"] .luaone { height: auto; max-height: 60vh; }
#luapane[data-mode="fill"] { flex: 1 1 0; min-height: 140px; }
#luapane[data-mode="fill"] .luaone { flex: 1; height: auto; min-height: 60px; }
#right:has(#luapane[data-mode="fill"]:not(.hidden)) > .scroll { flex: 0 1 45%; }
.tgl { padding: 2px 9px; font-size: 12px; border-radius: 999px; }
.tgl.on { border-color: var(--accent2); color: var(--accent2); background: rgba(0,255,179,.12); }
.tgl.radio.on { background: var(--accent2); color: #04120d; border-color: var(--accent2); font-weight: 600; }

#overlay .filterbox { position: absolute; border: 1px dashed var(--accent2); background: rgba(0,255,179,.07); border-radius: 3px; }

/* Text lines are exactly one font size high (like ImGui), so descenders (g, y, p) hang below the box: do not clip them */
.n.t-Text { overflow: visible; }

/* window content runs past the bottom edge (it scrolls in game) */
.win .ovf { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: 900; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; font: 11px/1.2 var(--ui); color: rgba(255,255,255,.75); background: linear-gradient(to bottom, rgba(15,15,15,0), rgba(15,15,15,.92)); }
