/* ============================================================
   大王TG助手 - 明暗双主题
   默认白天模式，点击月亮图标切换暗黑模式
   ============================================================ */

/* === 白天模式（默认） === */
:root {
    --bg-base: #eef0f6;
    --bg-card: #ffffff;
    --bg-card-hover: #f6f6fa;
    --bg-input: #f4f4fa;
    --bg-input-focus: #fff;
    --border: #dcdfe8;
    --border-focus: rgba(200,130,30,0.5);
    --text-primary: #1a1a2e;
    --text-secondary: #505068;
    --text-muted: #9090a8;
    --gold: #c88018;
    --gold-dim: rgba(200,128,24,0.07);
    --gold-border: rgba(200,128,24,0.18);
    --purple: #6848b0;
    --purple-dim: rgba(104,72,176,0.07);
    --purple-border: rgba(104,72,176,0.16);
    --green: #28884a;
    --green-dim: rgba(40,136,74,0.07);
    --red: #c03838;
    --red-dim: rgba(192,56,56,0.06);
    --shadow-card: 0 1px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.04);
    --shadow-btn: 0 2px 10px rgba(0,0,0,0.08);
    --preview-bg: #e0e0ea;
    --card-accent: #f8f4ff;
}

/* === 暗黑模式 === */
.dark-mode {
    --bg-base: #0b0b14;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.05);
    --bg-input: rgba(255,255,255,0.04);
    --bg-input-focus: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.06);
    --border-focus: rgba(240,176,48,0.5);
    --text-primary: #eaeaf4;
    --text-secondary: #8888a8;
    --text-muted: #55556a;
    --gold: #f0b030;
    --gold-dim: rgba(240,176,48,0.1);
    --gold-border: rgba(240,176,48,0.2);
    --purple: #a078f0;
    --purple-dim: rgba(160,120,240,0.12);
    --purple-border: rgba(160,120,240,0.2);
    --green: #40c870;
    --green-dim: rgba(64,200,112,0.1);
    --red: #f06060;
    --red-dim: rgba(240,96,96,0.1);
    --shadow-card: none;
    --shadow-btn: 0 2px 12px rgba(0,0,0,0.3);
    --preview-bg: rgba(0,0,0,0.4);
    --card-accent: transparent;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
}

.app {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 28px;
}

