/* NP HUB — unified product layer */

.dock-pill,
.user-pill,
.chat-tile,
.gift-tile,
.mini-card,
.now-play,
.sup-nav,
.sup-main,
.eco-card,
.mk-panel,
.heat-card,
.lb-table,
.side-box,
.bp-hero,
.bp-node,
.bp-studio,
.lv-card,
.tu-card {
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tab.is-on {
  color: #06140f;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(3, 252, 182, 0.35);
}

.play-btn {
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(3, 252, 182, 0.28);
}

.dl-btn,
.hud-tools button,
.mk-tabs button,
.sup-submit,
.bp-node button,
.bp-form button,
.mk-panel button:not(.ghost) {
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--stroke-hi);
  background: rgba(3, 252, 182, 0.12);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hud-tools button.is-on,
.mk-tabs button.is-on,
.chip-btn.is-on,
.mk-panel button:not(.ghost),
.sup-submit,
.bp-node button,
.bp-form button {
  background: var(--accent);
  color: #06140f;
  border-color: transparent;
}

.hud-tools input,
.hud-tools select,
.mk-panel input,
.mk-panel select,
.chat-form input,
.eco-form input,
.bp-form input,
.bp-form select,
.sup-form input,
.sup-form textarea,
.sup-grant input {
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(6, 8, 12, 0.45);
  color: #fff;
}

.brand-type {
  font-size: 46px;
  letter-spacing: 0.02em;
}

.hero-copy {
  color: var(--mute);
}

.dash-trailer,
.dash-live {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dash-trailer:hover,
.dash-live:hover,
.mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-hi);
}

.chat-row.is-me .chat-bubble {
  background: rgba(3, 252, 182, 0.16);
  border: 1px solid rgba(3, 252, 182, 0.22);
}

.chat-row.is-them .chat-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
}

.chat-form button[type="submit"] {
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
  padding: 0 14px;
}

/* Leaderboard */
.hud-top {
  border-bottom: 0;
  padding: 4px 2px 10px;
}

.hud-top h2 {
  font-size: 34px;
  letter-spacing: 0;
}

.lb-split {
  grid-template-columns: 260px minmax(0, 1fr) 210px;
  gap: 14px;
}

.heat-card {
  clip-path: none;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(3, 252, 182, 0.12), transparent 50%),
    var(--glass);
}

.heat-card:nth-child(1) { border-color: rgba(255, 210, 90, 0.45); }
.heat-card:nth-child(2) { border-color: rgba(200, 210, 220, 0.35); }
.heat-card:nth-child(3) { border-color: rgba(205, 127, 50, 0.4); }

.lb-table {
  border-radius: 22px;
  overflow: auto;
}

.lb-line {
  grid-template-columns: 52px 40px minmax(0, 1fr) 90px 72px 36px;
  padding: 10px 14px;
}

.lb-line button {
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: #fff;
  font-size: 11px;
}

.side-box {
  border-radius: 18px;
  padding: 14px;
}

/* Marketplace storefront */
.mk-store {
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 4px;
  overflow: auto;
  min-height: 0;
}

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  min-height: 230px;
}

.shop-card img,
.shop-card .ph {
  width: 100%;
  height: 110px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(3, 252, 182, 0.16), rgba(255, 255, 255, 0.04));
}

.shop-card .sku {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.shop-card b { font-size: 14px; }
.shop-card small { color: var(--mute); font-size: 12px; }
.shop-card .price {
  margin-top: auto;
  font-family: var(--font-brand);
  font-size: 22px;
  color: #fff;
}

.shop-card .row {
  display: flex;
  gap: 6px;
}

.shop-card button {
  flex: 1;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
}

.shop-card button.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: #fff;
}

.mk-body {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 14px;
}

.mk-panel {
  border-radius: 18px;
}

.mk-tabs {
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.mk-tabs button {
  border: 0;
  background: transparent;
  color: var(--mute);
}

.term-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--mute);
}

.cat-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.cat-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

/* Support */
.sup-nav {
  width: 188px;
  border-radius: 24px;
}

.sup-main {
  padding: 6px 8px 18px 4px;
  border-radius: 24px;
}

.sup-head h2 {
  font-size: 36px;
}

.sup-new {
  background: var(--accent) !important;
  color: #06140f !important;
  font-weight: 800;
}

/* Battle pass already themed; tighten */
.bp-hero h2 {
  font-family: var(--font-brand);
}

.bp-node.is-open {
  box-shadow: 0 0 0 1px rgba(3, 252, 182, 0.28);
}

.ticker {
  opacity: 0.45;
}

.play-btn {
  height: 52px;
  padding: 0 36px;
  font-size: 16px;
}

.hero-actions .dl-btn {
  height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.sup-head h2 {
  font-size: 26px;
}

/* Ubisoft-style store */
.mk-wrap.ubi {
  gap: 10px;
}

.ubi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.ubi-top h2 {
  font-family: var(--font-brand);
  font-size: 28px;
}

.ubi-top p {
  font-size: 12px;
  color: var(--mute);
}

.ubi-sell {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--glass);
}

.ubi-sell label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.ubi-sell label.wide { flex: 1; min-width: 160px; }

.ubi-sell input,
.ubi-sell select {
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(6, 8, 12, 0.45);
  color: #fff;
  padding: 0 8px;
}

.ubi-sell button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
  padding: 0 14px;
}

.ubi-split {
  width: 1px;
  align-self: stretch;
  background: var(--stroke);
  margin: 0 6px;
}

.ubi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  padding: 2px 2px 16px;
}

.ubi-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(10, 12, 16, 0.55);
  min-height: 0;
}

.ubi-art {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, transparent 40%, rgba(6, 8, 12, 0.85)),
    rgba(255, 255, 255, 0.04);
}

.ubi-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ubi-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
}

.ubi-meta .sku {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.ubi-meta b { font-size: 16px; }
.ubi-meta em {
  font-style: normal;
  font-family: var(--font-brand);
  font-size: 22px;
}
.ubi-meta small { color: var(--mute); }
.ubi-meta .row { display: flex; gap: 6px; margin-top: 8px; }
.ubi-meta button {
  flex: 1;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
}
.ubi-meta button.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: #fff;
}

* {
  scrollbar-width: none !important;
}
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

@media (max-width: 1280px) {
  .avatar-rail { display: none !important; }
  .hub-stage { grid-template-columns: minmax(240px, 32%) minmax(0, 1fr) !important; }
}

@media (max-width: 980px) {
  .hub.is-support .hub-stage,
  .hub-stage {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .stack-left { display: none; }
  .dash-cards { grid-template-columns: 1fr 1fr; }
  .dash-stage { height: 220px; grid-template-columns: 1.2fr 1fr; }
  .ubi-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 720px) {
  .dock {
    width: 100%;
    flex-direction: row;
    height: 58px;
    padding: 6px 8px;
  }
  .dock-pill { flex-direction: row; overflow-x: auto; padding: 6px; }
  .hub-body { flex-direction: column; }
  .hub-top { height: 46px; }
  .brand-type { font-size: 32px; }
  .ubi-sell .ubi-split { display: none; }
}
