@font-face { font-family:Manrope; src:url(manrope.ttf); font-weight:200 800; font-display:swap; }
@font-face { font-family:"JetBrains Mono"; src:url(jetbrainsmono.ttf); font-weight:100 800; font-display:swap; }
#manager-bar { display:grid; gap:7px; max-width:1180px; margin:0 auto; }
#trade-context { display:grid; gap:7px; animation:rise .22s cubic-bezier(.2,.8,.2,1) both; }
.trade-brand { display:inline-flex; align-items:center; gap:9px; }
.trade-brand img { width:40px; height:40px; flex:none; }
.trade-wordmark { display:grid; color:var(--ink); line-height:1; }
.trade-wordmark strong { font:800 19px/1 var(--disp); letter-spacing:-.035em; }
.trade-wordmark b { margin-top:3px; font:800 9px/1 var(--body); letter-spacing:.32em; color:var(--acct); }
.trade-access { width:min(100%,420px); margin: min(14vh,110px) auto 0; padding:22px; }
.trade-access .btn { color:var(--onacc); }
.trade-freshness { padding:9px 13px; color:var(--mut); font-size:12px; }
@media (max-width:899px) {
  .mbrand-inline .trade-brand img { width:32px; height:32px; }
  .mbrand-inline .trade-wordmark strong { font-size:16px; }
}
@media (min-width:900px) { #manager-bar.trade-context-free { display:none; } }
@media (prefers-reduced-motion:reduce) { #trade-context { animation:none; } }
#manager-bar .mscope { display:grid; position:relative; isolation:isolate; grid-template-columns:repeat(var(--segments),minmax(0,1fr)); width:min(100%,635px); max-width:none; gap:0; }
#manager-bar .mscope-games { width:min(100%,430px); }
#manager-bar .mscope button { display:flex; align-items:center; justify-content:center; gap:7px; transition:color .22s; position:relative; z-index:1; padding-inline:4px; line-height:1.14; }
#manager-bar .mscope button[aria-pressed=true] { color:var(--ink); background:none; box-shadow:none; }
.selection-marker { position:absolute; z-index:0; left:4px; top:4px; bottom:4px; width:calc((100% - 8px)/var(--segments)); border-radius:9px; background:var(--segon);
  box-shadow:inset 0 -2px 0 var(--acc), var(--shadow); transform:translateX(calc(var(--selected)*100%)); transition:transform .29s cubic-bezier(.22,.8,.2,1); pointer-events:none; }
.brand-mark { display:inline-block; width:20px; height:20px; border-radius:4px; object-fit:contain; flex:none; vertical-align:middle; }
.brand-fp { width:32px; background:#fff; padding:2px; }
.mscope svg { stroke:currentColor; flex:none; }
.morder-meta .brand-mark { width:15px; height:15px; margin-right:4px; }
.morder-meta .brand-fp { width:24px; }
.pseg:not(.dhero .pseg) { background:var(--chip); border:1px solid var(--ln); }
.pseg:not(.dhero .pseg) button { color:var(--mut); opacity:1; }
.pseg:not(.dhero .pseg) button[aria-pressed=true] { color:var(--ink); background:var(--segon); }
.mtools, .msection, .mfilters { display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.msection h2 { margin:0; font-size:17px; letter-spacing:-.02em; }
.msection .m { font-size:13px; color:var(--mut); }
.mfilters { justify-content:flex-start; }
.mfilters .msearch { flex:1 1 230px; }
.mfield { min-height:40px; max-width:100%; border:1px solid var(--ln); background:var(--sf); color:var(--ink); padding:8px 11px; border-radius:11px; font:600 13px var(--body); }
.mfield:focus-visible, button:focus-visible { outline:2px solid var(--acc); outline-offset:2px; }
.mpanels { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.mpanels .v { font-size:22px; }
.mpanels h4 { justify-content:flex-start; gap:6px; }
.mpanels h4 > :last-child { margin-left:auto; }
.mattention { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:8px; }
.mattention .dcard { padding-block:10px; }
.mattention strong > span { color:var(--acc); padding-left:6px; }
.mstock-summary { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; }
.mstock-summary .meta { display:block; }
.mstock-summary .acc { font-size:13px; text-align:right; }
.mstock-summary .mmetrics { flex:1; }
.dhead .acts .btn { width:auto; min-height:40px; padding:7px 12px; font-size:13px; }
.mtools > .pseg { width:min(100%,560px); }
.morder .art, .mproduct .art { width:54px; height:42px; flex:none; }
.art .ph svg, .li > svg { display:block; stroke:currentColor; color:var(--mut); flex:none; }
.morder .mtext, .mproduct .mtext { min-width:0; flex:1; overflow-wrap:anywhere; }
.morder .mprice, .mproduct .mprice { flex:none; font-weight:800; white-space:nowrap; }
.mtext .meta, .msection .meta { display:block; }
.mgroup { margin:0; padding:10px 14px; background:var(--tile); color:var(--mut); font-size:12px; font-weight:800; }
.mlist { background:var(--sf); border:1px solid var(--ln); border-radius:16px; overflow:hidden; }
.mlist > button:hover { background:var(--tile); }
.mmetrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mmetrics div, .mstats div { min-width:0; display:grid; gap:3px; }
.mmetrics small, .mstats small { color:var(--mut); }
.mmetrics b, .mstats b { font-variant-numeric:tabular-nums; }
.mfootnote { font-size:12px; color:var(--mut); margin:0; }
.mdual { display:grid; grid-template-columns:1.4fr 1fr; gap:14px; }
.mchart { height:150px; display:flex; gap:8px; justify-content:space-around; align-items:stretch; padding-top:8px; }
.mcolumn { flex:1; max-width:52px; display:grid; grid-template-rows:1fr 22px auto; text-align:center; font-size:11px; color:var(--mut); min-width:0; }
.mcolumn .mbars { display:flex; gap:3px; align-items:end; width:100%; border-bottom:1px solid var(--ln); }
.mcolumn .mnegative { align-items:start; border:0; }
.mcolumn .mnegative i { border-radius:0 0 4px 4px; background:var(--red); }
.mcolumn i { flex:1; background:var(--acc); border-radius:4px 4px 0 0; }
.mcolumn i + i { background:var(--pos); }
.mlegend { display:flex; gap:14px; color:var(--mut); font-size:12px; }
.mlegend i { display:inline-block; width:8px; height:8px; background:var(--acc); border-radius:2px; margin-right:4px; }
.mlegend span + span i { background:var(--pos); }
.mseries { display:grid; gap:8px; }
.mseries > div { display:flex; justify-content:space-between; gap:12px; align-items:center; border-bottom:1px solid var(--ln); padding:6px 0; font-size:13px; }
.mseries > div:last-child { border:0; }
.mseries b { text-align:right; }
.msettings { display:grid; gap:10px; }
.settings-group { display:grid; gap:8px; }
.settings-group .msettings { display:block; padding-inline:14px; }
.settings-group .msettings > .seg { margin-top:10px; }
.msettings .set-row > :first-child { min-width:0; }
.msettings .set-row > label > .meta { display:block; }
.msettings .set-row .mfield { width:min(205px,45%); }
.msettings .msetting-link { justify-content:space-between; padding-inline:0; cursor:pointer; }
.msettings-tabs > .seg { width:min(100%,700px); }
.mtheme { grid-template-columns:repeat(3,minmax(0,1fr)); width:min(100%,500px); }
.m-demo-toggle { display:flex; align-items:center; gap:8px; font-size:13px; }
.mwarehouse-cta { width:100%; min-height:48px; border-radius:14px; padding:10px 16px; gap:9px; color:#1a0d04;
  background:linear-gradient(120deg,#ff6a1a 0%,#ff8a3d 55%,#ffb35c 100%);
  transition:transform .18s ease, filter .18s ease; }
.mwarehouse-cta:hover { filter:brightness(1.06); }
.mwarehouse-cta:active { transform:scale(.985); filter:brightness(.95); }
.mwarehouse-cta svg { flex:none; }
.mtrade-timer { color:var(--mut); }
.mtrade-timer strong { display:inline-flex; align-items:center; gap:5px; color:var(--ink); }
.mtrade-timer svg { flex:none; }
.mtrade-timer[data-trade-state="active"] .mtrade-clock { color:var(--amb); }
.mtrade-timer[data-trade-state="ended"] .mtrade-clock { color:var(--pos); }
.mtrade-clock { font-family:var(--mono); font-variant-numeric:tabular-nums; font-weight:700; }
.mtrade-compact { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 7px; margin-top:4px; font-size:11px; }
.mtrade-compact strong { align-self:center; }
.mtrade-detail { display:grid; gap:5px; margin-top:12px; padding:10px 12px; border:1px solid var(--ln);
  border-radius:12px; background:var(--tile); font-size:13px; }
.mtrade-detail .mtrade-clock { font-size:15px; }
.mtrade-detail time { font-size:12px; }
@media (prefers-reduced-motion:reduce) { .mwarehouse-cta:active { transform:none; } }
.mpublication-category { padding:6px 0; }
.minset { min-width:0; }
.minset summary { cursor:pointer; padding:6px 0; }
.mprice small { display:block; text-align:right; color:var(--pos); }
.msettings .li { cursor:default; }
.msettings .li > label { flex:1; min-width:0; }
.msettings input[type=number] { width:100px; }
.mform { display:grid; gap:12px; margin:0; }
.mform label { display:grid; gap:5px; color:var(--mut); font-size:13px; }
.mform .btn { width:auto; justify-self:start; }
.preview-dialog { max-height:85dvh; overflow:auto; width:min(550px,calc(100vw - 24px)); color:var(--ink); }
.preview-dialog h2 { margin:0 0 10px; padding-inline-end:38px; font-size:20px; overflow-wrap:anywhere; }
.preview-dialog .mclose { position:absolute; inset:12px 12px auto auto; min-height:38px; min-width:38px; }
.preview-dialog .art { height:92px; width:125px; margin-bottom:10px; }
.preview-dialog > .seg, .preview-dialog .mform, .preview-dialog .mseries { margin-top:12px; }
.preview-dialog[open] { animation:rise .22s cubic-bezier(.2,.8,.2,1) both; }
.mpreview { font-size:12px; color:var(--mut); }
.mstatus { display:flex; flex-wrap:wrap; gap:7px; margin:3px 0; }
.mempty { display:grid; gap:9px; justify-items:start; padding:24px; }
.mempty p { margin:0; color:var(--mut); }
.mcenter { text-align:center; }
.mbrand-inline { display:none; }
@media (max-width:899px) {
  .mbrand-inline { display:flex; justify-content:space-between; align-items:center; gap:5px; min-height:24px; }
  .mbrand-inline .mpreview { font-size:11px; }
  .mbrand-inline strong { font-weight:800; }
  .mpanels { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .mpanels .dcard { padding:12px; }
  .mpanels .v { font-size:19px; }
  .mdual { grid-template-columns:1fr; }
  .mtools { gap:8px; }
  #manager-bar .mscope { width:100%; }
  #manager-bar .mscope button { min-width:0; padding:6px 2px; font-size:11px; min-height:39px; }
  .mscope .brand-mark { width:16px; height:16px; }
  .mscope .brand-fp { width:22px; }
  #manager-bar #scope-platform button { flex-direction:column; gap:4px; }
  #manager-bar .mscope-games { width:min(100%,520px); }
  #manager-bar .mscope-games button { min-height:34px; gap:4px; }
  .tabs { grid-template-columns:repeat(6,minmax(0,1fr)); padding-inline:3px; gap:0; }
  .tabs .tab { min-height:50px; font-size:11px; padding-inline:0; min-width:0; }
  .pseg { display:flex; flex-wrap:wrap; }
  .pseg button { flex:1 0 auto; }
  .pseg button { font-size:11.5px; padding:8px 2px; }
  .mtools .pseg { flex:1; }
  .mwarehouse .seg { width:100%; grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .msettings-tabs .seg { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  .msettings .li { flex-wrap:wrap; }
  .morder { display:grid; grid-template-columns:auto minmax(0,1fr) auto; }
  .morder > .mprice { grid-area:1/3; }
  .morder > .mstatus { grid-column:2/-1; justify-self:start; }
  .mstock-summary { align-items:flex-start; }
  .mchart { gap:3px; }
  .mcolumn { font-size:9px; }
  .mcolumn:nth-last-child(n+8):nth-child(even) > span { visibility:hidden; }
  .mmetrics { overflow-wrap:anywhere; }
}
@media (max-width:410px) {
  .preview-dialog .mmetrics small { font-size:12px; }
  .morder .art, .mproduct .art { width:35px; height:34px; }
  .morder, .mproduct { gap:7px; padding:10px; }
  .morder .mprice, .mproduct .mprice { font-size:12px; }
  .morder .mtext, .mproduct .mtext { font-size:13px; }
  .dhero .nums { gap:8px; }
  .dhero .nums small { font-size:10px; letter-spacing:.045em; }
  .dhero .nums b { font-size:clamp(13px,4.2vw,17px); }
  .dhero .nums .big b { font-size:clamp(27px,9vw,38px); }
}
