/* Modals, toasts, notification window, co-op toggle vicodins, value chart, grid (forgot which one), and toggles. */ .modal-overlay { position: fixed; inset: 0; background: rgba(7, 10, 15, 0.84); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; } .modal { width: min(500px, 100%); max-height: 85vh; overflow-y: auto; padding: 24px; } .modal h3 { font-size: 14px; margin-bottom: 14px; color: var(--brand-blue); } #toast-root, .toast-root { position: fixed; bottom: 64px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; } .toast { padding: 11px 16px; clip-path: var(--chamfer-sm); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; max-width: 380px; background: var(--bg-elevated); border: 1px solid var(--border-bright); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); animation: slideIn 0.2s ease; } .toast.ok { border-color: var(--green); } .toast.err { border-color: var(--red); } .toast.info { border-color: var(--brand-blue); } @keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } } #notif-drawer-root { position: fixed; bottom: 14px; right: 16px; z-index: 180; pointer-events: none; } .notif-drawer-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .notif-drawer-wrap > * { pointer-events: auto; } .notif-toggle-bar { display: flex; align-items: center; background: rgba(18, 22, 31, 0.94); backdrop-filter: blur(8px); border: 1px solid var(--border-bright); clip-path: var(--chamfer-sm); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); max-width: 360px; overflow: hidden; } .notif-toggle-main { display: flex; align-items: center; gap: 8px; padding: 7px 11px; background: none; border: none; color: var(--text); cursor: pointer; min-width: 0; text-align: left; } .notif-toggle-main:hover { background: var(--bg-hover); } .notif-preview { font-size: 10px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .notif-hide-btn { padding: 7px 9px; background: rgba(11, 14, 20, 0.5); border: none; border-left: 1px solid var(--border); color: var(--text-dim); cursor: pointer; font-family: var(--mono); font-size: 12px; line-height: 1; } .notif-hide-btn:hover { color: var(--text); background: var(--bg-hover); } .notif-mini-pill { padding: 6px 10px; background: rgba(18, 22, 31, 0.9); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); } .notif-drawer { width: min(370px, calc(100vw - var(--right-sidebar-offset, 0px) - 32px)); max-height: 340px; display: flex; flex-direction: column; padding: 10px 12px; gap: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6); } .notif-header { padding-bottom: 4px; border-bottom: 1px solid rgba(42, 52, 73, 0.6); } .notif-tabs { display: flex; gap: 5px; flex-wrap: wrap; } .notif-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; max-height: 230px; padding-right: 3px; } .notif-item { padding: 7px 9px; background: var(--bg-deep); border: 1px solid var(--border); border-left-width: 3px; clip-path: var(--chamfer-sm); font-family: var(--mono); font-size: 11px; line-height: 1.35; } .notif-item.ok { border-left-color: var(--green); } .notif-item.err { border-left-color: var(--red); } .notif-item.warn { border-left-color: var(--amber); } .notif-item.info { border-left-color: var(--brand-blue); } .notif-msg { color: var(--text); word-break: break-word; } .list-page { padding-bottom: 58px; } ::-webkit-scrollbar { width: 7px; height: 7px; } ::-webkit-scrollbar-thumb { background: var(--border-bright); } ::-webkit-scrollbar-track { background: transparent; } .loading { display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 16px; } .loading::after { content: '...'; animation: dots 1.2s steps(4) infinite; } @keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } } @media (max-width: 960px) { .dash-root, .builder-root, .param-root, .map-root, .onboard-layout, .list-page .cols { grid-template-columns: 1fr; grid-template-rows: 45vh 1fr; } .dash-sidebar, .builder-body, .param-side, .map-sidebar { padding-bottom: 58px; } #hud-bottom-right { right: 16px !important; max-width: calc(100vw - 32px) !important; } .notif-drawer { width: min(370px, calc(100vw - 32px)) !important; } .wiki-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .wiki-sidebar { max-height: 210px; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; } } .builder-summary-bar { padding: 8px 12px; border-bottom: 1px solid var(--border); background: rgba(11, 14, 20, 0.72); display: flex; flex-direction: column; gap: 5px; } .builder-summary-bar .summary-pills { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 10px; } .builder-coop-bar { padding: 6px 12px; border-bottom: 1px solid var(--border); background: rgba(18, 22, 31, 0.85); display: flex; flex-wrap: wrap; gap: 5px; align-items: center; } .station-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; font-family: var(--mono); font-size: 9px; border: 1px solid var(--border); background: var(--bg-deep); color: var(--text-dim); clip-path: var(--chamfer-sm); cursor: pointer; transition: border-color 0.15s, color 0.15s, background-color 0.15s; } .station-pill:hover { border-color: var(--brand-blue); color: var(--text); } .station-pill.ready { border-color: rgba(52, 211, 153, 0.55); color: var(--green); background: rgba(52, 211, 153, 0.08); } .station-pill.occupied { border-color: var(--sim-accent-dim); color: var(--sim-accent); } .value-chart { display: flex; flex-direction: column; gap: 10px; background: var(--bg-deep); border: 1px solid var(--border); clip-path: var(--chamfer-sm); padding: 10px 12px; } .value-bar-track { display: flex; width: 100%; height: 18px; background: rgba(25, 32, 46, 0.8); border: 1px solid var(--border); overflow: hidden; border-radius: 2px; } .value-seg { height: 100%; transition: width 0.25s ease; min-width: 2px; } .value-seg.base { background: var(--brand-strong); } .value-seg.science { background: var(--green); } .value-seg.eff { background: var(--violet); } .value-seg.bonus { background: var(--amber); } .value-seg.hw { background: #ef4444; } .value-seg.bus { background: #f97316; } .value-seg.ops { background: #eab308; } .bus-power-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .bus-power-cell { background: var(--bg-deep); border: 1px solid var(--border); clip-path: var(--chamfer-sm); padding: 7px 9px; display: flex; flex-direction: column; gap: 2px; } .bus-power-cell .k { font-family: var(--mono); font-size: 9px; color: var(--text-faint); text-transform: uppercase; } .bus-power-cell .v { font-family: var(--mono); font-size: 12px; font-weight: 700; } #hud-bottom-right { position: fixed; bottom: 14px; right: calc(16px + var(--right-sidebar-offset, 0px)); z-index: 180; display: flex; align-items: flex-end; justify-content: flex-end; flex-wrap: wrap-reverse; gap: 8px; max-width: calc(100vw - var(--right-sidebar-offset, 0px) - 32px); transition: right 0.18s ease, max-width 0.18s ease; pointer-events: none; } #hud-bottom-right > * { pointer-events: auto; } #notif-drawer-root { position: static; } .comfort-pill-bar { display: flex; gap: 6px; align-items: center; } .comfort-btn { padding: 6px 10px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; background: var(--bg-panel-solid); border: 1px solid var(--border-bright); color: var(--text-dim); clip-path: var(--chamfer-sm); cursor: pointer; } .comfort-btn:hover { border-color: var(--sim-accent); color: var(--text); } .comfort-btn.active { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--bg-elevated); } .wiki-drawer-overlay { z-index: 190; padding: 18px; } .wiki-drawer-panel { width: min(1160px, 100%); height: min(88vh, 880px); max-height: none; padding: 0; display: flex; flex-direction: column; overflow: hidden; } #walkthrough-coach-root { position: fixed; top: 62px; left: calc(50% - var(--right-sidebar-offset, 0px) / 2); transform: translateX(-50%); z-index: 160; max-width: min(470px, calc(100vw - var(--right-sidebar-offset, 0px) - 32px)); pointer-events: none; } #walkthrough-coach-root > * { pointer-events: auto; } .walkthrough-card { padding: 12px 14px; border-color: var(--sim-accent); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); } .walkthrough-pill { padding: 6px 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-color: var(--sim-accent); } .walkthrough-title { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 3px; } .walkthrough-hint { font-size: 11px; line-height: 1.45; color: var(--text-dim); }