/* === 顶部导航 === */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.header-left .logo {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #d89020, #d05818);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.dark-mode .header-left .logo {
    background: linear-gradient(135deg, #f0b030, #f07028);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-theme {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.btn-theme:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.activation-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.activation-input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    width: 170px;
    outline: none;
    transition: all 0.25s;
}

.activation-input:focus {
    border-color: var(--border-focus);
}

.activation-input::placeholder { color: var(--text-muted); }

.btn-activate {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 7px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-activate:hover {
    background: var(--gold);
    color: #fff;
}

/* === 顶部内联机器码 === */
.mc-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.mc-inline .mc-code {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 1px;
    user-select: all;
}

.mc-inline .btn-copy {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.25s;
    line-height: 1;
}

.mc-inline .btn-copy:hover { background: var(--gold); color: #fff; }

.status-free {
    font-size: 12px;
    color: var(--text-muted);
    padding: 5px 10px;
    background: var(--bg-input);
    border-radius: 6px;
}

.status-activated {
    font-size: 12px;
    color: var(--green);
    padding: 5px 10px;
    background: var(--green-dim);
    border-radius: 6px;
    font-weight: 500;
}

.status-trial {
    font-size: 12px;
    color: #e6a700;
    padding: 5px 10px;
    background: rgba(230, 167, 0, 0.12);
    border-radius: 6px;
    font-weight: 500;
}

.status-expired {
    font-size: 12px;
    color: var(--red);
    padding: 5px 10px;
    background: var(--red-dim);
    border-radius: 6px;
    font-weight: 500;
}

/* === 主内容区 === */
.main {
    display: flex;
    gap: 24px;
    padding: 18px 0;
    align-items: flex-start;
}

/* === 模式切换Tab === */
.mode-tabs {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

.mode-tab {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.25s;
}

.mode-tab:hover { color: var(--text-secondary); }

.mode-tab.active {
    color: var(--gold);
    background: var(--gold-dim);
}

.input-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-panel {
    flex: 0 0 400px;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

/* === 卡片 === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border-left: 3px solid var(--card-accent);
}

.card:hover { box-shadow: var(--shadow-card), 0 0 0 1px var(--border); }

.card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-title::before {
    content: '';
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--purple));
    flex-shrink: 0;
}

/* === 表单 === */
.form-group { margin-bottom: 8px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.25s;
}

.form-input:focus { border-color: var(--border-focus); }
.form-input::placeholder { color: var(--text-muted); }

.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }

/* === 歌单采集 === */
.btn-collect {
    width: 100%;
    background: var(--purple-dim);
    border: 1px solid var(--purple-border);
    color: var(--purple);
    padding: 9px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.25s;
}

.btn-collect:hover { background: rgba(112,80,192,0.14); }
.btn-collect:disabled { opacity: 0.4; cursor: not-allowed; }

.loading { text-align: center; padding: 8px; color: var(--text-muted); font-size: 12px; }

.spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid var(--border); border-top-color: var(--purple);
    border-radius: 50%; animation: spin 0.7s linear infinite;
    vertical-align: middle; margin-right: 5px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.song-count { font-size: 12px; color: var(--green); margin-bottom: 6px; font-weight: 500; }

.song-textarea {
    width: 100%; height: 100px;
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-primary); padding: 8px 12px;
    border-radius: 10px; font-size: 13px; line-height: 1.5;
    resize: vertical; outline: none; font-family: inherit;
    transition: border-color 0.25s;
}

.song-textarea:focus { border-color: var(--border-focus); }

/* === 上传 === */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
}

.upload-area:hover { border-color: var(--gold-border); background: var(--gold-dim); }

.upload-icon { font-size: 24px; color: var(--text-muted); margin-bottom: 2px; }
.upload-hint { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.btn-clear {
    margin-top: 6px; background: none;
    border: 1px solid rgba(208,64,64,0.2); color: var(--red);
    padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: 12px;
    transition: all 0.25s;
}

.btn-clear:hover { background: var(--red-dim); }

.btn-clear-sm {
    background: none; border: 1px solid rgba(208,64,64,0.2);
    color: var(--red); padding: 2px 10px; border-radius: 5px;
    cursor: pointer; font-size: 12px; vertical-align: middle;
    margin-left: 8px; transition: all 0.25s;
}

.btn-clear-sm:hover { background: var(--red-dim); }

/* === 多图上传 === */
.photo-list {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.photo-thumb-item {
    position: relative; width: 64px; height: 64px; border-radius: 6px; overflow: hidden;
    border: 2px solid var(--border-light);
}
.photo-thumb-img {
    width: 100%; height: 100%; object-fit: cover;
}
.photo-thumb-remove {
    position: absolute; top: 0; right: 0; width: 18px; height: 18px;
    background: rgba(0,0,0,0.6); color: #fff; border: none; cursor: pointer;
    font-size: 10px; line-height: 18px; text-align: center; border-radius: 0 0 0 4px;
    opacity: 0; transition: opacity 0.2s;
}
.photo-thumb-item:hover .photo-thumb-remove { opacity: 1; }
.photo-thumb-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.5); color: #FFD700; font-size: 9px;
    text-align: center; line-height: 16px;
}

/* === 视频导出 === */
.video-export-area {
    margin-top: 12px; padding: 12px; border-radius: 8px;
    background: var(--bg-card); border: 1px solid var(--border-light);
}
.video-export-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.video-duration-row {
    display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-secondary);
}
.video-duration-input {
    width: 50px; padding: 4px 6px; border: 1px solid var(--border-light);
    border-radius: 4px; font-size: 13px; text-align: center; background: var(--bg-input);
    color: var(--text-primary);
}
.video-result {
    margin-top: 10px; text-align: center;
}
.video-preview-el {
    max-width: 100%; max-height: 360px; border-radius: 8px;
    background: #000;
}

/* === 风格选择 === */
.style-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.style-card {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 8px 6px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    background: transparent;
}

.style-card:hover { border-color: var(--text-muted); transform: translateY(-1px); }

.style-card.active {
    border-color: var(--gold-border);
    background: var(--gold-dim);
}

.style-card.locked { opacity: 0.3; cursor: not-allowed; }

.style-card.locked::after {
    content: "PRO"; position: relative; top: -1px;
    display: inline-block; background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; font-size: 8px; font-weight: 700;
    padding: 1px 5px; border-radius: 3px; margin-left: 3px;
}

.style-preview { width: 100%; height: 32px; border-radius: 5px; margin-bottom: 5px; }
.style-label { font-size: 11px; color: var(--text-secondary); font-weight: 500; }

/* === 生成按钮 === */
.btn-generate {
    width: 100%;
    background: linear-gradient(135deg, #d89020, #c85818);
    color: #fff; border: none; padding: 13px;
    border-radius: 14px; cursor: pointer;
    font-size: 15px; font-weight: 700;
    transition: all 0.25s;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(216,144,32,0.25);
}

.btn-generate:active { transform: translateY(0); }
.btn-generate:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.dark-mode .btn-generate {
    background: linear-gradient(135deg, #f0b030, #e87020);
}

/* === 预览区 === */
.preview-card {
    flex: 1; display: flex; flex-direction: column;
    min-height: 0; overflow: hidden;
}

.preview-area {
    flex: 1; display: flex;
    align-items: flex-start; justify-content: center;
    background: var(--preview-bg);
    border-radius: 10px; overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 200px; position: relative;
    transition: background 0.3s;
}

#posterRender { flex-shrink: 0; }

.preview-placeholder { text-align: center; color: var(--text-muted); font-size: 13px; }
.preview-icon { font-size: 40px; margin-bottom: 8px; opacity: 0.4; }

.poster-image {
    max-width: 100%; max-height: 600px;
    border-radius: 10px; box-shadow: var(--shadow-btn);
}

.preview-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }

.btn-export {
    display: inline-block;
    background: linear-gradient(135deg, #d89020, #c85818);
    color: #fff; border: none; padding: 9px 20px;
    border-radius: 10px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.25s;
}

.btn-export:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(216,144,32,0.2);
}

.dark-mode .btn-export {
    background: linear-gradient(135deg, #f0b030, #e87020);
}

.btn-readjust {
    display: inline-block; background: var(--bg-card);
    color: var(--text-muted); border: 1px solid var(--border);
    padding: 9px 20px; border-radius: 10px;
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.25s;
}

.btn-readjust:hover { background: var(--bg-card-hover); color: var(--text-secondary); }

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #28a858, #1e8840);
    color: #fff; padding: 9px 20px;
    border-radius: 10px; text-decoration: none;
    font-size: 13px; font-weight: 600;
    transition: all 0.25s;
}

.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(40,168,88,0.2);
}

.drag-tip {
    text-align: center; font-size: 11px;
    color: var(--gold); opacity: 0.5;
    margin-top: 6px;
    animation: tipPulse 2s ease-in-out infinite;
}

.ios-save-tip {
    text-align: center; font-size: 12px;
    color: #f09030; background: rgba(240,144,48,0.08);
    border: 1px dashed rgba(240,144,48,0.3);
    border-radius: 8px; padding: 8px 12px;
    margin-top: 10px; line-height: 1.5;
}

.btn-ios-share {
    display: inline-block; margin-top: 8px;
    padding: 8px 18px; font-size: 13px;
    background: linear-gradient(135deg, #f09030, #e07020);
    color: #fff; border: none; border-radius: 8px; cursor: pointer;
}

.video-dl-row {
    display: flex; align-items: center; gap: 10px; margin-top: 8px;
    flex-wrap: wrap;
}

@keyframes tipPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }

/* === 样式调节 === */
.adjust-grid { display: flex; flex-direction: column; gap: 6px; }
.adjust-row { display: flex; align-items: center; gap: 8px; }

.adjust-label {
    font-size: 12px; color: var(--text-muted);
    width: 32px; flex-shrink: 0; text-align: right;
}

.color-pick {
    width: 28px; height: 28px;
    border: 2px solid var(--border); border-radius: 6px;
    cursor: pointer; padding: 0; background: none;
    flex-shrink: 0; transition: border-color 0.2s;
}

.color-pick:hover { border-color: var(--text-muted); }
.color-pick::-webkit-color-swatch-wrapper { padding: 2px; }
.color-pick::-webkit-color-swatch { border-radius: 3px; border: none; }

.size-range {
    flex: 1; height: 3px;
    -webkit-appearance: none; appearance: none;
    background: var(--border); border-radius: 2px; outline: none;
}

.size-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 12px; height: 12px;
    border-radius: 50%; background: var(--gold);
    cursor: pointer; box-shadow: 0 0 6px rgba(216,144,32,0.3);
}

