/* ChloeOS — App Styles */

/* ===== About App ===== */
.about-avatar-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ctp-crust);
}

.about-avatar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
}

.about-avatar-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.about-text-window .window-content {
    overflow-y: auto;
}

/* ===== Browser ===== */
.browser-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.browser-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}
.browser-nav-btn:hover {
    background: var(--ctp-surface1);
    color: var(--text-primary);
}
.browser-nav-btn .material-symbols-outlined {
    font-size: 18px;
}

.browser-address {
    flex: 1;
    padding: 4px 10px;
    background: var(--ctp-crust);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    outline: none;
    min-width: 0;
}
.browser-address:focus {
    border-color: var(--accent-blue);
}

.browser-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: var(--ctp-crust);
}

.browser-status {
    padding: 2px 10px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* ===== Transgenda ===== */
.transgenda-window .window-content {
    padding: 0;
    overflow: hidden;
}

.transgenda-container {
    width: 100%;
    height: 100%;
}

.transgenda-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--ctp-crust);
}

/* ===== Nova ===== */
.nova-window .window-content {
    padding: 0;
    overflow: hidden;
}

.nova-container {
    width: 100%;
    height: 100%;
}

.nova-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--ctp-crust);
}

/* ===== Hexdump Viewer ===== */
.hexdump-window .window-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hexdump-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hexdump-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.hexdump-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}
.hexdump-btn:hover {
    background: var(--ctp-surface2);
}
.hexdump-btn .material-symbols-outlined {
    font-size: 16px;
}

.hexdump-info {
    font-size: 12px;
    color: var(--text-secondary);
}

.hexdump-dropzone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px dashed var(--ctp-surface2);
    margin: 16px;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}
.hexdump-dropzone p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}
.hexdump-dropzone.drag-over {
    border-color: var(--accent-blue);
    background: rgba(137, 180, 250, 0.05);
}

.hexdump-output {
    flex: 1;
    overflow: auto;
    padding: 8px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    background: var(--ctp-crust);
}

.hexdump-row {
    white-space: pre;
}

.hexdump-header {
    color: var(--accent-blue);
    font-weight: bold;
    border-bottom: 1px solid var(--ctp-surface1);
    margin-bottom: 4px;
    padding-bottom: 4px;
    position: sticky;
    top: 0;
    background: var(--ctp-crust);
}

.hex-offset {
    color: var(--accent-pink);
}

.hex-bytes {
    color: var(--text-primary);
}

.hex-ascii {
    color: var(--accent-blue);
    opacity: 0.8;
}

.hexdump-truncated {
    text-align: center;
    padding: 12px;
    color: var(--text-dim);
    font-size: 12px;
    font-family: inherit;
    border-top: 1px solid var(--ctp-surface1);
    margin-top: 8px;
}

/* ===== Music Player ===== */
.music-player-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ctp-crust);
}

.music-player-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.music-visualizer {
    width: 100%;
    height: 200px;
    display: block;
    background: transparent;
    flex-shrink: 0;
}

.music-track-info {
    padding: 12px 16px 8px;
    text-align: center;
}

.music-track-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.music-track-status {
    font-size: 11px;
    color: var(--text-dim);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px 16px;
}

.music-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ctp-surface2);
    background: var(--ctp-surface0);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.music-btn:hover {
    background: var(--ctp-surface1);
    border-color: var(--accent-blue);
}
.music-btn .material-symbols-outlined {
    font-size: 22px;
}

.music-play-btn {
    width: 48px;
    height: 48px;
    border-color: var(--accent-pink);
}
.music-play-btn:hover {
    background: var(--ctp-surface1);
    border-color: var(--accent-blue);
}
.music-play-btn .material-symbols-outlined {
    font-size: 28px;
}

.music-volume {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
}

.music-vol-icon {
    font-size: 18px;
    color: var(--text-dim);
}

