#settings{min-height:100vh;min-height:100dvh;padding:96px 16px calc(4rem + env(safe-area-inset-bottom, 0px));color:var(--text)}#settings .settings-wrap{width:min(760px,100%);margin:0 auto}#settings .settings-head{padding-bottom:.4rem}#settings .settings-head h1{margin:0 0 .4rem;font-size:clamp(2rem,4vw,2.7rem);letter-spacing:-.04em;line-height:1.1}#settings .settings-head p{margin:0;color:var(--soft);max-width:44rem}#settings .settings-loading{color:var(--muted)}#settings .set-group{margin-top:1.6rem;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.015)}#settings .set-group>h2{margin:0;padding:1rem 1.2rem .2rem;font-size:1rem}#settings .set-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:1.2rem;gap:1.2rem;align-items:center;padding:1rem 1.2rem;border-bottom:1px solid var(--line)}#settings .set-row:last-child{border-bottom:0}#settings .set-row h3{margin:0;font-size:.95rem;font-weight:600}#settings .set-row p{margin:.15rem 0 0;color:var(--muted);font-size:.85rem;line-height:1.5}#settings .set-row .where{color:var(--soft)}#settings .set-row.set-row-stack{grid-template-columns:minmax(0,1fr)}#settings .set-row.danger-row h3{color:#ffb3aa}@media (max-width:640px){#settings .set-row{grid-template-columns:minmax(0,1fr)}}#settings .set-row .seg{max-width:100%}#settings .set-row .seg button{padding:.3rem .55rem}#settings .set-row .seg.big button{padding:.45rem .9rem}#settings .switch{position:relative;flex:none;width:44px;height:26px;padding:0;border-radius:999px;border:1px solid var(--line-strong);background:rgba(255,255,255,.08);cursor:pointer;transition:background .2s,border-color .2s}#settings .switch:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}#settings .switch[aria-checked=true]{background:var(--coral);border-color:var(--coral)}#settings .switch[aria-checked=true]:after{transform:translateX(18px)}#settings .switch:focus-visible{outline:2px solid rgba(100,181,255,.8);outline-offset:2px}#settings .drop{display:flex;flex-direction:column;align-items:center;gap:.4rem;border:1px dashed var(--line-strong);border-radius:12px;padding:1rem;text-align:center;color:var(--muted);font-size:.88rem}#settings .file-pick{position:relative;display:inline-flex;cursor:pointer}#settings .file-pick:focus-within{outline:2px solid rgba(100,181,255,.8);outline-offset:2px}#settings .file-input{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#settings .drop .btn-q{padding:0}#settings .paste-box{width:100%;margin-top:.4rem;text-align:left}#settings .paste-box[hidden]{display:none}#settings .paste{display:block;width:100%;min-height:90px;resize:vertical;border-radius:var(--r-md);border:1px solid var(--line-strong);background:rgba(0,0,0,.4);color:var(--text);padding:.6rem .8rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.4}#settings .paste:focus{outline:none;border-color:rgba(100,181,255,.6);box-shadow:0 0 0 3px rgba(100,181,255,.2)}#settings .paste-actions{display:flex;justify-content:flex-end;margin-top:.6rem}#settings .status{margin:1rem 0 0;min-height:1.3rem;font-size:.9rem}#settings .status.ok{color:var(--ok)}#settings .status.err{color:var(--bad)}#settings .set-row.set-row-stack .bg-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,18rem);grid-gap:1rem;gap:1rem;align-items:start}#settings .bg-options{display:grid;grid-gap:.4rem;gap:.4rem}#settings .bg-option{display:grid;grid-gap:.15rem;gap:.15rem;text-align:left;padding:.6rem .8rem;border:1px solid var(--line);border-radius:12px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}#settings .bg-option:hover{background:rgba(255,255,255,.03)}#settings .bg-option[aria-checked=true]{border-color:var(--coral);background:rgba(234,87,70,.08)}#settings .bg-option:focus-visible{outline:2px solid rgba(100,181,255,.8);outline-offset:2px}#settings .bg-option-name{font-size:.9rem;font-weight:600}#settings .bg-option-desc{color:var(--muted);font-size:.8rem;line-height:1.45}#settings .bg-preview{position:-webkit-sticky;position:sticky;top:5rem;aspect-ratio:16/10;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--bg);isolation:isolate}#settings .bg-preview-host{position:absolute;inset:0;overflow:hidden}#settings .bg-preview-note{position:absolute;inset:0;display:grid;place-items:center;padding:0 1rem;text-align:center;color:var(--muted);font-size:.8rem;pointer-events:none}@media (max-width:640px){#settings .set-row.set-row-stack .bg-picker{grid-template-columns:minmax(0,1fr)}#settings .bg-preview{order:-1;position:static}}