﻿:root {
--bg: #12100e; --bg-elevated: #1a1714; --bg-card: #201c18; --bg-input: #181512;
--border: #2c2520; --border-strong: #3a322c;
--text: #e8e2da; --text-secondary: #a89b8c; --text-muted: #6b6156;
--accent: #d4a574; --accent-hover: #e0b888;
--accent-dim: rgba(212,165,116,0.12); --accent-glow: rgba(212,165,116,0.25);
--danger: #c0705f; --danger-bright: #e06a52;
--radius: 10px; --radius-sm: 6px; --radius-xs: 4px;
--safe-bottom: env(safe-area-inset-bottom, 0px);
--safe-top: env(safe-area-inset-top, 0px);
--kbd-height: 150px; --kbd-height-mobile: 115px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
background: var(--bg); color: var(--text);
font-size: 14px; line-height: 1.5;
height: 100vh; height: 100dvh;
display: flex; flex-direction: column; overflow: hidden;
-webkit-font-smoothing: antialiased; touch-action: manipulation;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-input); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; border: 2px solid var(--bg-input); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) var(--bg-input); }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.header {
display: flex; align-items: center; justify-content: space-between;
padding: 14px 24px; padding-top: calc(14px + var(--safe-top));
border-bottom: 1px solid var(--border); background: var(--bg-elevated);
flex-shrink: 0; gap: 12px; z-index: 3;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.logo-mark { width: 22px; height: 22px; color: var(--accent); filter: drop-shadow(0 0 6px var(--accent-glow)); }
.logo-mark svg { width: 100%; height: 100%; }
.header-right { display: flex; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 2px; background: var(--bg); padding: 3px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.tab { padding: 6px 16px; border-radius: var(--radius-xs); border: none; background: transparent; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; transition: all 0.15s ease; white-space: nowrap; }
.tab:hover { color: var(--text-secondary); }
.tab.active { background: var(--bg-card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 0 0 1px var(--border-strong); }
.lang-toggle { display: flex; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.lang-btn { padding: 6px 10px; border: none; background: transparent; color: var(--text-muted); font: inherit; font-size: 11px; font-weight: 600; border-radius: var(--radius-xs); cursor: pointer; }
.lang-btn.active { background: var(--accent-dim); color: var(--accent); }
.main-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: calc(var(--kbd-height) + 24px); }
body.kbd-hidden .main-scroll { padding-bottom: 52px; }
.workspace { display: grid; grid-template-columns: 300px 1fr; gap: 16px; padding: 16px 24px; max-width: 1400px; width: 100%; margin: 0 auto; }
.panel { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; }
.sidebar { padding: 16px; gap: 16px; overflow-y: auto; }
.stage { padding: 16px; gap: 12px; min-width: 0; overflow-y: auto; }
.section { display: flex; flex-direction: column; gap: 8px; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; justify-content: space-between; }
.range-hint { font-size: 10px; color: var(--text-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.hint { font-size: 11px; color: var(--text-muted); line-height: 1.5; padding: 8px 10px; background: var(--bg-input); border-radius: var(--radius-xs); border-left: 2px solid var(--border-strong); }
.param-row { display: flex; align-items: center; gap: 8px; }
.param-label { font-size: 12px; color: var(--text-secondary); min-width: 70px; }
.param-value { font-size: 11px; color: var(--text-muted); min-width: 60px; text-align: right; font-variant-numeric: tabular-nums; }
.slider { flex: 1; min-width: 0; -webkit-appearance: none; appearance: none; height: 4px; background: var(--bg-input); border-radius: 2px; outline: none; cursor: pointer; border: 1px solid var(--border); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: none; box-shadow: 0 0 8px var(--accent-glow); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: none; }
.select {
width: 100%; padding: 10px; background: var(--bg-input); border: 1px solid var(--border);
border-radius: var(--radius-sm); color: var(--text); font: inherit; font-size: 13px;
outline: none; appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a89b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; cursor: pointer;
}
.select:focus { border-color: var(--accent); }
.btn-row { display: flex; gap: 6px; }
.btn-row > * { flex: 1; }
.check-row { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 12px; cursor: pointer; color: var(--text-secondary); }
.check-row input {
-webkit-appearance: none; appearance: none;
width: 16px; height: 16px; margin: 0; flex-shrink: 0;
border: 1px solid var(--border-strong); border-radius: 4px;
background: var(--bg-card); cursor: pointer; transition: all 0.15s ease;
}
.check-row input:checked {
background-color: var(--accent-dim); border-color: var(--accent);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a574' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.wave-select { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wave-btn { padding: 9px 4px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; color: var(--text-muted); min-height: 42px; font: inherit; }
.wave-btn:hover { border-color: var(--border-strong); color: var(--text-secondary); }
.wave-btn.active { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
.wave-btn svg { width: 32px; height: 20px; }
.btn-primary { padding: 12px 16px; background: var(--accent); border: none; border-radius: var(--radius-sm); color: #1a1410; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 44px; width: 100%; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }
.btn-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--text); }
.btn-secondary:disabled { opacity: 0.4; cursor: not-allowed; }
.compact-btn { min-height: 32px; padding: 6px 12px; font-size: 12px; }
.rec-row { display: flex; align-items: center; gap: 10px; }
.rec-round {
width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
background: linear-gradient(180deg, #2a221c, #1d1814);
border: 1px solid var(--border-strong); cursor: pointer;
display: inline-flex; align-items: center; justify-content: center;
transition: border-color 0.15s ease, box-shadow 0.15s ease; padding: 0;
}
.rec-round:hover { border-color: var(--danger); box-shadow: 0 0 10px rgba(192,112,95,0.25); }
.rec-round .rec-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--danger-bright); box-shadow: 0 0 6px rgba(224,106,82,0.6); transition: border-radius 0.15s ease, width 0.15s ease, height 0.15s ease; }
.rec-round.on { border-color: var(--danger-bright); background: linear-gradient(180deg, #3a201a, #241512); box-shadow: 0 0 12px rgba(224,106,82,0.35); }
.rec-round.on .rec-dot { width: 12px; height: 12px; border-radius: 3px; animation: recPulse 1.1s ease-in-out infinite; }
.rec-round.small { width: 36px; height: 36px; }
.rec-round.small .rec-dot { width: 11px; height: 11px; }
.rec-round.small.on .rec-dot { width: 10px; height: 10px; }
@keyframes recPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.rec-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rec-cap { font-size: 9px; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.upload-mini { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--bg-input); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; color: var(--text-secondary); min-height: 48px; overflow: hidden; }
.upload-mini:hover { border-color: var(--accent); }
.upload-mini svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
.upload-mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sampler-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 200px; }
.sampler-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs); font-size: 12px; cursor: pointer; }
.sampler-item:hover { border-color: var(--accent); }
.sampler-item.active { border-color: var(--accent); background: var(--accent-dim); }
.sampler-item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sampler-item-del { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: var(--radius-xs); }
.sampler-item-del:hover { color: var(--danger); }
.seq-grid { display: flex; flex-direction: column; gap: 2px; overflow: auto; padding: 8px; max-height: 420px; min-height: 180px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.seq-row { display: flex; gap: 2px; align-items: center; flex: 0 0 auto; }
.seq-row-label { width: 30px; font-size: 10px; color: var(--text-muted); text-align: right; padding-right: 4px; flex: 0 0 30px; position: sticky; left: 0; background: var(--bg); z-index: 2; }
.seq-cell { flex: 0 0 26px; width: 26px; height: 22px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-xs); cursor: pointer; touch-action: none; }
.seq-cell:hover { border-color: var(--border-strong); }
.seq-cell.active { background: var(--accent-dim); border-color: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }
.seq-cell.playing { background: var(--accent); border-color: var(--accent-hover); }
.seq-under { display: flex; gap: 8px; align-items: center; padding: 8px 0; flex-wrap: wrap; }
.sampler-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 0; }
.mini-btn { padding: 6px 10px; min-height: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-secondary); font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.mini-btn:hover { border-color: var(--accent); color: var(--text); }
.mini-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.mini-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.sampler-sel-info { font-size: 11px; color: var(--text-muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.stage-header { display: flex; justify-content: space-between; align-items: center; }
.stage-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.stage-meta { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.visualizer { position: relative; flex: 1; min-height: 220px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.visualizer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(212,165,116,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(212,165,116,0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
#waveCanvas, #samplerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
#samplerCanvas { cursor: crosshair; touch-action: none; }
.player { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); flex-wrap: wrap; }
.play-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--accent); color: #1a1410; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.play-btn:hover:not(:disabled) { background: var(--accent-hover); }
.play-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.loop-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-card); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.loop-btn:hover { border-color: var(--accent); color: var(--text); }
.loop-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.seek { flex: 1; min-width: 120px; -webkit-appearance: none; appearance: none; height: 4px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; outline: none; cursor: pointer; }
.seek:disabled { opacity: 0.4; cursor: not-allowed; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; }
.seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: none; }
.time { font-size: 12px; color: var(--text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-spacer { flex: 1; }
.export-block { border-top: 1px solid var(--border); padding-top: 12px; }
.synth-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 0; }
.mix-rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 12px; align-items: start; overflow-y: auto; flex: 1; }
.mix-strip { background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mix-strip.muted { opacity: 0.55; }
.mix-strip.solo { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-dim); }
.mix-strip-head { display: flex; gap: 6px; align-items: center; }
.mix-name { flex: 1; min-width: 0; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 8px; border-radius: var(--radius-xs); }
.mix-del { width: 28px; height: 28px; flex: 0 0 auto; background: transparent; border: 1px solid var(--border); color: var(--text-muted); border-radius: var(--radius-xs); cursor: pointer; font-size: 16px; }
.mix-del:hover { color: var(--danger); border-color: var(--danger); }
.track-wave { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.mix-canvas { display: block; width: 100%; height: 72px; touch-action: none; cursor: crosshair; }
.mix-src { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mix-src .mini-btn { min-height: 36px; }
.mix-info { font-size: 11px; color: var(--text-muted); flex: 1; min-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix-transport { display: flex; gap: 6px; align-items: center; }
.preview-btn { width: 32px; height: 32px; border-radius: var(--radius-xs); background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.preview-btn:hover { border-color: var(--accent); color: var(--text); }
.preview-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.preview-btn svg { width: 12px; height: 12px; }
.mix-ms { display: flex; gap: 6px; }
.mix-ms .mini-btn { flex: 1; font-weight: 700; }
.mix-ms .mini-btn.active.mute { background: rgba(192,112,95,0.15); border-color: var(--danger); color: var(--danger); }
.mix-ms .mini-btn.active.solo { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }
.mix-edit { display: flex; gap: 6px; }
.mix-edit .mini-btn { flex: 1; }
.mix-params { display: flex; flex-direction: column; gap: 6px; }
.mix-params .param-label { min-width: 64px; font-size: 11px; }
.mix-params .param-value { min-width: 48px; }
.mix-fx { border-top: 1px solid var(--border); padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.mix-fx .section-label { font-size: 10px; }
.rec-status { font-size: 11px; color: var(--accent); font-style: italic; }
.footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); }
.keyboard-wrap {
position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
background: linear-gradient(180deg, #1e1a16 0%, #161310 100%);
border-top: 1px solid var(--border-strong);
padding: 8px 16px calc(12px + var(--safe-bottom));
box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
transition: transform 0.25s ease;
}
body.kbd-hidden .keyboard-wrap { transform: translateY(calc(100% - 46px)); }
body.kbd-hidden .keyboard-wrap .keyboard { pointer-events: none; }
.keyboard-info { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 30px; padding: 0 4px 6px; font-size: 12px; color: var(--text-secondary); }
.keyboard-controls { display: flex; gap: 6px; align-items: center; }
.kbd-ctrl-btn { width: 28px; height: 28px; border-radius: var(--radius-xs); background: var(--bg-input); border: 1px solid var(--border); color: var(--text-secondary); font: inherit; font-size: 15px; line-height: 1; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kbd-ctrl-btn:hover { border-color: var(--accent); color: var(--text); }
.kbd-toggle { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 36px; height: 28px; border-radius: var(--radius-xs); background: transparent; border: 1px solid transparent; color: var(--text-muted); font: inherit; font-size: 14px; line-height: 1; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.25s ease, border-color 0.15s ease; }
.kbd-toggle:hover { border-color: var(--border); color: var(--text); }
body.kbd-hidden .kbd-toggle { transform: translateX(-50%) rotate(180deg); }
.keyboard { display: flex; justify-content: center; height: var(--kbd-height); position: relative; max-width: 1000px; margin: 0 auto; touch-action: none; user-select: none; }
.key { cursor: pointer; }
.key-white { flex: 1; position: relative; background: linear-gradient(180deg, #f5f0e8 0%, #e8e2da 100%); border: 1px solid #3a322c; border-radius: 0 0 6px 6px; height: 100%; min-width: 20px; transition: background 0.08s, transform 0.05s; }
.key-white.active { background: linear-gradient(180deg, #e8d5c0 0%, #d4bfa8 100%); transform: translateY(2px); }
.key-black { position: absolute; top: 0; width: 5.6%; height: 62%; z-index: 2; background: linear-gradient(180deg, #2a2520 0%, #1a1714 100%); border: 1px solid #0a0908; border-radius: 0 0 4px 4px; box-shadow: 0 3px 6px rgba(0,0,0,0.5); transition: background 0.08s, transform 0.05s; }
.key-black.active { background: linear-gradient(180deg, #4a3a2a 0%, #3a2a1a 100%); transform: translateY(2px); }
.key-note { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 9px; color: #8a7f72; pointer-events: none; }
#bplToasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.bpl-toast { background: rgba(26,20,16,.92); border: 1px solid var(--border-strong); color: var(--text); font-size: 13px; padding: 8px 14px; border-radius: 8px; transition: opacity .3s; }
.bpl-toast.out { opacity: 0; }
@media (max-width: 900px) {
.workspace { grid-template-columns: 1fr; }
.keyboard { height: var(--kbd-height-mobile); }
.main-scroll { padding-bottom: calc(var(--kbd-height-mobile) + 20px); }
body.kbd-hidden .main-scroll { padding-bottom: 48px; }
.header { flex-wrap: wrap; padding: 12px 16px; }
.header-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 600px) {
.tabs { flex: 1; }
.tab { flex: 1; padding: 8px 4px; font-size: 12px; }
.keyboard { max-width: 100%; }
.seq-cell { min-width: 16px; min-height: 20px; }
.sampler-list { max-height: 160px; }
.mix-rack { grid-template-columns: 1fr; }
}
.focus-btn {
position: fixed;
right: calc(12px + env(safe-area-inset-right));
top: calc(12px + env(safe-area-inset-top));
z-index: 9999;
width: 30px;
height: 30px;
box-sizing: border-box;
border-radius: 6px;
border: 1px solid rgba(212,165,116,.45);
background: rgba(20,18,16,.35);
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
cursor: pointer;
touch-action: manipulation;
user-select: none;
-webkit-user-select: none;
-webkit-tap-highlight-color: transparent;
line-height: 0;
}
.focus-btn svg {
width: 14px;
height: 14px;
display: block;
fill: none;
stroke: var(--text);
stroke-width: 1.5;
stroke-linecap: square;
stroke-linejoin: miter;
pointer-events: none;
}
.focus-btn.active {
border-color: rgba(224,184,136,.75);
background: rgba(212,165,116,.16);
}
.focus-btn.active svg {
stroke: var(--accent-hover);
}
html.bpl-focus .header {
padding: 8px 12px;
padding-top: calc(8px + var(--safe-top));
}
html.bpl-focus .workspace {
padding: 8px 12px;
gap: 8px;
max-width: none;
}
html.bpl-focus .keyboard-wrap {
padding: 6px 12px calc(8px + var(--safe-bottom));
}