.music-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: var(--ctp-surface1);
    outline: none;
}
.music-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-pink);
    cursor: pointer;
    transition: background 0.15s;
}
.music-vol-slider::-webkit-slider-thumb:hover {
    background: var(--accent-blue);
}
.music-vol-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-pink);
    cursor: pointer;
    border: none;
}

/* ===== Programmer's Calculator ===== */
.calculator-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calc-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ctp-crust);
}

.calc-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.calc-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-width-select {
    display: flex;
    gap: 2px;
}

.calc-width-btn {
    padding: 2px 8px;
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 3px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.calc-width-btn:hover {
    background: var(--ctp-surface2);
}
.calc-width-btn.active {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
}

/* Display rows */
.calc-display {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ctp-surface1);
}

.calc-display-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    padding: 3px 8px;
    transition: background 0.15s;
}
.calc-display-row.active {
    background: var(--ctp-surface0);
}

.calc-base-label {
    font-size: 10px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent-pink);
    width: 28px;
    text-align: right;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
}

.calc-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.calc-input[readonly] {
    color: var(--text-secondary);
}

/* Bit grid */
.calc-bitgrid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 6px 12px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ctp-surface1);
    justify-content: center;
    align-items: center;
}

.calc-bit-spacer {
    width: 6px;
}

.calc-bit {
    position: relative;
    width: 18px;
    height: 22px;
    font-size: 10px;
    font-family: 'Share Tech Mono', monospace;
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface2);
    border-radius: 2px;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0;
    padding-bottom: 4px;
    transition: background 0.1s, color 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calc-bit:hover {
    background: var(--ctp-surface1);
}
.calc-bit.set {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
}

.calc-bit-idx {
    position: absolute;
    bottom: 1px;
    font-size: 6px;
    color: var(--text-dim);
    pointer-events: none;
}
.calc-bit.set .calc-bit-idx {
    color: rgba(30, 30, 46, 0.5);
}

/* Keypad */
.calc-keypad {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 8px;
    flex: 1;
    min-height: 0;
}

