.settings-page { max-width:920px;margin:0 auto;padding-bottom:40px; }
.settings-heading { margin:6px 0 30px; }
.settings-heading h1 { margin:8px 0 10px; }
.settings-heading p,.settings-description,.settings-note { color:var(--muted,#999);font-size:14px;line-height:1.55; }
.settings-card { padding:26px 30px;margin-bottom:20px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:linear-gradient(140deg,rgba(255,255,255,.065),rgba(255,255,255,.018));box-shadow:0 12px 38px rgba(0,0,0,.12); }
.settings-card h2 { margin:0 0 8px;font-size:21px;letter-spacing:-.5px; }
.setting-row { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.065); }
.setting-row:last-child { border-bottom:0;padding-bottom:0; }
.setting-row label:first-child { flex:1; }
.setting-row b,.cursor-hotspot b { display:block;font-size:15px;font-weight:600; }
.setting-row small { display:block;margin-top:6px;color:var(--muted,#999);font-size:13px;line-height:1.5;max-width:430px; }
.setting-row .switch { flex:none; }
.pref-select { min-width:240px;max-width:300px;color-scheme:dark;cursor:pointer; }
.pref-select option { background:#202020;color:#eee; }
.cursor-tools { display:flex;gap:12px;margin:20px 0 8px;flex-wrap:wrap; }
.cursor-upload { cursor:pointer; }
.cursor-size { width:200px; }
.cursor-hotspot { display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 0; }
.cursor-hotspot input { width:58px;padding:7px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;color:#fff;font:inherit; }
.cursor-hotspot label { font-size:13px;color:#aaa; }
.cursor-preview { position:relative;flex:none;width:128px;height:128px;padding:0;border:1px solid #ffffff20;border-radius:14px;overflow:hidden;background:repeating-conic-gradient(#242424 0% 25%,#333 0% 50%) 0 0 / 16px 16px;cursor:crosshair; }
.cursor-preview img { width:100%;height:100%;object-fit:contain;pointer-events:none; }
.cursor-preview i { position:absolute;transform:translate(-50%,-50%);width:16px;height:16px;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000;pointer-events:none; }
.cursor-preview i::before,.cursor-preview i::after { content:"";position:absolute;background:#fff;box-shadow:0 0 2px #000; }
.cursor-preview i::before { width:22px;height:1px;left:-4px;top:7px; }
.cursor-preview i::after { height:22px;width:1px;left:7px;top:-4px; }
.cursor-test { display:flex;align-items:center;gap:14px;padding:18px;border:1px dashed #ffffff20;border-radius:16px;background:#ffffff03; }
.cursor-test span { font-size:13px;color:#999;margin-right:auto; }
.cursor-test input { width:180px; }
.settings-saved { text-align:center;font-size:12px; }
.custom-cursor:not(.motion-cursor-active) { cursor:var(--user-cursor),auto; }
.custom-cursor:not(.motion-cursor-active) :is(a,button,label,input,textarea,select,[data-act],[data-go],[data-artist],[data-album],[data-pl],.row,.card,.switch,.range,.cursor-upload) { cursor:var(--user-cursor),pointer !important; }
.custom-cursor:not(.motion-cursor-active) :is(input:not([type=range]):not([type=checkbox]),textarea) { cursor:var(--user-cursor),text !important; }
.custom-cursor:not(.motion-cursor-active) :disabled { cursor:not-allowed !important; }
.custom-cursor:not(.motion-cursor-active) #prefCursorPreview { cursor:crosshair !important; }
#motionCursor { position:fixed;left:0;top:0;z-index:2147483647;pointer-events:none !important;user-select:none;object-fit:contain;max-width:none;max-height:none;will-change:transform,filter; }
#motionCursor[hidden] { display:none; }
.motion-cursor-active,.motion-cursor-active * { cursor:none !important; }
/* Short-lived blur: only the moving element is filtered, never the entire app. */
.smooth-blur :is(.btn,.icon-btn,.chip,.play-btn,.top-me) { transition:transform 420ms var(--motion-spring),filter 340ms var(--motion-ease),color 260ms var(--motion-ease),background-color 260ms var(--motion-ease),box-shadow 320ms var(--motion-ease); }
.smooth-blur :is(.btn,.icon-btn,.chip,.play-btn,.top-me):active { filter:blur(.8px);transition-duration:100ms; }
.smooth-blur .menu:not(.motion-managed),.smooth-blur .toast:not(.motion-managed),.smooth-blur .auth-card { animation-name:blurSurfaceIn; }
@keyframes blurSurfaceIn { from { opacity:0;transform:translateY(14px) scale(.97);filter:blur(7px); } to { opacity:1;transform:translateY(0) scale(1);filter:blur(0); } }
@media(max-width:1000px) {
  .settings-card { padding:22px; }
  .pref-select { min-width:180px;max-width:240px; }
  .cursor-test { flex-wrap:wrap; }
}
@media(max-width:700px) {
  .setting-row { flex-wrap:wrap;gap:14px; }
  .setting-row:has(select) { flex-direction:column;align-items:stretch; }
  .pref-select { max-width:none;width:100%; }
  .cursor-hotspot { gap:12px; }
  .cursor-test input { flex:1;min-width:100px; }
}
@media(prefers-reduced-motion:reduce) {
  .smooth-blur :is(.btn,.icon-btn,.chip,.play-btn,.top-me):active { filter:none; }
}
