/* My Nexus: tabs for music, notes, recipes, X, Smart Nexus, soundboard and betting.
   Same language as Settings / Football: hairlines, quiet fills, one accent, Plus Jakarta Sans. */
html:has(.my), body.mb:has(.my) { overflow-x: clip; }
body.mb:has(.my) { display: flex; flex-direction: column; min-height: 100vh; }
.mb .my {
  --g: #00ff9d; --c: #00d8ff; --txt: #f0f2f5; --mut: #8a8d9b; --dim: #5d6070; --ln: rgba(255,255,255,.08);
  --fill: rgba(10,11,16,.6); --ease: cubic-bezier(.16,1,.3,1); --dc: #5865f2;
  width: min(1480px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 56px; color: var(--txt);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}
.mb .my [hidden] { display: none !important; }
.mb .my .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mb .my svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mb .my svg.fill { fill: currentColor; stroke: none; }
.mb .my button, .mb .my input, .mb .my select, .mb .my textarea { font-family: inherit; }
.my-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50vh; color: var(--mut); }
.my-loading .spinner { width: 24px; height: 24px; border-top-color: var(--c); }

/* ---------- Hero ---------- */
.my-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 30px; }
.my-avatar { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--g), var(--c)); color: #05110c; font: 800 30px "Plus Jakarta Sans", sans-serif; box-shadow: 0 0 0 4px #04040a, 0 0 0 5px rgba(255,255,255,.12); }
.my-avatar img { width: 100%; height: 100%; object-fit: cover; }
.my-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--g); font-size: 11.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.my-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
.my-title { margin: 12px 0 10px; color: #fff; font: 800 clamp(2rem, 5vw, 3.2rem)/1.08 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.03em; }
.my-sub { max-width: 520px; margin: 0 0 18px; color: var(--mut); font-size: 15px; line-height: 1.6; }
.my-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.my-link { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border: 1px solid var(--ln); border-radius: 99px; background: var(--fill); color: var(--mut); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.my-link:hover { border-color: rgba(255,255,255,.2); color: #fff; }
.my-link svg { width: 14px; height: 14px; }
.my-link.on { color: #e6e8ee; }
.my-link.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); }
.my-link.off { color: #c9cbff; border-color: rgba(88,101,242,.35); }

/* ---------- Tabs ---------- */
.my-tabs-wrap { position: sticky; top: 10px; z-index: 20; display: flex; justify-content: center; margin: 0 0 26px; }
.my-tabs { position: relative; display: flex; gap: 2px; max-width: 100%; padding: 5px; overflow-x: auto; border: 1px solid var(--ln); border-radius: 16px; background: rgba(8,9,13,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.9); scrollbar-width: none; scroll-behavior: smooth; }
.my-tabs::-webkit-scrollbar { display: none; }
.my-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 15px; border: 0; border-radius: 11px; background: none; color: var(--mut); font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .25s; -webkit-tap-highlight-color: transparent; }
.my-tabs button:hover { color: #fff; }
.my-tabs button[aria-selected="true"] { color: #fff; }
.my-tabs button svg { width: 16px; height: 16px; flex: none; }
.my-tabs button[aria-selected="true"] svg { color: var(--g); }
.my-tabs em { min-width: 18px; padding: 1px 6px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--mut); font-size: 11px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.my-tabs em:empty { display: none; }
.my-tabs button > span { display: block; }
.my-tabs small { display: none; }
.my-tabs-ind { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 11px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none; }
.my-tabs:not(.ready) .my-tabs-ind { transition: none; }

/* ---------- Panels ---------- */
.my-panel { padding: 26px 28px 30px; border: 1px solid var(--ln); border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 160px), rgba(11,12,18,.72); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.my-panel.in { animation: my-in .5s var(--ease); }
@keyframes my-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.my-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 20px; }
.my-head h2 { margin: 0 0 5px; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.my-head p { max-width: 520px; margin: 0; color: var(--mut); font-size: 13.5px; line-height: 1.55; }
.my-subhead { display: flex; align-items: center; gap: 9px; margin: 30px 0 12px; color: #d9dbe2; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.my-subhead small { color: var(--dim); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.my-foot { margin: 18px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.6; text-align: center; }
.my-foot b { color: var(--mut); font-weight: 600; }

/* Stats: divider strip like the Profit Tracker */
.my-stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0,1fr)); margin: 0 0 22px; padding: 16px 0; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.my-stats + .my-stats { margin-top: -22px; border-top: 0; }
.my-stat { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 2px 10px; text-align: center; }
.my-stat + .my-stat { box-shadow: inset 1px 0 0 var(--ln); }
.my-stat span { color: var(--mut); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.my-stat strong { max-width: 100%; margin-top: 7px; overflow: hidden; color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.my-stat strong.pos { color: var(--g); }
.my-stat strong.neg { color: #ff6b86; }
.my-stat small { max-width: 100%; margin-top: 4px; overflow: hidden; color: var(--dim); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Controls ---------- */
.my-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--ln); border-radius: 12px; background: rgba(255,255,255,.04); color: #e4e6eb; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.my-btn:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.my-btn:active { transform: translateY(1px); }
.my-btn svg { width: 16px; height: 16px; }
.my-btn.sm { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.my-btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--g), var(--c)); color: #05110c; font-weight: 700; }
.my-btn.primary:hover { color: #05110c; filter: brightness(1.06); }
.my-btn.discord { border-color: transparent; background: var(--dc); color: #fff; font-weight: 700; }
.my-btn.discord:hover { background: #6873ff; }
.my-btn.danger { border-color: rgba(255,77,109,.3); background: rgba(255,77,109,.08); color: #ff8098; }
.my-btn.danger:hover { background: rgba(255,77,109,.16); color: #fff; }
.my-btn:disabled { opacity: .5; cursor: default; }
.my-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--dim); cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.my-icon:hover { background: rgba(255,255,255,.06); color: #fff; }
.my-icon.del:hover { background: rgba(255,77,109,.1); color: #ff6b86; }
.my-icon svg { width: 16px; height: 16px; }

.my-seg { display: inline-flex; padding: 4px; border: 1px solid var(--ln); border-radius: 12px; background: var(--fill); }
.my-seg button, .my-seg label span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--mut); font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s; }
.my-seg label { display: flex; }
.my-seg label input { position: absolute; opacity: 0; pointer-events: none; }
.my-seg button:hover, .my-seg label span:hover { color: #fff; }
.my-seg button[aria-pressed="true"], .my-seg label input:checked + span { background: rgba(255,255,255,.08); color: #fff; }
.my-seg label input:focus-visible + span { outline: 2px solid var(--c); }
.my-seg.small button, .my-seg.small label span { min-height: 30px; padding: 0 12px; font-size: 12px; }

.my-tools { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.my-search { position: relative; flex: 1; min-width: 0; }
.my-search svg { position: absolute; top: 50%; left: 14px; width: 16px; height: 16px; color: var(--dim); transform: translateY(-50%); pointer-events: none; }
.my-search input, .my-add input, .my-compose textarea, .my-field input, .my-field textarea, .my-bday select {
  width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 12px; background: var(--fill); color: #fff; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.my-search input { padding-left: 40px; }
.my-search input:focus, .my-add input:focus, .my-compose textarea:focus, .my-field input:focus, .my-field textarea:focus, .my-bday select:focus { border-color: rgba(0,216,255,.45); box-shadow: 0 0 0 3px rgba(0,216,255,.08); }
.my ::placeholder { color: var(--dim); }

/* ---------- Lists ---------- */
.my-list { margin: 0; padding: 0; list-style: none; }
.my-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 11px 8px; border-radius: 12px; transition: background .2s; }
.my-item + .my-item { box-shadow: 0 -1px 0 rgba(255,255,255,.045); }
.my-item:hover { background: rgba(255,255,255,.025); }
.my-thumb { position: relative; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 11px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); color: var(--dim); }
.my-thumb svg { width: 18px; height: 18px; }
.my-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.my-copy { min-width: 0; }
.my-copy b, .my-copy a.t { display: block; overflow: hidden; color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.my-copy a.t:hover { color: var(--c); }
.my-copy small { display: block; margin-top: 3px; overflow: hidden; color: var(--mut); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.my-copy small i { color: var(--dim); font-style: normal; }
.my-acts { display: flex; align-items: center; gap: 2px; }
.my-empty { padding: 34px 16px; color: var(--mut); font-size: 13.5px; line-height: 1.6; text-align: center; }
.my-empty b { display: block; margin-bottom: 4px; color: #e6e8ee; font-size: 15px; }
.my-empty .my-btn { margin-top: 14px; }
.my-more { display: block; width: 100%; margin-top: 8px; padding: 11px; border: 1px dashed rgba(255,255,255,.1); border-radius: 12px; background: none; color: var(--mut); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s; }
.my-more:hover { border-color: rgba(255,255,255,.22); color: #fff; }

/* Notes */
.my-compose { margin: 0 0 18px; }
.my-compose textarea { display: block; min-height: 90px; padding: 13px 14px; line-height: 1.55; resize: vertical; }
.my-compose-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.my-list.notes .my-item { grid-template-columns: minmax(0,1fr) auto; align-items: start; padding: 14px 8px; }
.my-note p { margin: 0; color: #e8eaef; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.my-note small { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; }
.my-note small b { color: var(--mut); font-weight: 600; }

/* X saves */
.my-xi { --k: 0,216,255; }
.my-xi .my-thumb { color: rgb(var(--k)); background: rgba(var(--k), .08); box-shadow: inset 0 0 0 1px rgba(var(--k), .18); }
.my-xi[data-k="video"] { --k: 255,107,134; }
.my-xi[data-k="thread"] { --k: 167,139,250; }
.my-xi[data-k="ratio"], .my-xi[data-k="quote"] { --k: 251,191,36; }
.my-xi .kind { display: block; margin-bottom: 3px; color: rgb(var(--k)); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.my-xi .my-copy p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; color: var(--mut); font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.my-xi .my-copy small { margin-top: 6px; color: var(--dim); }
.my-xi .my-acts { gap: 6px; }

/* Rows that link somewhere */
.my-row-link { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 16px; padding: 13px 16px; border: 1px solid var(--ln); border-radius: 14px; background: var(--fill); color: #dfe1e7; font-size: 13.5px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.my-row-link:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.my-row-link svg { width: 18px; height: 18px; flex: none; color: var(--mut); }
.my-row-link span { flex: 1; }
.my-row-link .go { width: 16px; height: 16px; color: var(--dim); }
.my-table + .my-row-link, .my-table + div + .my-row-link { margin-top: 12px; }
#spBlock + .my-row-link { margin-top: 12px; }

/* Tables (playlists, soundboards) */
.my-table { border: 1px solid var(--ln); border-radius: 16px; overflow: hidden; background: rgba(8,9,13,.4); }
.my-tr { display: grid; grid-template-columns: 46px minmax(0,1fr) 110px auto; align-items: center; gap: 14px; padding: 10px 14px; color: inherit; text-decoration: none; transition: background .2s; }
.my-tr + .my-tr { border-top: 1px solid rgba(255,255,255,.05); }
a.my-tr:hover, .my-tr:hover { background: rgba(255,255,255,.03); }
.my-tr.head { padding-top: 10px; padding-bottom: 10px; background: rgba(255,255,255,.02); color: var(--dim); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.my-tr.head:hover { background: rgba(255,255,255,.02); }
.my-tr .when { color: var(--mut); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.my-tr .my-acts { justify-content: flex-end; gap: 6px; }
.my-table.boards .my-tr { grid-template-columns: 46px minmax(0,1fr) 90px 100px 110px 24px; }
.my-tr .num { color: #e6e8ee; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.my-tr .vis { display: inline-flex; align-items: center; gap: 7px; color: var(--mut); font-size: 12.5px; font-weight: 600; }
.my-tr .vis::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.my-tr .vis.on { color: #d8fbe9; }
.my-tr .vis.on::before { background: var(--g); box-shadow: 0 0 8px var(--g); }
.my-tr .go { width: 16px; height: 16px; color: var(--dim); transition: transform .2s, color .2s; }
a.my-tr:hover .go { color: #fff; transform: translateX(2px); }
.my-table .my-empty { padding: 30px 16px; }
.src { display: inline-flex; align-items: center; gap: 6px; }
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4e45; }
.src.spotify::before { background: #1ed760; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: #1ed760; }
.my-add { display: flex; gap: 10px; margin: 0 0 16px; }
.my-add input { flex: 1; min-width: 0; }

/* Recipes */
.my-recipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.my-recipe { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ln); border-radius: 16px; background: rgba(8,9,13,.5); color: inherit; text-decoration: none; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.my-recipe:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.9); }
.my-recipe .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(255,255,255,.03); }
.my-recipe .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.my-recipe:hover .img img { transform: scale(1.05); }
.my-recipe .img svg { position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; color: var(--dim); transform: translate(-50%, -50%); }
.my-recipe .txt { padding: 12px 14px 14px; }
.my-recipe b { display: -webkit-box; overflow: hidden; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.my-recipe small { display: block; margin-top: 5px; overflow: hidden; color: var(--mut); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.my-recipe .x { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(5,6,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #d5d7de; cursor: pointer; opacity: 0; transition: opacity .2s, color .2s, background .2s; }
.my-recipe:hover .x, .my-recipe .x:focus-visible { opacity: 1; }
.my-recipe .x:hover { background: rgba(255,77,109,.85); color: #fff; }
.my-recipe .x svg { width: 14px; height: 14px; }
.my-recipes .my-empty { grid-column: 1 / -1; }

/* ---------- Smart Nexus ---------- */
.my-preview { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 6px; padding: 16px 18px; border: 1px solid var(--ln); border-radius: 16px; background: rgba(8,9,13,.5); }
.my-preview img { flex: none; width: 40px; height: auto; margin-top: 2px; }
.my-preview b { color: #fff; font-size: 13px; }
.my-preview p { margin: 3px 0 0; color: #e3e5ea; font-size: 14.5px; line-height: 1.5; transition: opacity .2s; }
.my-preview p.swap { opacity: 0; }
.my-tones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.my-tones label { position: relative; display: block; cursor: pointer; }
.my-tones input { position: absolute; opacity: 0; pointer-events: none; }
.my-tones span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--ln); border-radius: 14px; background: rgba(8,9,13,.5); transition: border-color .2s, background .2s, box-shadow .2s; }
.my-tones span:hover { border-color: rgba(255,255,255,.18); }
.my-tones b { display: block; color: #fff; font-size: 14px; }
.my-tones small { display: block; margin-top: 3px; color: var(--mut); font-size: 12.5px; }
.my-tones input:checked + span { border-color: rgba(0,255,157,.5); background: rgba(0,255,157,.05); box-shadow: inset 0 0 0 1px rgba(0,255,157,.25); }
.my-tones input:focus-visible + span { outline: 2px solid var(--c); outline-offset: 2px; }
.my-rows { margin-top: 10px; }
.my-rowf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; border-top: 1px solid rgba(255,255,255,.05); }
.my-rowf:first-child { border-top: 0; }
.my-rowf > div:first-child { min-width: 0; }
.my-rowf b { display: block; color: #fff; font-size: 14px; }
.my-rowf span { display: block; margin-top: 2px; color: var(--mut); font-size: 12.5px; line-height: 1.5; }
.my-rowf .my-seg span { margin: 0; }
.my-sw { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.my-sw input { position: absolute; opacity: 0; }
.my-sw i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255,255,255,.1); transition: background .25s; }
.my-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.my-sw input:checked + i { background: linear-gradient(135deg, var(--g), var(--c)); }
.my-sw input:checked + i::after { transform: translateX(18px); }
.my-sw input:focus-visible + i { outline: 2px solid var(--c); outline-offset: 2px; }
.my-sw input:disabled + i { opacity: .4; }
.my-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.my-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.my-field.full { grid-column: 1 / -1; }
.my-field > span { color: #cfd1d8; font-size: 12.5px; font-weight: 600; }
.my-field textarea { min-height: 84px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
.my-bday { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.my-bday select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8d9b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 10px center; background-repeat: no-repeat; background-size: 15px; cursor: pointer; }
.my-bday option { background: #0b0c12; }
.my-savebar { position: relative; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 10px 10px 10px 18px; border: 1px solid var(--ln); border-radius: 16px; background: rgba(8,9,13,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--mut); font-size: 13px; font-weight: 600; transition: border-color .3s, box-shadow .3s; }
.my-savebar.dirty { position: sticky; border-color: rgba(0,255,157,.35); box-shadow: 0 16px 40px -20px rgba(0,255,157,.25); color: #e6e8ee; }
.my-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.my-chips em { padding: 4px 10px; border: 1px solid var(--ln); border-radius: 99px; color: #d5d7de; font-size: 12px; font-style: normal; }
.my-chips em.no { color: var(--mut); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }

/* Betting links */
.my-links-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.my-links-list a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ln); border-radius: 14px; background: rgba(8,9,13,.5); color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.my-links-list a:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.my-links-list a > svg:first-child { width: 18px; height: 18px; flex: none; color: var(--c); }
.my-links-list b { display: block; color: #fff; font-size: 14px; }
.my-links-list small { display: block; margin-top: 2px; color: var(--mut); font-size: 12px; }
.my-links-list span { flex: 1; min-width: 0; }
.my-links-list .go { width: 16px; height: 16px; color: var(--dim); }

/* Messages + undo toast */
.my-msg { margin: 16px 0 0; color: var(--g); font-size: 13.5px; font-weight: 600; text-align: center; }
.my-msg:empty { display: none; }
.my-msg.error { color: #ff6b86; }
.my-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1200; font-family: "Plus Jakarta Sans", Inter, sans-serif; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(12,13,19,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.6); color: #e6e8ee; font-size: 13.5px; font-weight: 600; transform: translateX(-50%); animation: my-toast .4s cubic-bezier(.16,1,.3,1); }
.my-toast[hidden] { display: none; }
.my-toast button { padding: 8px 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #00ff9d; font: 700 13px "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.my-toast button:hover { background: rgba(255,255,255,.14); }
@keyframes my-toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Footer (same as the account pages) */
.nxm-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; padding: 32px max(16px, calc((100% - 1568px) / 2)); border-top: 1px solid rgba(255,255,255,.05); background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-family: Inter, system-ui, sans-serif; }
.nxm-footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--mb-display); font-size: 18px; font-weight: 700; text-decoration: none; }
.nxm-footer-brand img { height: 28px; width: auto; }
.nxm-footer p { margin: 0; color: #6b7280; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.nxm-footer nav { display: flex; gap: 24px; }
.nxm-footer nav a { color: #9ca3af; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.nxm-footer nav a:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 860px) {
  .my-table.boards .my-tr { grid-template-columns: 46px minmax(0,1fr) 70px 24px; }
  .my-table.boards .my-tr .vis, .my-table.boards .my-tr .when { display: none; }
  .my-table.boards .my-tr.head .h-vis, .my-table.boards .my-tr.head .h-when { display: none; }
}

/* ---------- Wide screens: header bar + sidebar tabs ---------- */
@media (min-width: 1100px) {
  .my-hero { flex-direction: row; align-items: center; gap: 22px; margin: 0 0 28px; padding: 22px 26px; text-align: left; border: 1px solid var(--ln); border-radius: 24px;
    background: radial-gradient(600px 220px at 0% 0%, rgba(0,255,157,.09), transparent 70%), radial-gradient(500px 220px at 100% 100%, rgba(0,216,255,.08), transparent 70%), rgba(11,12,18,.72);
    box-shadow: 0 30px 70px -45px rgba(0,0,0,.9); }
  .my-avatar { width: 78px; height: 78px; margin: 0; font-size: 30px; }
  .my-hero-txt { flex: 1; min-width: 0; }
  .my-title { margin: 8px 0 4px; font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
  .my-sub { margin: 0; }
  .my-links { justify-content: flex-end; max-width: 46%; }

  .mb .mb-main.my { padding-top: 84px; }
  .my-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }
  .my-tabs-wrap { display: block; margin: 0; }
  .my-tabs { flex-direction: column; gap: 3px; padding: 8px; overflow: visible; border-radius: 22px; background: rgba(11,12,18,.78); }
  .my-tabs button { gap: 13px; width: 100%; min-height: 62px; padding: 0 14px 0 10px; border-radius: 15px; text-align: left; }
  .my-tabs button svg { box-sizing: content-box; width: 18px; height: 18px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); transition: background .25s, color .25s; }
  .my-tabs button[aria-selected="true"] svg { background: linear-gradient(135deg, rgba(0,255,157,.18), rgba(0,216,255,.14)); box-shadow: inset 0 0 0 1px rgba(0,255,157,.25); }
  .my-tabs button > span { flex: 1; min-width: 0; color: #dfe1e7; font-size: 14.5px; font-weight: 700; }
  .my-tabs button[aria-selected="true"] > span { color: #fff; }
  .my-tabs small { display: block; margin-top: 2px; overflow: hidden; color: var(--dim); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
  .my-tabs em { margin-left: auto; }
  .my-tabs-ind { top: 0; border-radius: 15px; background: rgba(255,255,255,.06); }
  .my-tabs-ind::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: -8px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--g), var(--c)); box-shadow: 0 0 12px rgba(0,255,157,.5); }
  .my-panel { min-height: 520px; padding: 30px 34px 34px; border-radius: 24px; }
  .my-head h2 { font-size: 24px; }
  .my-head p { max-width: 640px; font-size: 14px; }
  .my-recipes { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (min-width: 1100px) and (max-width: 1280px) {
  .my-shell { grid-template-columns: 236px minmax(0, 1fr); gap: 20px; }
  .my-tabs small { display: none; }
  .my-tabs button { min-height: 54px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .mb .my { width: calc(100% - 24px); }
  .my-links { justify-content: center; }
  .my-hero { padding-bottom: 22px; }
  .my-avatar { width: 64px; height: 64px; font-size: 26px; }
  .my-sub { font-size: 14px; }
  .my-tabs-wrap { top: 6px; margin: 0 -12px 18px; padding: 0 12px; }
  .my-tabs { border-radius: 14px; }
  .my-tabs button { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .my-panel { padding: 20px 16px 22px; border-radius: 18px; }
  .my-head { margin-bottom: 16px; }
  .my-head h2 { font-size: 19px; }
  .my-head > .my-seg, .my-head > .my-btn { width: 100%; }
  .my-head > .my-seg button { flex: 1; justify-content: center; }
  .my-stats { --n: 2 !important; row-gap: 14px; }
  .my-stat:nth-child(odd) { box-shadow: none; }
  .my-stats + .my-stats { margin-top: -22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.04); }
  .my-tools { flex-wrap: wrap; }
  .my-tools .my-seg { width: 100%; }
  .my-tools .my-seg button { flex: 1; justify-content: center; }
  .my-item { gap: 12px; padding: 10px 4px; }
  .my-thumb { width: 42px; height: 42px; }
  .my-xi { grid-template-columns: auto minmax(0,1fr); }
  .my-xi .my-acts { grid-column: 2; justify-content: flex-start; gap: 8px; margin-top: -2px; }
  .my-head > .my-seg button { padding: 0 6px; }
  .my-stats.three { --n: 3 !important; }
  .my-stats.three .my-stat:nth-child(odd) { box-shadow: none; }
  .my-stats.three .my-stat + .my-stat { box-shadow: inset 1px 0 0 var(--ln); }
  .my-stats.three .my-stat strong { font-size: 1.05rem; }
  .my-add { flex-direction: column; }
  .my-tr, .my-table.boards .my-tr { grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; padding: 10px 12px; }
  .my-tr.head { display: none; }
  .my-tr .when, .my-table.boards .my-tr .num { display: none; }
  .my-tr .my-btn.discord span { display: none; }
  .my-tr .my-btn.discord { width: 36px; padding: 0; }
  .my-recipes { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .my-recipe .x { opacity: 1; }
  .my-recipe .txt { padding: 10px 11px 12px; }
  .my-recipe b { font-size: 13px; }
  .my-tones { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .my-tones span { padding: 12px 13px; }
  .my-fields { grid-template-columns: 1fr; }
  .my-rowf { flex-wrap: wrap; }
  .my-rowf .my-seg { width: 100%; }
  .my-rowf .my-seg label { flex: 1; }
  .my-rowf .my-seg label span { justify-content: center; width: 100%; }
  .my-links-list { grid-template-columns: 1fr; }
  .nxm-footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .my-panel.in, .my-toast { animation: none; }
  .my-tabs-ind, .my-recipe, .my-recipe .img img { transition: none; }
}

/* Selling tab: listing cards from the Selling Assistant */
.my-sell .img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(37,99,235,.12)); }
.my-sell .img svg { width: 34px; height: 34px; color: #ddd6fe; }