.calc-key {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    background: var(--ctp-surface0);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calc-key:hover {
    background: var(--ctp-surface1);
}
.calc-key:active {
    background: var(--ctp-surface2);
}

.calc-key-empty {
    visibility: hidden;
}

.calc-key-digit {
    background: var(--ctp-surface1);
    font-weight: bold;
}
.calc-key-digit:hover {
    background: var(--ctp-surface2);
}

.calc-key-op {
    color: var(--accent-blue);
}

.calc-key-arith {
    color: var(--accent-pink);
    font-size: 16px;
}

.calc-key-eq {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
    font-weight: bold;
}
.calc-key-eq:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.calc-key-clear {
    color: var(--btn-close);
}

/* ===== Markdown Editor ===== */
.md-editor-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mde-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mde-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.mde-toolbar-group {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mde-toolbar-sep {
    width: 1px;
    height: 20px;
    background: var(--ctp-surface2);
    margin: 0 4px;
}

.mde-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.mde-btn:hover {
    background: var(--ctp-surface1);
    color: var(--text-primary);
}
.mde-btn.active {
    background: var(--ctp-surface1);
    color: var(--accent-blue);
    border-color: var(--ctp-surface2);
}
.mde-btn .material-symbols-outlined {
    font-size: 16px;
}

.mde-filebar {
    padding: 3px 12px;
    background: var(--ctp-mantle);
    border-bottom: 1px solid var(--ctp-surface0);
    flex-shrink: 0;
}

.mde-filename {
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
}

.mde-body {
    flex: 1;
    display: flex;
    min-height: 0;
    overflow: hidden;
}

.mde-editor {
    flex: 1;
    resize: none;
    border: none;
    outline: none;
    padding: 12px 16px;
    background: var(--ctp-crust);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    tab-size: 4;
    overflow: auto;
}
.mde-editor::placeholder {
    color: var(--text-dim);
}
.mde-editor.mde-split {
    width: 50%;
    flex: none;
    border-right: 1px solid var(--ctp-surface1);
}

.mde-preview {
    flex: 1;
    overflow: auto;
    padding: 12px 20px;
    background: var(--ctp-base);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
}
.mde-preview h1, .mde-preview h2, .mde-preview h3,
.mde-preview h4, .mde-preview h5, .mde-preview h6 {
    color: var(--accent-pink);
    margin: 16px 0 8px;
}
.mde-preview h1 { font-size: 24px; border-bottom: 1px solid var(--ctp-surface1); padding-bottom: 6px; }
.mde-preview h2 { font-size: 20px; }
.mde-preview h3 { font-size: 16px; }
.mde-preview p { margin: 8px 0; }
.mde-preview code {
    background: var(--ctp-surface0);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
}
.mde-preview pre {
    background: var(--ctp-surface0);
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
}
.mde-preview pre code {
    background: transparent;
    padding: 0;
}
.mde-preview blockquote {
    border-left: 3px solid var(--accent-blue);
    margin: 8px 0;
    padding: 4px 12px;
    color: var(--text-secondary);
}
.mde-preview ul {
    margin: 8px 0;
    padding-left: 24px;
}
.mde-preview a {
    color: var(--accent-blue);
    text-decoration: underline;
}
.mde-preview hr {
    border: none;
    border-top: 1px solid var(--ctp-surface2);
    margin: 16px 0;
}
.mde-preview strong { color: var(--accent-pink); }

.mde-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 3px 12px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    flex-shrink: 0;
}

.mde-dialog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mde-dialog {
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface2);
    border-radius: 8px;
    padding: 20px;
    min-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mde-dialog-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.mde-dialog-label {
    font-size: 12px;
    color: var(--text-dim);
    display: block;
    margin-bottom: 6px;
}

.mde-dialog-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    background: var(--ctp-base);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    outline: none;
}

.mde-dialog-input:focus {
    border-color: var(--accent-blue);
}

.mde-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.mde-dialog-save {
    background: var(--accent-blue) !important;
    color: var(--ctp-base) !important;
}

.mde-dialog-save:hover {
    opacity: 0.9;
}

/* ===== ASCII/Unicode Table ===== */
.ascii-table-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ascii-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ascii-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.ascii-tabs {
    display: flex;
    gap: 2px;
}

.ascii-tab {
    padding: 4px 12px;
    font-size: 12px;
    font-family: inherit;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.ascii-tab:hover {
    background: var(--ctp-surface2);
}
.ascii-tab.active {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
}

.ascii-search {
    flex: 1;
    padding: 4px 10px;
    background: var(--ctp-base);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    outline: none;
    min-width: 0;
}
.ascii-search:focus {
    border-color: var(--accent-blue);
}
.ascii-search::placeholder {
    color: var(--text-dim);
}

.ascii-table-wrap {
    flex: 1;
    overflow: auto;
    background: var(--ctp-crust);
}

.ascii-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
}

.ascii-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.ascii-table th {
    padding: 6px 10px;
    text-align: left;
    background: var(--ctp-surface0);
    color: var(--accent-pink);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--ctp-surface1);
}

.ascii-table td {
    padding: 4px 10px;
    border-bottom: 1px solid var(--ctp-surface0);
    white-space: nowrap;
}

.ascii-table tbody tr {
    transition: background 0.1s;
}
.ascii-table tbody tr:hover {
    background: var(--ctp-surface0);
}
.ascii-table tbody tr.ascii-copyable {
    cursor: pointer;
}
.ascii-table tbody tr.ascii-copyable:hover {
    background: rgba(137, 180, 250, 0.1);
}

.ascii-dec { color: var(--text-primary); }
.ascii-hex { color: var(--accent-pink); }
.ascii-oct { color: var(--text-secondary); }
.ascii-bin { color: var(--text-dim); font-size: 11px; }
.ascii-char {
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 14px;
}
.unicode-char { font-size: 18px; }
.ascii-desc { color: var(--text-secondary); font-family: inherit; font-size: 12px; }

