.stg-cap{display:inline-block;padding:2px 9px;border-radius:99px;border:1px solid var(--border);color:var(--text-secondary)}.stg-bar{display:flex;gap:8px 10px;align-items:center;flex-wrap:wrap;margin-bottom:10px;font-family:var(--font-mono, ui-monospace, monospace);font-size:12.5px;color:var(--text-secondary)}.stg-field{display:inline-flex;align-items:center;gap:8px;max-width:100%}.stg-field select{min-width:0}.stg-bar select,.stg-bar button,.stg-hud button,.stg-table button{max-width:100%;background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:8px;padding:6px 12px;font:inherit;font-size:12.5px;cursor:pointer}.stg-bar button:hover,.stg-hud button:hover,.stg-table button:hover{border-color:var(--accent)}.stg-bar button:disabled,.stg-table button:disabled{opacity:.45;cursor:not-allowed}.stg-desc{font-size:13px;line-height:1.6;color:var(--text-secondary);max-width:48rem;margin-bottom:12px;min-height:2.6em}.stg-status{font-family:var(--font-mono, ui-monospace, monospace);font-size:12px;padding:8px 12px;border-radius:10px;border:1px solid var(--border-subtle);color:var(--text-secondary);margin-bottom:18px;overflow-wrap:anywhere}.stg-status.ok{color:var(--settlement-color);border-color:var(--settlement-color)}.stg-status.bad{color:#ef4444;border-color:#ef4444}.stg-grid{display:grid;gap:24px;grid-template-columns:minmax(0,1fr)}@media(min-width:900px){.stg-grid{grid-template-columns:minmax(0,384px) minmax(0,1fr)}}#player{background:#0a0908;border:1px solid var(--border);border-radius:12px;display:block;width:100%;max-width:384px;height:auto;aspect-ratio:1/1;image-rendering:pixelated}.stg-hud{display:flex;gap:8px 18px;align-items:center;flex-wrap:wrap;margin-top:10px;font-family:var(--font-mono, ui-monospace, monospace);font-size:12px;color:var(--text-secondary)}.stg-hud b{color:var(--text-primary)}.stg-h2{font-size:15px;font-weight:700;color:var(--text-primary);margin-bottom:10px}.stg-small{font-size:12px;line-height:1.6;color:var(--text-muted);margin-top:8px;max-width:52rem}.stg-strip{display:flex;flex-direction:column;gap:10px}.stg-gop-label{display:block;font-family:var(--font-mono, ui-monospace, monospace);font-size:11px;color:var(--text-muted);margin-bottom:4px}.stg-gop-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:440px}.stg-thumb{position:relative;padding:0;border:2px solid var(--border);border-radius:8px;background:#0a0908;cursor:pointer;overflow:hidden;aspect-ratio:1/1}.stg-thumb canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.stg-thumb[aria-pressed=true]{border-color:var(--accent)}.stg-thumb[data-hash-ok=true]{box-shadow:inset 0 0 0 1px var(--settlement-color)}.stg-thumb[data-hash-ok=false]{border-color:#ef4444}.stg-thumb[data-frozen=true]{border-color:var(--terra-color);border-style:dashed}.stg-thumb-no,.stg-thumb-stage{position:absolute;font-family:var(--font-mono, ui-monospace, monospace);font-size:10.5px;line-height:1;padding:3px 5px;background:#0c0a09c7;color:#f5f5f4}.stg-thumb-no{left:0;top:0;border-bottom-right-radius:6px}.stg-thumb-stage{right:0;bottom:0;border-top-left-radius:6px}.stg-frozen-key{color:var(--terra-color)}.stg-th-note{font-weight:400;color:var(--text-muted)}.stg-scroll{position:relative;overflow-x:auto;max-width:100%;border:1px solid var(--border);border-radius:10px}.stg-table{width:100%;border-collapse:collapse;font-family:var(--font-mono, ui-monospace, monospace);font-size:11.5px;color:var(--text-secondary)}.stg-table th,.stg-table td{padding:6px 9px;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;vertical-align:middle}.stg-table thead th{color:var(--text-primary);font-weight:600;background:var(--bg-surface)}.stg-table tbody th{color:var(--text-primary);font-weight:600}.stg-table .ok{color:var(--settlement-color)}.stg-table .bad{color:#ef4444}.stg-log{font-family:var(--font-mono, ui-monospace, monospace);font-size:11.5px;line-height:1.55;color:var(--text-secondary);max-height:22rem;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:8px 12px 8px 2.6em;list-style:decimal;overflow-wrap:anywhere}.stg-log li{padding:2px 0}.stg-log .ok{color:var(--settlement-color)}.stg-log .bad{color:#ef4444}.stg-log .held{color:var(--accent)}.stg-card{border:1px solid var(--border);border-radius:14px;padding:20px;background:var(--bg-surface)}.stg-card h2{font-size:14.5px;font-weight:700;margin-bottom:8px;color:var(--text-primary)}.stg-card p{font-size:13px;line-height:1.65;color:var(--text-secondary)}.stg-card a{text-decoration:underline}.stg-card code,.stg-small code{font-size:.92em;color:var(--accent-light, var(--accent))}.stg-card summary{cursor:pointer;font-size:13px;color:var(--text-primary)}.stg-pre{margin-top:10px;font-size:11px;line-height:1.55;overflow-x:auto;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg-base);color:var(--text-secondary)}
