/* NOBK Online profile settings, second layout (settings2.js). [settings2] */
body.s2 { --s2-line: #2b2b2e; --s2-panel: #16161a; --s2-panel2: #1e1e22; }
.s2-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 18px; }
.s2-nav { flex: 1 1 200px; max-width: 250px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 12px; }
.s2-nav button { text-align: left; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 0; background: none; color: var(--muted, #9aa3b2); font: 600 14.5px/1.3 inherit; cursor: pointer; }
.s2-nav button:hover { color: var(--text, #fff); background: var(--s2-panel); }
.s2-nav button.on { color: #fff; background: var(--s2-panel2); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent, #e11d2e); }
.s2-nav button.danger { color: #ff8a94; margin-top: 10px; }
.s2-nav button:focus-visible { outline: 2px solid var(--accent, #e11d2e); outline-offset: 1px; }
.s2-body { flex: 999 1 520px; min-width: 0; }
body.s2 .acbox { margin: 0; padding: 24px 26px; border-radius: 16px; background: var(--s2-panel); border: 1px solid var(--s2-line); overflow: visible; }
body.s2 .acbox.s2-off { display: none; }
body.s2 .acbox > h2 { font-size: 26px; margin-bottom: 14px; }
body.s2 .acbox h3 { margin: 22px 0 4px; font-size: 16px; font-weight: 700; }
body.s2 .acbox label { display: block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #9aa3b2); }
body.s2 .acbox input:not([type=checkbox]):not([type=file]):not([type=radio]), body.s2 .acbox select, body.s2 .acbox textarea {
  width: 100%; box-sizing: border-box; min-height: 44px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid #34343a; background: #0f0f10; color: var(--text, #fff);
  font: 400 15px/1.4 Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; transition: border-color .15s; }
body.s2 .acbox input:focus, body.s2 .acbox select:focus, body.s2 .acbox textarea:focus { outline: none; border-color: var(--accent, #e11d2e); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #e11d2e) 22%, transparent); }
body.s2 .acbox .btn { min-height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; font-weight: 700; }
body.s2 .acbox .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding: 14px 16px; border-radius: 12px; background: #0f0f10; }
body.s2 .acbox .kv dt { color: var(--muted, #9aa3b2); font-size: 13px; } body.s2 .acbox .kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
body.s2 .danger-box { margin-top: 0; }

.s2-prev { position: relative; border-radius: var(--p2-r, 14px); border: 1px solid var(--s2-line); border-top: 3px solid var(--p2-acc, #ffc44a); overflow: hidden;
  background: var(--p2-banner, none), var(--p2-bgimg, none), #0f0f10; }
.s2-prev > span { position: absolute; right: 12px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #9aa3b2); }
.s2-card { display: flex; gap: 16px; align-items: center; padding: 20px; }
.s2-av { flex: none; width: 72px; height: 72px; border-radius: var(--p2-r, 14px); background: #2a2a30; display: grid; place-items: center; font: 800 32px/1 "Barlow Condensed", sans-serif; box-shadow: 0 0 0 3px #0f0f10, 0 0 0 5px var(--p2-acc, #ffc44a); }
.s2-card b { display: block; font: 800 32px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.s2-card small { display: block; min-height: 18px; margin-top: 4px; color: var(--muted, #9aa3b2); font-size: 13.5px; overflow-wrap: anywhere; }
.s2-bar { width: 180px; max-width: 100%; height: 8px; border-radius: 99px; background: #26262b; margin-top: 10px; overflow: hidden; } .s2-bar i { display: block; width: 62%; height: 100%; border-radius: 99px; background: var(--p2-acc, #ffc44a); }
.s2-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.s2-sw { width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 3px solid transparent; cursor: pointer; color: var(--text, #fff); font: 600 13px inherit; background: #0f0f10; }
.s2-sw.on { border-color: #fff; }
.s2-sw:focus-visible, .s2-a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.s2-sw[data-set="banner"], .s2-sw[data-set="bg"] { width: 132px; height: auto; overflow: hidden; border-color: var(--s2-line); text-align: left; }
.s2-sw[data-set="banner"].on, .s2-sw[data-set="bg"].on { border-color: #fff; }
.s2-sw[data-set="banner"] i, .s2-sw[data-set="bg"] i { display: block; height: 46px; } .s2-sw[data-set="banner"] span, .s2-sw[data-set="bg"] span { display: block; padding: 7px 9px; }
.s2-sw[data-set="shape"] { width: auto; flex: 1 1 100px; border: 0; background: none; }
.s2-sw[data-set="shape"] span { display: grid; place-items: center; min-height: 44px; border: 2px solid #34343a; background: #0f0f10; }
.s2-sw[data-set="shape"].on span { border-color: #fff; }
.s2-sw.s2-none { width: auto; padding: 0 14px; border-color: var(--s2-line); } .s2-sw.s2-none.on { border-color: #fff; }
.s2-opt { display: inline !important; margin: 0 !important; text-transform: none; letter-spacing: 0; font-weight: 400; }
.teampick { position: relative; }
.s2-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted, #9aa3b2); font-size: 20px; line-height: 1; cursor: pointer; }
.s2-clear:hover, .s2-clear:focus-visible { background: #26262b; color: #fff; outline: 0; }
.teampick input[name="team"] { padding-right: 46px; }
.s2-favprev { width: 64px; height: 54px; flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.s2-favprev.s2-mkfav img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: radial-gradient(circle at 50% 30%, #4a1512, #140808); box-shadow: 0 0 0 2px #a8431f; }
.s2-favprev.s2-blurcar img { width: 84px; height: 84px; max-width: none; object-fit: contain; }
/* favourite MK fighter: round portraits with the name under them */
.s2-mk { gap: 6px; max-height: 330px; overflow-y: auto; padding: 4px; }
.s2-mk .s2-sw { width: 84px; height: auto; padding: 6px 2px 5px; border-radius: 12px; border-width: 2px; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.s2-mk .s2-sw img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: radial-gradient(circle at 50% 30%, #4a1512, #140808); }
.s2-mk .s2-sw span { font-size: 11.5px; line-height: 1.2; font-weight: 600; text-align: center; }
.s2-mk .s2-sw.on { background: #1d1d21; }
.s2-mk .s2-sw.s2-none { justify-content: center; min-height: 86px; }
.s2-locked { opacity: .45; } .s2-locked button { cursor: not-allowed; }
.s2-toggles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 10px; }
body.s2 .acbox .s2-toggles label { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #0f0f10; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text, #fff); cursor: pointer; }
.s2-toggles input { width: 18px; height: 18px; accent-color: var(--accent, #e11d2e); }
.s2-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 10px; max-height: 330px; overflow: auto; padding: 2px; }
.s2-a { padding: 10px 6px; border-radius: 12px; border: 2px solid transparent; background: #0f0f10; color: var(--text, #fff); cursor: pointer; text-align: center; font: inherit; min-width: 0; }
.s2-a.on { border-color: var(--p2-acc, #ffc44a); background: color-mix(in srgb, var(--p2-acc, #ffc44a) 10%, #0f0f10); }
.s2-a img { width: 52px; height: 52px; border-radius: 10px; background: var(--s2-panel2); object-fit: cover; display: block; margin: 0 auto 6px; }
.s2-a b { display: block; font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; } .s2-a small { font-size: 11px; color: var(--muted, #9aa3b2); }
.s2-save { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--s2-line); }
@media (max-width: 760px) { .s2-nav { position: static; max-width: none; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .s2-nav button { white-space: nowrap; flex: none; } .s2-nav button.on { box-shadow: inset 0 -3px 0 var(--accent, #e11d2e); } .s2-nav button.danger { margin-top: 0; }
  body.s2 .acbox { padding: 18px 16px; } }
@media (prefers-reduced-motion: reduce) { body.s2 .acbox input, body.s2 .acbox select, body.s2 .acbox textarea { transition: none; } }