.ascii-status {
    padding: 4px 12px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* ===== Hash Generator ===== */
.hash-gen-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hashgen-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background 0.2s;
}
.hashgen-app.hashgen-drag-over {
    background: rgba(137, 180, 250, 0.05);
}

.hashgen-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 12px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.hashgen-tabs {
    display: flex;
    gap: 2px;
}

.hashgen-tab {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-family: inherit;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.hashgen-tab .material-symbols-outlined {
    font-size: 16px;
}
.hashgen-tab:hover {
    background: var(--ctp-surface2);
}
.hashgen-tab.active {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
}

.hashgen-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}
.hashgen-btn:hover {
    background: var(--ctp-surface2);
}
.hashgen-btn .material-symbols-outlined {
    font-size: 16px;
}

.hashgen-input-area {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--ctp-surface1);
}

.hashgen-textarea {
    resize: none;
    border: none;
    outline: none;
    padding: 10px 14px;
    height: 100px;
    background: var(--ctp-crust);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
}
.hashgen-textarea::placeholder {
    color: var(--text-dim);
}
.hashgen-textarea.hidden {
    display: none;
}

.hashgen-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100px;
    border: 2px dashed var(--ctp-surface2);
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.hashgen-dropzone:hover {
    border-color: var(--accent-blue);
    background: rgba(137, 180, 250, 0.05);
}
.hashgen-dropzone.hidden {
    display: none;
}
.hashgen-dropzone p {
    color: var(--text-secondary);
    font-size: 12px;
    margin: 0;
}

.hashgen-file-info {
    padding: 12px 14px;
    background: var(--ctp-crust);
    font-size: 13px;
    color: var(--text-primary);
}
.hashgen-file-info.hidden {
    display: none;
}
.hashgen-file-size {
    color: var(--text-dim);
    font-size: 12px;
}

.hashgen-results {
    flex: 1;
    overflow: auto;
    padding: 8px 0;
}

.hashgen-result-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    transition: background 0.1s;
}
.hashgen-result-row:hover {
    background: var(--ctp-surface0);
}

.hashgen-algo-label {
    width: 64px;
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    color: var(--accent-pink);
    flex-shrink: 0;
}

.hashgen-hash {
    flex: 1;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-primary);
    word-break: break-all;
    line-height: 1.4;
    user-select: all;
}

.hashgen-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-dim);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.hashgen-copy:hover {
    background: var(--ctp-surface1);
    color: var(--accent-blue);
}
.hashgen-copy .material-symbols-outlined {
    font-size: 16px;
}

