/* SWÉ premium player preferences — responsive, retains application theme. */
#swePlayerPreferencesTab52{padding:clamp(18px,3vw,36px)!important;background:linear-gradient(150deg,#f8fbff,#eef6ff)!important;border:1px solid #c9dcfb!important;border-radius:22px!important;color:#112849!important}
#swePlayerPreferencesTab52 .swe-profile-preferences{display:flex;flex-direction:column;gap:16px;max-width:100%;font-family:inherit}
#swePlayerPreferencesTab52 .swe-pref-heading{display:flex;align-items:center;gap:18px;margin-bottom:6px}
#swePlayerPreferencesTab52 .swe-pref-badge{display:grid;place-items:center;width:68px;height:68px;flex:0 0 68px;border-radius:20px;background:#e0f1ff;font-size:32px}
#swePlayerPreferencesTab52 h2{font-size:clamp(24px,3vw,34px);margin:0;color:#102647}
#swePlayerPreferencesTab52 h3{font-size:19px;margin:0 0 8px;color:#102647}
#swePlayerPreferencesTab52 p{margin:4px 0 14px;line-height:1.5;color:#526784}
#swePlayerPreferencesTab52 .swe-pref-panel,#swePlayerPreferencesTab52 .swe-profile-theme-choices{border:1px solid #dfebf8;border-radius:16px;background:#fff;padding:clamp(16px,2.5vw,24px);box-shadow:0 5px 16px rgba(25,69,127,.035)}
#swePlayerPreferencesTab52 .swe-pref-setting{display:flex;align-items:center;gap:16px;min-height:72px;padding:14px 0}
#swePlayerPreferencesTab52 label.swe-pref-setting+label.swe-pref-setting{border-top:1px solid #e8eef5}
#swePlayerPreferencesTab52 .swe-pref-setting input[type=checkbox]{appearance:none;-webkit-appearance:none;width:52px;height:30px;border-radius:18px;background:#c6ced7;position:relative;cursor:pointer;flex:0 0 52px;transition:background .2s}
#swePlayerPreferencesTab52 .swe-pref-setting input[type=checkbox]::before{content:"";position:absolute;top:3px;left:3px;background:white;width:24px;height:24px;border-radius:50%;box-shadow:0 1px 4px #6675;transition:transform .2s}
#swePlayerPreferencesTab52 .swe-pref-setting input[type=checkbox]:checked{background:#1374ed}
#swePlayerPreferencesTab52 .swe-pref-setting input[type=checkbox]:checked::before{transform:translateX(22px)}
#swePlayerPreferencesTab52 .swe-pref-setting input:focus-visible,#swePlayerPreferencesTab52 button:focus-visible{outline:3px solid #58a4ff;outline-offset:3px}
#swePlayerPreferencesTab52 .swe-pref-setting strong{display:block;color:#152b4b;font-size:15px}
#swePlayerPreferencesTab52 .swe-pref-setting small{display:block;color:#647794;margin-top:5px;font-size:13px}
#swePlayerPreferencesTab52 .swe-profile-theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;min-width:0}
#swePlayerPreferencesTab52 .swe-profile-theme-choices legend{font-weight:800;color:#162c4c;font-size:19px;padding:0 8px}
#swePlayerPreferencesTab52 .swe-profile-theme-choices label{display:flex;gap:12px;align-items:center;padding:18px;border:1px solid #d6e1ef;border-radius:12px;background:#fcfdff;cursor:pointer}
#swePlayerPreferencesTab52 .swe-profile-theme-choices label:has(input:checked){border-color:#1878ff;background:#eaf3ff;box-shadow:inset 0 0 0 1px #1878ff}
#swePlayerPreferencesTab52 .swe-profile-theme-choices input{accent-color:#0877f5;width:19px;height:19px}
#swePlayerPreferencesTab52 .swe-profile-theme-choices strong,#swePlayerPreferencesTab52 .swe-profile-theme-choices small{display:block}
#swePlayerPreferencesTab52 .swe-profile-theme-choices small{font-size:12px;color:#647794;margin-top:3px}
#swePlayerPreferencesTab52 #sweProfilePrefsSave52{width:100%;min-height:52px;border:0;border-radius:11px;background:linear-gradient(100deg,#2465ee,#03bfd4);color:#fff;font-weight:800;font-size:15px;box-shadow:0 8px 16px #0b99c52c}
#swePlayerPreferencesTab52 .swe-pref-push-button{margin-left:auto;background:#e8f2ff;border:1px solid #93bef9;border-radius:10px;padding:11px 15px;color:#1155b3;font-weight:700;cursor:pointer}
#swePlayerPreferencesTab52 .swe-pref-push-button:disabled{opacity:.75;cursor:default}
#swePlayerPreferencesTab52 .swe-pref-push-status{color:#233d61;line-height:1.4}
[data-swe-theme=dark] #swePlayerPreferencesTab52{background:#10253d!important;color:#e6f2ff!important;border-color:#305474!important}
[data-swe-theme=dark] #swePlayerPreferencesTab52 .swe-pref-panel,[data-swe-theme=dark] #swePlayerPreferencesTab52 .swe-profile-theme-choices{background:#162c45;border-color:#385774}
[data-swe-theme=dark] #swePlayerPreferencesTab52 h2,[data-swe-theme=dark] #swePlayerPreferencesTab52 h3,[data-swe-theme=dark] #swePlayerPreferencesTab52 .swe-pref-setting strong{color:#f1f7ff}
[data-swe-theme=dark] #swePlayerPreferencesTab52 .swe-pref-setting small,[data-swe-theme=dark] #swePlayerPreferencesTab52 p{color:#bacbe0}
@media(max-width:700px){#swePlayerPreferencesTab52 .swe-profile-theme-choices{grid-template-columns:1fr}#swePlayerPreferencesTab52 .swe-pref-setting{flex-wrap:wrap}#swePlayerPreferencesTab52 .swe-pref-push-button{margin-left:0;width:100%}#swePlayerPreferencesTab52 .swe-pref-badge{width:52px;height:52px;flex-basis:52px} }

/* Keep preference controls clickable despite legacy global checkbox styles. */
#swePlayerPreferencesTab52 label.swe-pref-setting{cursor:pointer!important;pointer-events:auto!important}
#swePlayerPreferencesTab52 label.swe-pref-setting input[type="checkbox"]{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;appearance:none!important;-webkit-appearance:none!important;width:52px!important;min-width:52px!important;height:30px!important;margin:0!important;border:0!important;border-radius:20px!important;background:#c6ced7!important;position:relative!important;z-index:1!important;cursor:pointer!important}
#swePlayerPreferencesTab52 label.swe-pref-setting input[type="checkbox"]:checked{background:#1374ed!important}
#swePlayerPreferencesTab52 label.swe-pref-setting input[type="checkbox"]::before{display:block!important;content:""!important;position:absolute!important;top:3px!important;left:3px!important;width:24px!important;height:24px!important;background:#fff!important;border-radius:50%!important;transform:translateX(0)!important}
#swePlayerPreferencesTab52 label.swe-pref-setting input[type="checkbox"]:checked::before{transform:translateX(22px)!important}