.size-range::-moz-range-thumb {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--gold); cursor: pointer; border: none;
}

.size-val {
    font-size: 10px; color: var(--text-muted);
    width: 34px; text-align: left; flex-shrink: 0;
    font-family: 'Courier New', monospace;
}

/* === 多歌手管理 === */
.artist-entry {
    background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 10px; padding: 10px; margin-bottom: 8px;
    transition: all 0.3s;
}

.artist-entry-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.artist-color-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.artist-name-input { flex: 1; min-width: 0; }

.btn-collect-sm {
    background: var(--purple-dim); color: var(--purple);
    border: 1px solid var(--purple-border);
    padding: 4px 10px; border-radius: 6px; cursor: pointer;
    font-size: 12px; flex-shrink: 0; transition: all 0.25s;
}

.btn-collect-sm:hover { background: rgba(112,80,192,0.14); }
.btn-collect-sm:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-remove {
    background: none; border: 1px solid rgba(208,64,64,0.2);
    color: var(--red); width: 24px; height: 24px;
    border-radius: 6px; cursor: pointer; font-size: 11px;
    flex-shrink: 0; display: flex; align-items: center;
    justify-content: center; transition: all 0.25s;
}

.btn-remove:hover { background: var(--red-dim); }

/* === 选项行 === */
.song-options { display: flex; flex-direction: column; gap: 8px; }
.song-opt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.song-opt-row label { font-size: 12px; color: var(--text-muted); }