.hashgen-status {
    padding: 4px 12px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* ===== Data Formatter ===== */
.formatter-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fmt-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fmt-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.fmt-tabs {
    display: flex;
    gap: 2px;
}

.fmt-tab {
    padding: 3px 10px;
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.fmt-tab:hover { background: var(--ctp-surface2); }
.fmt-tab.active {
    background: var(--accent-blue);
    color: var(--ctp-crust);
    border-color: var(--accent-blue);
}

.fmt-tool-sep {
    width: 1px;
    height: 18px;
    background: var(--ctp-surface2);
    flex-shrink: 0;
}

.fmt-label {
    font-size: 11px;
    color: var(--text-dim);
    margin-right: 2px;
}

.fmt-indent-group {
    display: flex;
    align-items: center;
    gap: 2px;
}

.fmt-indent-btn {
    padding: 3px 8px;
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.fmt-indent-btn:hover { background: var(--ctp-surface2); }
.fmt-indent-btn.active {
    background: var(--accent-pink);
    color: var(--ctp-crust);
    border-color: var(--accent-pink);
}

.fmt-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 12px;
    font-family: inherit;
    background: var(--ctp-surface1);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s;
}
.fmt-btn:hover { background: var(--ctp-surface2); }
.fmt-btn .material-symbols-outlined { font-size: 15px; }

.fmt-pane {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.fmt-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.fmt-output-panel {
    border-left: 1px solid var(--ctp-surface1);
}

.fmt-panel-label {
    padding: 3px 10px;
    font-size: 10px;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    background: var(--ctp-mantle);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.fmt-input {
    flex: 1;
    resize: none;
    border: none;
    outline: none;
    padding: 10px 12px;
    background: var(--ctp-crust);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    tab-size: 2;
    overflow: auto;
}
.fmt-input::placeholder { color: var(--text-dim); }

.fmt-output-scroll {
    flex: 1;
    overflow: auto;
}

.fmt-output {
    margin: 0;
    padding: 10px 12px;
    background: var(--ctp-base);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre;
    color: var(--text-primary);
    min-height: 100%;
}

.fmt-status {
    padding: 3px 10px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim);
    flex-shrink: 0;
}
.fmt-status.fmt-status-error { color: var(--btn-close); }

/* ===== TOML Editor ===== */
.toml-editor-window .window-content {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.toml-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.toml-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--ctp-surface0);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.toml-toolbar-group { display: flex; align-items: center; gap: 2px; }
.toml-toolbar-sep { width: 1px; height: 20px; background: var(--ctp-surface2); margin: 0 4px; }

.toml-btn {
    display: flex; align-items: center; gap: 3px;
    padding: 3px 6px;
    background: transparent; border: 1px solid transparent; border-radius: 3px;
    color: var(--text-secondary); font-family: inherit; font-size: 11px;
    cursor: pointer; transition: background 0.15s, color 0.15s;
}
.toml-btn:hover { background: var(--ctp-surface1); color: var(--text-primary); }
.toml-btn.active { background: var(--ctp-surface1); color: var(--accent-blue); border-color: var(--ctp-surface2); }
.toml-btn .material-symbols-outlined { font-size: 16px; }

.toml-filebar {
    padding: 3px 12px;
    background: var(--ctp-mantle);
    border-bottom: 1px solid var(--ctp-surface0);
    flex-shrink: 0;
}
.toml-filename { font-size: 11px; font-family: 'Share Tech Mono', monospace; color: var(--text-dim); }

.toml-body { flex: 1; display: flex; min-height: 0; overflow: hidden; }

.toml-editor-wrap {
    display: flex; flex-direction: column;
    flex: 1; min-width: 0; overflow: hidden;
    border-right: 1px solid var(--ctp-surface1);
}

.toml-pane-label {
    padding: 3px 10px;
    font-size: 10px; font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-dim); background: var(--ctp-mantle);
    border-bottom: 1px solid var(--ctp-surface1);
    flex-shrink: 0;
}

.toml-editor-scroll { flex: 1; position: relative; overflow: hidden; }

.window-content pre.toml-highlight,
.toml-highlight {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    margin: 0; padding: 10px 12px;
    font-family: 'Share Tech Mono', monospace; font-size: 13px;
    line-height: 1.6; tab-size: 2;
    white-space: pre; overflow: hidden;
    pointer-events: none;
    background: var(--ctp-crust);
    color: var(--text-primary);
    box-sizing: border-box;
    word-break: normal;
}

.toml-textarea {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    resize: none; border: none; outline: none;
    padding: 10px 12px; margin: 0;
    background: transparent;
    color: transparent; caret-color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace; font-size: 13px;
    line-height: 1.6; tab-size: 2;
    white-space: pre; overflow: auto;
    box-sizing: border-box;
}
.toml-textarea::selection { background: rgba(137, 180, 250, 0.3); }
.toml-textarea::placeholder { color: transparent; }

.toml-tree-wrap {
    display: flex; flex-direction: column;
    width: 280px; min-width: 160px;
    overflow: hidden;
    flex-shrink: 0;
}
.toml-tree-wrap.hidden { display: none; }

.toml-splitter {
    flex: 0 0 4px;
    background: var(--ctp-surface1);
    cursor: col-resize;
    transition: background 0.15s;
    position: relative;
}
.toml-splitter:hover,
.toml-splitter:active { background: var(--accent-blue); }
.toml-splitter.hidden { display: none; }
.toml-editor-wrap { border-right: none; }

.toml-tree-scroll {
    flex: 1; overflow: auto;
    background: var(--ctp-base);
    padding: 4px 0;
}

.toml-tree-row {
    display: flex; align-items: baseline; gap: 6px;
    padding-top: 3px; padding-bottom: 3px; padding-right: 8px;
    user-select: none;
    font-family: 'Share Tech Mono', monospace; font-size: 12px;
    white-space: nowrap; overflow: hidden;
    transition: background 0.1s;
}
.toml-tree-row:hover { background: var(--ctp-surface0); }

.toml-tree-children.collapsed { display: none; }

.toml-tree-toggle {
    font-size: 8px; color: var(--text-dim);
    width: 10px; flex-shrink: 0; cursor: pointer;
    transition: color 0.1s;
}
.toml-tree-toggle:hover { color: var(--text-primary); }
.toml-tree-spacer { width: 10px; flex-shrink: 0; }

.toml-tree-key { color: var(--accent-pink); flex-shrink: 0; }
.toml-tree-key::after { content: '  '; white-space: pre; }

.toml-tree-type {
    font-size: 10px; padding: 1px 4px;
    border-radius: 3px; flex-shrink: 0;
    font-family: inherit;
}
.toml-tree-type-string   { background: rgba(166, 227, 161, 0.15); color: #a6e3a1; }
.toml-tree-type-number   { background: rgba(250, 179, 135, 0.15); color: #fab387; }
.toml-tree-type-bool     { background: rgba(249, 226, 175, 0.15); color: #f9e2af; }
.toml-tree-type-datetime { background: rgba(203, 166, 247, 0.15); color: #cba6f7; }
.toml-tree-type-array    { background: rgba(137, 180, 250, 0.15); color: var(--accent-blue); }
.toml-tree-type-table    { background: rgba(245, 194, 231, 0.15); color: #f5c2e7; }

.toml-tree-value { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }

.toml-tree-msg { padding: 12px; color: var(--text-dim); font-size: 12px; font-family: 'Share Tech Mono', monospace; }
.toml-tree-msg.toml-tree-error { color: var(--btn-close); }

/* Editable elements */
.toml-tree-key.editable,
.toml-tree-value.editable,
.toml-tree-type.editable { cursor: pointer; }
.toml-tree-key.editable:hover,
.toml-tree-value.editable:hover {
    background: var(--ctp-surface1);
    border-radius: 2px;
}
.toml-tree-type.editable:hover { filter: brightness(1.35); }

/* Inline edit input */
.toml-tree-input {
    background: var(--ctp-crust);
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 2px;
    outline: none;
    min-width: 50px;
    max-width: 100%;
}

/* Per-row action buttons (delete) */
.toml-tree-actions {
    display: inline-flex;
    visibility: hidden;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    padding-left: 8px;
    flex-shrink: 0;
}
.toml-tree-row:hover .toml-tree-actions,
.toml-tree-row.toml-tree-add-form .toml-tree-actions { visibility: visible; }

.toml-tree-action {
    width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: none; cursor: pointer;
    color: var(--text-dim); border-radius: 2px;
    padding: 0;
    transition: background 0.1s, color 0.1s;
}
.toml-tree-action:hover { background: var(--ctp-surface1); color: var(--text-primary); }
.toml-tree-action .material-symbols-outlined { font-size: 14px; }
.toml-tree-action-ok { color: var(--accent-blue); }
.toml-tree-action-ok:hover { color: var(--accent-blue); background: rgba(137, 180, 250, 0.15); }

/* Add row */
.toml-tree-add-row {
    color: var(--text-dim);
    font-size: 11px;
    opacity: 0.7;
    transition: opacity 0.1s;
}
.toml-tree-add-row:hover { opacity: 1; }
.toml-tree-add-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}
.toml-tree-add-link:hover {
    background: var(--ctp-surface1);
    color: var(--text-primary);
}
.toml-tree-add-link .material-symbols-outlined { font-size: 13px; }

/* Add form */
.toml-tree-add-form {
    background: var(--ctp-surface0);
    gap: 4px;
}
.toml-tree-form-input,
.toml-tree-form-select {
    background: var(--ctp-crust);
    border: 1px solid var(--ctp-surface2);
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 2px;
    outline: none;
}
.toml-tree-form-input:focus,
.toml-tree-form-select:focus { border-color: var(--accent-blue); }
.toml-tree-form-input { min-width: 80px; max-width: 120px; }
.toml-tree-form-err { color: var(--btn-close); font-size: 10px; }

/* Type menu popup */
.toml-type-menu {
    position: fixed;
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface2);
    border-radius: 4px;
    padding: 3px;
    z-index: 10000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    min-width: 140px;
}
.toml-type-menu-item {
    padding: 5px 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toml-type-menu-item:hover { background: var(--ctp-surface1); color: var(--text-primary); }
.toml-type-menu-item .material-symbols-outlined { font-size: 14px; color: var(--text-dim); }
.toml-type-menu-item:hover .material-symbols-outlined { color: var(--accent-blue); }

/* Read-only banner */
.toml-tree-banner {
    padding: 6px 10px;
    background: rgba(243, 139, 168, 0.1);
    border-bottom: 1px solid var(--ctp-surface1);
    color: var(--btn-close);
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
}

.toml-statusbar {
    display: flex; justify-content: space-between;
    padding: 3px 12px;
    background: var(--ctp-surface0);
    border-top: 1px solid var(--ctp-surface1);
    font-size: 11px; font-family: 'Share Tech Mono', monospace;
    color: var(--text-dim); flex-shrink: 0;
}
.toml-status-ok  { color: #a6e3a1; }
.toml-status-err { color: var(--btn-close); }

/* TOML syntax highlight tokens */
.th-comment  { color: var(--ctp-overlay0); font-style: italic; }
.th-section  { color: var(--accent-blue); font-weight: bold; }
.th-bracket  { color: var(--text-secondary); }
.th-key      { color: var(--accent-pink); }
.th-dot      { color: var(--text-dim); }
.th-eq       { color: var(--text-secondary); }
.th-string   { color: #a6e3a1; }
.th-number   { color: #fab387; }
.th-bool     { color: #f9e2af; }
.th-datetime { color: #cba6f7; }
.th-punct    { color: var(--text-dim); }
.th-err      { color: var(--btn-close); text-decoration: underline wavy; }

/* Syntax highlight tokens */
.fmt-key   { color: var(--accent-pink); }
.fmt-str   { color: #a6e3a1; }
.fmt-num   { color: #fab387; }
.fmt-bool  { color: #f9e2af; }
.fmt-null  { color: var(--text-dim); }
.fmt-tag   { color: var(--accent-blue); }
.fmt-attr  { color: #cba6f7; }
.fmt-comment { color: var(--ctp-overlay0); font-style: italic; }
.fmt-yaml-sep    { color: var(--accent-blue); font-weight: bold; }
.fmt-yaml-block  { color: #fab387; }
.fmt-yaml-anchor { color: #cba6f7; }
.fmt-err   { color: var(--btn-close); }

/* ── Nonogram ─────────────────────────────────────────── */
.nonogram-window .window-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.nono-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ctp-base);
    position: relative;
}

.nono-selector {
    display: flex;
    gap: 4px;
    padding: 8px 10px;
    background: var(--ctp-mantle);
    border-bottom: 1px solid var(--ctp-surface0);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.nono-puzzle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface1);
    color: var(--text-secondary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.nono-puzzle-btn:hover { background: var(--ctp-surface1); color: var(--text-primary); }
.nono-puzzle-btn.active { background: var(--ctp-surface1); border-color: var(--accent-blue); color: var(--accent-blue); }
.nono-puzzle-btn[data-diff="easy"].active  { border-color: #a6e3a1; color: #a6e3a1; }
.nono-puzzle-btn[data-diff="hard"].active  { border-color: #fab387; color: #fab387; }
.nono-puzzle-btn .material-symbols-outlined { font-size: 14px; }

.nono-game-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 16px 8px;
    overflow: auto;
}

.nono-layout {
    display: flex;
    flex-direction: column;
    user-select: none;
}

.nono-top {
    display: flex;
    flex-direction: row;
}

.nono-corner {
    width: 80px;
    flex-shrink: 0;
}

.nono-col-clues {
    display: flex;
    flex-direction: row;
}

.nono-col-clue {
    width: var(--nono-cell);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 56px;
    padding-bottom: 4px;
    gap: 1px;
    transition: opacity 0.2s;
}
.nono-col-clue span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 14px;
}
.nono-col-clue.done span { color: var(--accent-blue); opacity: 0.45; }

.nono-bottom {
    display: flex;
    flex-direction: row;
}

.nono-row-clues {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.nono-row-clue {
    height: var(--nono-cell);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    gap: 3px;
    transition: opacity 0.2s;
}
.nono-row-clue span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
}
.nono-row-clue.done span { color: var(--accent-blue); opacity: 0.45; }

.nono-grid {
    display: grid;
    border: 2px solid var(--ctp-surface2);
}

.nono-cell {
    width: var(--nono-cell);
    height: var(--nono-cell);
    background: var(--ctp-crust);
    border: 1px solid var(--ctp-surface0);
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    transition: background 0.06s;
}
.nono-cell:hover { background: var(--ctp-surface0); }
.nono-cell.nono-filled { background: var(--accent-blue); border-color: #5a8fd4; }
.nono-cell.nono-filled:hover { background: #7baee8; }
.nono-cell.nono-marked { background: var(--ctp-crust); }
.nono-cell.nono-marked::after {
    content: '×';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--btn-close);
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
}
.nono-cell.nono-group-l { border-left: 2px solid var(--ctp-surface2); }
.nono-cell.nono-group-t { border-top: 2px solid var(--ctp-surface2); }

.nono-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px;
    background: var(--ctp-mantle);
    border-top: 1px solid var(--ctp-surface0);
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.nono-info {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: var(--text-dim);
}
.nono-reset-btn {
    display: flex;
    align-items: center;
    padding: 2px 6px;
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface1);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.12s;
}
.nono-reset-btn:hover { background: var(--ctp-surface1); color: var(--text-primary); }
.nono-reset-btn .material-symbols-outlined { font-size: 14px; }

/* Win overlay */
.nono-win {
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 37, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 20;
    animation: nono-fadein 0.25s ease;
}
@keyframes nono-fadein { from { opacity: 0; } to { opacity: 1; } }

.nono-win-box {
    background: var(--ctp-surface0);
    border: 1px solid var(--accent-blue);
    border-radius: 8px;
    padding: 28px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: nono-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes nono-pop { from { transform: scale(0.75); } to { transform: scale(1); } }

.nono-win-icon {
    font-size: 44px;
    color: var(--accent-blue);
}
.nono-win-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 20px;
    color: var(--text-primary);
}
.nono-win-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--accent-pink);
}
.nono-win-next {
    margin-top: 14px;
    padding: 8px 22px;
    background: var(--accent-blue);
    border: none;
    color: var(--ctp-crust);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.15s;
}
.nono-win-next:hover { opacity: 0.82; }