.opt-select {
    background: var(--bg-input); border: 1px solid var(--border);
    color: var(--text-primary); padding: 5px 8px;
    border-radius: 6px; font-size: 12px; outline: none;
    cursor: pointer; transition: border-color 0.25s;
}

.opt-select:focus { border-color: var(--border-focus); }

/* === 批量生成 === */
.batch-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.batch-modal {
    display: none; position: fixed; inset: 0; z-index: 1000;
    align-items: center; justify-content: center; padding: 20px;
}

.batch-modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
}

.batch-modal-content {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 18px;
    padding: 22px; max-width: 920px; width: 100%;
    max-height: 85vh; display: flex; flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.batch-modal-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 14px;
}

.batch-modal-header h3 { font-size: 15px; font-weight: 600; }

.batch-progress { margin-bottom: 14px; }

.batch-progress-bar {
    height: 5px; background: var(--border);
    border-radius: 3px; overflow: hidden; margin-bottom: 5px;
}

.batch-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--gold), #e87020);
    border-radius: 3px; transition: width 0.3s;
}

.batch-progress-text { font-size: 12px; color: var(--text-muted); text-align: center; }

.batch-results {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px; overflow-y: auto; max-height: 60vh; padding: 2px;
}

.batch-item { text-align: center; }

.batch-thumb {
    width: 100%; border-radius: 6px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.2s;
}

.batch-thumb:hover { transform: scale(1.03); }
.batch-item-actions { margin-top: 5px; }

.batch-actions {
    display: flex; justify-content: center;
    padding-top: 12px; border-top: 1px solid var(--border); margin-top: 12px;
}

/* === 响应式 === */
@media (max-width: 900px) {
    .main { flex-direction: column; }
    .preview-panel { flex: none; position: static; max-height: none; }
    .preview-area { max-height: 60vh; }
    .form-row { flex-direction: column; }
    .style-selector { grid-template-columns: repeat(3, 1fr); }
    .header { flex-direction: column; gap: 10px; align-items: flex-start; }
}

@media (max-width: 600px) {
    .app { padding: 0 14px; }
    .card { padding: 14px; }
    .form-input { padding: 9px 12px; font-size: 16px; }
    .btn-generate { padding: 13px; font-size: 15px; }
    .btn-collect { padding: 10px; font-size: 14px; }
    .adjust-row { gap: 5px; }
    .adjust-label { width: 28px; }
    .color-pick { width: 26px; height: 26px; }
    .size-range { min-width: 50px; }
    .size-val { width: 30px; }
    .preview-panel { flex: none; }
    .preview-area { min-height: 280px; }
    .activation-area { flex-wrap: wrap; }
    .activation-input { width: 120px; }
    .header-left .logo { font-size: 16px; }
    .preview-actions { flex-wrap: wrap; justify-content: center; }
    .mode-tab { padding: 9px 6px; font-size: 12px; }
    .machine-code-bar { flex-direction: column; gap: 5px; padding: 10px; }
    .mc-code { font-size: 13px; }
    .style-selector { gap: 6px; }
}
