/* ARCWORLD chrome — match the dashboard mockup. Canvas parcel fill is untouched. */

:root {
  --aw-bg: #0B0E14;
  --aw-nav: #0A0D14;
  --aw-card: #11151E;
  --aw-card2: #161B26;
  --aw-line: rgba(255,255,255,.08);
  --aw-text: #F8FAFC;
  --aw-muted: #A8B6C8;
  --aw-dim: #7D8BA0;
  --aw-blue: #3B82F6;
  --aw-blue2: #2563EB;
  --aw-gold: #FBBF24;
  --aw-green: #34D399;
  --aw-pink: #F472B6;
}

html, body {
  height: 100% !important;
  overflow: hidden !important;
}

#aw-pause-banner {
  display: none;
  margin: 0 18px 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(251,191,36,.35);
  background: #1a1408;
  color: var(--aw-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}
body.aw-paused #aw-pause-banner { display: block; }
body.aw-paused #pf-withdraw,
body.aw-paused #nav-withdraw { pointer-events: auto; opacity: 1; }

body.aw-app {
  display: flex !important;
  flex-direction: row !important;
  background: var(--aw-bg) !important;
  color: var(--aw-muted);
  font-family: Inter, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.aw-app .aw-h,
body.aw-app h2,
body.aw-app h3,
body.aw-app h4,
body.aw-app .modal-title,
body.aw-app .go-title,
body.aw-app .loading-logo,
body.aw-app .gp-h,
body.aw-app .dash-card h3 {
  font-family: Inter, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none;
  font-weight: 700;
}
body.aw-app .modal-label {
  letter-spacing: 0;
  text-transform: none;
}

body.aw-app > header,
body.aw-app .aw-dock,
body.aw-app .mobile-bar,
body.aw-app .drawer-backdrop,
body.aw-app #game-onboard,
body.aw-app #game-hud,
body.aw-app #war-desk,
body.aw-app #sim-desk,
body.aw-app #field-folio,
body.aw-app #field-post { display: none !important; }

.aw-nav {
  width: 220px;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: var(--aw-nav);
  border-right: 1px solid var(--aw-line);
  z-index: 40;
  overflow-y: auto;
}
.aw-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 8px 18px;
  margin-bottom: 4px;
  font-weight: 800;
  font-size: 17px;
  color: var(--aw-text);
  letter-spacing: .2px;
}
.aw-nav-logo .logo-mark {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  flex-shrink: 0;
}
.aw-nav-logo .logo-mark i {
  display: block;
  border-radius: 5px;
  background: #2563EB;
}
.aw-nav-logo .logo-mark i:nth-child(2) { background: #3B82F6; }
.aw-nav-logo .logo-mark i:nth-child(3) { background: #60A5FA; }
.aw-nav-logo .logo-mark i:nth-child(4) { background: #FBBF24; }
.aw-creator {
  margin: 2px 8px 14px;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,.35);
  background: rgba(59,130,246,.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.aw-nav-user {
  margin: 0 4px 18px;
  padding: 12px;
  border-radius: 12px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
}
.aw-nav-user .t {
  font-size: 13px;
  font-weight: 700;
  color: var(--aw-text);
  letter-spacing: .4px;
}
.aw-nav-user .l { font-size: 11px; color: var(--aw-gold); margin-top: 2px; font-weight: 700; }
.aw-nav-user .xp-lbl { font-size: 10px; color: var(--aw-dim); margin-top: 10px; }
.aw-nav-user .aw-xp-track { margin-top: 6px; }

.aw-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--aw-muted);
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.aw-nav-btn i {
  width: 20px;
  text-align: center;
  font-style: normal;
  opacity: .9;
  font-size: 14px;
}
.aw-nav-btn svg.nav-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  stroke: currentColor;
  fill: none;
}
.aw-nav-btn span { flex: 1; }
.aw-nav-btn .aw-inbox-n {
  flex: 0 0 auto;
  margin-left: auto;
}
.aw-nav-btn:hover { background: rgba(255,255,255,.04); color: var(--aw-text); }
.aw-nav-btn.on {
  background: rgba(52,211,153,.12);
  color: #6EE7B7;
  box-shadow: inset 3px 0 0 #34D399;
}
.aw-nav-btn .aw-inbox-n { margin-left: auto; }

.aw-nav-wallet {
  margin-top: auto;
  padding: 10px 8px 4px;
  flex-shrink: 0;
}
.aw-nav-wallet-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--aw-dim);
  margin-bottom: 8px;
}
.aw-nav-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 22px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--aw-line);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  box-sizing: content-box;
}
.aw-nav-x svg { width: 13px; height: 13px; display: block; }
.aw-nav-x:hover { color: var(--aw-gold); }
.aw-nav-usdc {
  margin-top: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.38);
  color: #93C5FD;
  font-size: 12px;
  font-weight: 700;
}
.aw-nav-usdc b {
  font-size: 17px;
  font-weight: 800;
  color: #60A5FA;
  font-variant-numeric: tabular-nums;
}
.aw-nav-pending {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aw-nav-pending[hidden],
#pf-withdraw[hidden] {
  display: none !important;
}
.aw-nav-pending-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .38);
  color: #FCD34D;
  font-size: 11px;
  font-weight: 700;
}
.aw-nav-pending-row b {
  font-size: 14px;
  font-weight: 800;
  color: #FBBF24;
  font-variant-numeric: tabular-nums;
}
.aw-nav-withdraw {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 7px 8px;
  background: #D97706;
  color: #0b0f14;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.aw-nav-withdraw:hover { background: #F59E0B; }
#pf-withdraw { margin: 0 0 16px; }

.aw-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.aw-app header.aw-top {
  overflow: visible !important;
  pointer-events: auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 64px !important;
}
.aw-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 22px;
  background: #0C1018;
  border-bottom: 1px solid var(--aw-line);
}
.aw-top .aw-stat, .aw-subbar { display: none !important; }
.aw-stat k {
  display: block;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--aw-dim);
  font-weight: 600;
}
.aw-stat v {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  font-weight: 700;
  color: var(--aw-text);
}
.aw-stat v.blue { color: #60A5FA; }
.aw-stat v.gold { color: var(--aw-gold); }
.aw-stat v.green { color: var(--aw-green); }
.aw-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aw-net-box {
  display: flex;
  flex-direction: column;
  min-width: 168px;
  border: 1px solid rgba(59,130,246,.28);
  background: rgba(10,13,20,.88);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 40;
}
.aw-net-toggle { cursor: pointer; }
.aw-net-caret {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #93C5FD;
  flex-shrink: 0;
}
.aw-net-box.open .aw-net-caret { transform: rotate(180deg); }
.aw-net-menu[hidden] { display: none !important; }
.aw-net-menu { display: flex; flex-direction: column; }
.aw-net-menu .aw-net-opt { border-top: 1px solid rgba(148,163,184,.12); }
.aw-net-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #93C5FD;
  padding: 6px 10px;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: left;
  cursor: default;
}
.aw-net-opt + .aw-net-opt { border-top: 1px solid rgba(148,163,184,.12); }
.aw-net-opt.on { background: rgba(59,130,246,.16); }
.aw-net-opt.off { color: #64748B; cursor: not-allowed; }
.aw-net-opt i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  flex-shrink: 0;
}
.aw-net-opt.off i { background: #475569; box-shadow: none; }
.aw-net-opt em {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .3px;
  color: #86EFAC;
}
.aw-net-opt.off em { color: #64748B; }
.btn-connect {
  background: var(--aw-blue2) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  height: 40px;
  cursor: pointer;
}
.btn-connect.connected { background: linear-gradient(135deg, #3B82F6, #2563EB) !important; color: #fff !important; text-transform: none !important; }
.btn-connect.wrong-chain { background: #E11D48 !important; color: #fff !important; }

.aw-subbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px 10px;
  margin-top: -4px;
  font-size: 11px;
  color: var(--aw-dim);
  background: #0C1018;
  border-bottom: 1px solid var(--aw-line);
}
.aw-subbar b { color: var(--aw-text); font-weight: 600; }
.aw-subbar .hot { color: var(--aw-pink); }
.aw-subbar button {
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--aw-line);
  color: var(--aw-muted);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  font-family: Inter, sans-serif;
}
.aw-subbar button:hover { color: var(--aw-text); border-color: rgba(59,130,246,.4); }

.aw-views {
  position: relative;
  flex: 1;
  min-height: 0;
}
.aw-view {
  display: none;
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 20px 22px;
}
.aw-view.on { display: block; }
#view-map.on { overflow: hidden; padding: 0; }
#view-offers.on {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#view-offers .mk-head { flex-shrink: 0; }
#view-offers .mk-title-row {
  width: 100%;
  justify-content: space-between;
}
#view-offers #mk-offers-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
#view-offers .mk-offer-grid {
  min-height: 0;
  align-items: stretch;
}
#view-offers .mk-offer-col { min-height: 0; }
#view-offers .mk-offer-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.aw-msg-hint {
  margin: -4px 0 18px;
  font-size: 13px;
  color: var(--aw-dim);
}
.aw-messages-list {
  max-width: 640px;
}
.aw-messages-list .aw-note { cursor: pointer; }
.aw-inbox-empty {
  padding: 24px 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--aw-dim);
}

.aw-foot {
  flex-shrink: 0;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: .3px;
  color: var(--aw-dim);
  border-top: 1px solid var(--aw-line);
  background: #090B11;
}
.aw-foot span { color: var(--aw-muted); }
.aw-foot a { color: #93C5FD; text-decoration: none; }
.aw-foot button {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(59,130,246,.35);
  color: #93C5FD;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  cursor: pointer;
  font-family: Inter, sans-serif;
}

/* Dashboard — stats left, world right, activity, daily, season */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "stats world"
    "feed world"
    "daily xp";
  gap: 14px;
  height: 100%;
  min-height: 560px;
}
.dash-stats, .dash-feed {
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.dash-stats { grid-area: stats; }
.dash-feed { grid-area: feed; }
.dash-world { grid-area: world; display: flex; flex-direction: column; }
.dash-daily { grid-area: daily; }
.dash-xp { grid-area: xp; }

.dash-card {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 16px 18px;
}
.dash-card > h3, .dash-card > k {
  display: block;
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--aw-muted);
  font-weight: 600;
}
.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.dash-metrics k {
  display: block;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.dash-metrics v {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  color: var(--aw-text);
  letter-spacing: -0.5px;
}
#dash-vol { font-size: 22px; }
.dash-listed {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow: auto;
}
.dash-listed-empty {
  font-size: 12px;
  color: var(--aw-dim);
  padding: 6px 0;
}
.dash-listed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--aw-line);
  background: rgba(255,255,255,.03);
  color: var(--aw-text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}
.dash-listed-item:hover { border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.06); }
.dash-listed-item b { color: var(--aw-gold); font-weight: 800; white-space: nowrap; }
.act-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--aw-line);
  font-size: 13px;
  color: var(--aw-text);
  cursor: default;
}
.act-row:last-child { border-bottom: 0; }
.act-row span { user-select: text; }
#dash-activity {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
#pf-activity {
  max-height: 380px;
  overflow: auto;
}
.act-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--aw-blue); flex-shrink: 0; }
.act-dot.gold { background: var(--aw-gold); }
.act-dot.green { background: var(--aw-green); }
.act-time { margin-left: auto; font-size: 11px; color: var(--aw-dim); white-space: nowrap; }
#dash-mini {
  width: 100%;
  flex: 1;
  min-height: 280px;
  border-radius: 10px;
  background: var(--bg, #08090F);
  display: block;
}
.dash-daily v { font-size: 26px; margin: 4px 0 12px; color: var(--aw-text); font-weight: 800; }
.dash-daily.dash-land v { font-size: 42px; margin: 4px 0 0; color: var(--aw-gold); letter-spacing: -1px; }
.dash-countdown v { font-size: 28px; margin: 4px 0 0; color: var(--aw-gold); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.dash-cd-sub { margin-top: 8px; font-size: 12px; color: var(--aw-muted); letter-spacing: .3px; }
.aw-btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  background: var(--aw-blue2);
  color: #fff;
  font-weight: 700;
  font-family: Inter, sans-serif;
  cursor: pointer;
  letter-spacing: .3px;
}
.aw-btn:disabled { opacity: .45; cursor: default; }
.aw-btn.full { width: 100%; }
.aw-xp-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.aw-xp-fill { height: 100%; width: 0; background: #3B82F6; }
.dash-xp .meta { margin-top: 8px; font-size: 13px; color: var(--aw-muted); }
.dash-news-view {
  overflow: hidden;
  height: 56px;
  margin-top: 4px;
}
.dash-news-track {
  animation: dashNewsSlide 9s ease-in-out infinite;
}
.dash-news-slide {
  height: 56px;
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--aw-text);
  letter-spacing: -0.4px;
  line-height: 1.2;
}
@keyframes dashNewsSlide {
  0%, 42% { transform: translateY(0); }
  50%, 92% { transform: translateY(-56px); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .dash-news-track { animation: none; }
}

/* Map HUD: filters left, toolbar in the gap, zoom right, stats bottom, drawer right */
#view-map .map-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
}
#view-map #mapCanvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}
.map-float {
  position: absolute;
  z-index: 12;
  pointer-events: auto;
  background: rgba(17,21,30,.94);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
#view-map .map-panel {
  top: 16px;
  left: 16px;
  width: 210px;
  padding: 14px 14px 16px;
  z-index: 13;
  max-height: calc(100% - 92px);
  overflow: auto;
}
.map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
}
.map-panel-head h4 { margin: 0; }
.map-filters-x {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.map-filters-x:hover { color: #fff; background: rgba(255,255,255,.06); }
.map-panel h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--aw-dim);
  font-weight: 700;
}
.map-panel select {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: #0B0E14;
  color: var(--aw-text);
  font-family: Inter, sans-serif;
  font-size: 12px;
}
.map-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--aw-text);
  margin: 7px 0;
  cursor: pointer;
}
.map-panel .sw {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
#view-map .map-toolbar {
  position: absolute !important;
  left: 16px !important;
  right: 68px !important;
  top: 16px !important;
  bottom: auto !important;
  height: 42px !important;
  z-index: 14 !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 10px !important;
  border-radius: 12px !important;
  background: rgba(17,21,30,.94) !important;
  border: 1px solid var(--aw-line) !important;
  overflow: hidden;
}
#view-map.filters-on .map-toolbar {
  left: 242px !important;
}
#view-map.claim-open .map-toolbar {
  right: 316px !important;
}
.map-toolbar .search-wrap,
.map-toolbar .toolbar-info,
.map-toolbar .btn-center,
.map-toolbar #linkBtn,
.map-toolbar .zoom-label,
.map-toolbar [title="Replay"] { display: none !important; }
.map-toolbar select { width: auto; margin: 0; min-width: 120px; }
.map-toolbar .icon-btn, .map-toolbar .aw-tb-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px !important;
  border: 1px solid var(--aw-line) !important;
  background: rgba(255,255,255,.04) !important;
  color: var(--aw-text) !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: Inter, sans-serif;
}
.map-zoom {
  top: 16px;
  right: 16px;
  z-index: 14;
  display: flex;
  flex-direction: column;
  overflow: visible;
  align-items: center;
  gap: 0;
  pointer-events: auto;
}
#view-map.claim-open .map-zoom { right: 316px; }
.map-zoom button {
  width: 40px; height: 36px;
  border: 0;
  background: transparent;
  color: var(--aw-text);
  cursor: pointer;
  font-size: 18px;
}
.map-zoom button + button { border-top: 1px solid var(--aw-line); }
.map-zoom .aw-refresh {
  width: 40px;
  height: 40px;
  border-top: 0;
  margin-bottom: 2px;
}
.map-zoom .aw-refresh + button { border-top: 1px solid var(--aw-line); }
.aw-refresh {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--aw-line);
  background: rgba(17,21,30,.94);
  color: var(--aw-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.aw-refresh svg { width: 18px; height: 18px; display: block; }
.aw-refresh.spin svg { animation: aw-spin .8s linear infinite; }
@keyframes aw-spin { to { transform: rotate(360deg); } }

#aw-search-hold { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Parcel details */
.parcel-page {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  max-width: 980px;
}
.parcel-preview {
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid var(--aw-line);
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: #08090F;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.parcel-preview canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.pc-id {
  font-size: 22px;
  font-weight: 800;
  color: var(--aw-text);
  margin: 12px 0 6px;
}
.pc-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.pc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--aw-line);
}
.pc-badge.rare { color: var(--aw-gold); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.1); }
.pc-badge.hot { color: var(--aw-pink); border-color: rgba(244,114,182,.35); background: rgba(244,114,182,.1); }
.parcel-meta { margin-top: 8px; font-size: 13px; color: var(--aw-muted); }
.parcel-meta b { color: var(--aw-text); }
.aw-ghost {
  margin-top: 10px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--aw-line);
  color: #93C5FD;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-weight: 600;
}
.pd-list { display: flex; flex-direction: column; gap: 8px; }
.pd-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 10px;
  color: var(--aw-muted);
  font-size: 13px;
}
.pd-row b { color: var(--aw-text); }
.pd-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
#pc-game-extra { display: none !important; }
.pd-actions .btn, .pd-actions .aw-btn { width: 100%; }
.pd-actions .btn-primary, .pd-actions .btn.btn-primary {
  background: var(--aw-blue2) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: .4px;
}

/* Market */
.market-page { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.market-side {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 0;
}
.market-side h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: 1.2px; color: var(--aw-dim); font-weight: 700; }
.market-side label { display: flex; gap: 8px; align-items: center; margin: 8px 0; color: var(--aw-text); font-size: 13px; }
.market-side input[type="number"] {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: #0B0D14;
  color: var(--aw-text);
}
#market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 18px;
  align-content: start;
  justify-content: start;
}
@media (max-width: 1280px) {
  #market-grid { grid-template-columns: repeat(auto-fill, 200px); }
}
.mk-card {
  width: 200px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.mk-card:hover { border-color: rgba(59,130,246,.45); }
.mk-swatch { width: 200px; height: 200px; aspect-ratio: 1 / 1; flex-shrink: 0; }
.mk-card .body { padding: 12px 12px 14px; display: flex; flex-direction: column; }
.mk-card .xy { font-size: 14px; color: var(--aw-text); font-weight: 600; margin-bottom: 2px; }
.mk-card .pr { margin-top: 4px; color: var(--aw-gold); font-size: 15px; font-weight: 800; }
.mk-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  align-items: stretch;
}
.mk-act {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 0;
  background: #0B0E16;
  color: #F8FAFC;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
}
.mk-act:hover { border-color: rgba(255,255,255,.24); background: #12161F; }
.mk-act.buy, .mk-act.bid { color: #F8FAFC; }
.mk-act.view {
  grid-column: 1 / -1;
  height: auto;
  gap: 6px;
  padding: 8px 4px 2px;
  border: 0;
  background: transparent;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.mk-act.view:hover { background: transparent; color: #E2E8F0; }
.mk-chev { width: 14px; height: 14px; }
.mk-act.mine {
  grid-column: 1 / -1;
  background: rgba(52,211,153,.1);
  border-color: rgba(52,211,153,.28);
  color: #6EE7B7;
  cursor: default;
}
.mk-tabs { margin: 0; }
#mk-offers-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#mk-offers-pane .aw-msg-hint { margin: 0 0 14px; max-width: none; }
.mk-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}
.mk-offer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 14px;
}
.mk-offer-col-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mk-offer-col h3 {
  margin: 0;
  font-size: 14px;
  color: var(--aw-text);
  display: block;
}
.mk-offer-col-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--aw-dim);
}
.mk-offer-list { min-width: 0; }
#mk-listed-pane[hidden], #mk-offers-pane[hidden], #mk-looks-pane[hidden], #mk-listed-tools[hidden] { display: none !important; }
.mk-offer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px 14px;
  margin: 0 0 8px;
  background: rgba(8, 10, 16, .45);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
}
.mk-offer:last-child { margin-bottom: 0; }
.mk-offer.pending { border-color: rgba(59,130,246,.4); }
.mk-offer-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.mk-offer .xy {
  font-weight: 700;
  color: var(--aw-text);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.mk-offer .xy:hover { color: #93C5FD; }
.mk-offer .amt {
  color: var(--aw-gold);
  font-weight: 800;
  margin-left: 0;
  flex-shrink: 0;
}
.mk-offer .from {
  font-size: 11px;
  color: var(--aw-dim);
  width: auto;
  line-height: 1.4;
  word-break: break-word;
}
.mk-offer .st-tag { font-size: 11px; font-weight: 700; color: var(--aw-muted); }
.mk-offer .st-tag.pending { color: #93C5FD; }
.mk-offer .st-tag.expired { color: #FBBF24; }
.mk-offer .st-tag.cancelled, .mk-offer .st-tag.rejected { color: #94A3B8; }
.mk-offer .st-tag.accepted { color: #6EE7B7; }
.mk-offer .acts {
  display: flex;
  gap: 6px;
  margin-left: 0;
  width: 100%;
}
.mk-offer .acts button {
  flex: 1;
  border: 0; border-radius: 8px; padding: 7px 10px;
  font-size: 11px; font-weight: 800; cursor: pointer; font-family: Inter, sans-serif;
}
.mk-offer .acts .ok { background: #059669; color: #fff; }
.mk-offer .acts .no { background: rgba(255,255,255,.08); color: var(--aw-muted); }

/* Quests */
.q-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.q-tabs button {
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: var(--aw-muted);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}
.q-tabs button.on { background: rgba(59,130,246,.16); color: #93C5FD; border-color: rgba(59,130,246,.4); }
.q-row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
}
.q-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(59,130,246,.16);
  color: #93C5FD;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  line-height: 1;
}
.q-row .name { color: var(--aw-text); font-weight: 600; }
.q-row .desc { font-size: 12px; color: var(--aw-dim); margin-top: 3px; }
.q-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  margin-top: 8px;
  overflow: hidden;
  max-width: 220px;
}
.q-bar i { display: block; height: 100%; background: #3B82F6; }
.q-row .prog { font-size: 12px; color: var(--aw-muted); font-weight: 600; }
.q-row .rew { color: var(--aw-gold); font-weight: 700; font-size: 13px; min-width: 84px; text-align: right; }
.q-row .st {
  min-width: 118px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 0;
}
.q-row .st.done { background: #059669; color: #fff; }
.q-row .st.wait { background: rgba(255,255,255,.06); color: var(--aw-muted); }

.aw-list { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.myland-item, .leaderboard-wrap > div {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.aw-h {
  margin: 0 0 14px;
  font-size: 23px;
  color: var(--aw-text);
  font-weight: 800;
}

.map-stats {
  position: absolute;
  left: 16px; right: 16px; bottom: 12px;
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 10px 16px;
  background: rgba(17,21,30,.94);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--aw-dim);
}
.map-how {
  margin-left: auto;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(59,130,246,.45);
  background: rgba(59,130,246,.12);
  color: #93C5FD;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  flex-shrink: 0;
}
.map-how:hover {
  background: rgba(59,130,246,.22);
  color: #fff;
  border-color: rgba(59,130,246,.7);
}
.htp-prose {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text2);
  overflow-y: auto;
  padding: 16px 18px 8px;
}
.htp-prose .htp-lead {
  margin: 0 0 14px;
  color: #E2E8F0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
.htp-prose h5 {
  margin: 16px 0 6px;
  color: #93C5FD;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}
.htp-prose p { margin: 0 0 10px; }
.htp-prose b { color: #E2E8F0; font-weight: 700; }
.htp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
}
.htp-table th, .htp-table td {
  border: 1px solid var(--aw-line, #1c2233);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.htp-table tbody th {
  width: 34%;
  color: #93C5FD;
  font-weight: 700;
  background: rgba(59,130,246,.06);
  white-space: nowrap;
}
.htp-table td { color: var(--text2); }
.htp-table thead th {
  color: #E2E8F0;
  font-weight: 700;
  background: rgba(59,130,246,.1);
  white-space: nowrap;
}
.htp-table.htp-price td:first-child,
.htp-table.htp-price tbody td:nth-child(2) { color: #E2E8F0; font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) {
  .htp-table tbody th { width: 28%; white-space: normal; }
}
.htp-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin: 4px 0 10px;
  color: var(--text2);
  font-size: 13px;
}
.htp-legend div { display: flex; align-items: center; gap: 8px; }
.htp-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.htp-keys-line {
  margin: 4px 0 8px !important;
  font-size: 13px;
  color: var(--text3, #64748B);
}
.htp-keys-line b { color: #E2E8F0; font-family: "JetBrains Mono", monospace; font-weight: 500; }
@media (max-width: 720px) {
  .htp-legend { grid-template-columns: 1fr; }
  .map-how { margin-left: 0; }
}
#view-map.filters-on .map-stats { left: 242px; }
#view-map.claim-open .map-stats { right: 316px; }
.map-stats b { color: var(--aw-text); font-size: 14px; margin-left: 6px; }
.map-stats .gold { color: var(--aw-gold); }

/* Right-side claim / buy drawer — map click, not View parcel */
.claim-drawer {
  position: absolute;
  top: 16px;
  right: 0;
  bottom: 72px;
  width: 300px;
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 16px 18px;
  background: rgba(17, 21, 30, .97);
  border: 1px solid var(--aw-line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: -16px 0 40px rgba(0, 0, 0, .45);
  transform: translateX(110%);
  transition: transform .22s ease;
  pointer-events: none;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--aw-muted);
  overflow-x: hidden;
  overflow-y: auto;
}
.claim-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
#claim-drawer canvas,
#claim-drawer .cd-look-wrap,
#claim-drawer .parcel-preview,
#claim-drawer .mk-swatch,
#claim-drawer .mk-logo {
  display: none !important;
}
.claim-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.claim-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.claim-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--aw-dim);
}
.claim-title {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--aw-text);
  line-height: 1.2;
}
.claim-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--aw-muted);
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
}
.claim-x:hover { color: var(--aw-text); background: rgba(255,255,255,.06); }
.claim-id {
  font-size: 12px;
  color: var(--aw-dim);
  margin: 2px 0 14px;
}
.cd-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 14px;
}
.cd-look-wrap {
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--aw-line);
  background: #08090F;
}
.cd-look-wrap[hidden] { display: none !important; }
.cd-look-wrap canvas {
  width: 100%;
  height: 120px;
  display: block;
}
.claim-chip {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  border: 1px solid var(--aw-line);
  color: var(--aw-muted);
}
.claim-chip.empty {
  color: #93C5FD;
  border-color: rgba(147, 197, 253, .35);
  background: rgba(59, 130, 246, .12);
}
.claim-chip.sale {
  color: var(--aw-gold);
  border-color: rgba(251, 191, 36, .35);
  background: rgba(251, 191, 36, .1);
}
.claim-chip.held {
  color: #93C5FD;
  border-color: rgba(147, 197, 253, .35);
  background: rgba(59, 130, 246, .12);
}
.claim-chip.mine {
  color: #6EE7B7;
  border-color: rgba(52, 211, 153, .35);
  background: rgba(52, 211, 153, .12);
}
.claim-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.claim-rows div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 10px;
  font-size: 13px;
}
.claim-rows span { color: var(--aw-muted); }
.claim-rows b { color: var(--aw-text); font-weight: 700; }
.claim-rows b.amber { color: var(--aw-gold); }
.claim-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--aw-dim);
  margin: -4px 0 14px;
}
#cd-buy { margin-top: 2px; }
#cd-buy[hidden], #cd-contact[hidden],
#mkd-buy[hidden], #mk-detail[hidden],
#aw-contact-box[hidden] { display: none !important; }
#cd-view {
  margin-top: 8px;
  width: 100%;
}

.aw-box-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--aw-line);
}
.aw-box-open {
  margin: 0;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: var(--aw-text);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.aw-box-open:hover {
  border-color: rgba(59, 130, 246, .45);
  color: #fff;
}
.aw-inbox-mini {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--aw-line);
}
.aw-inbox-mini .aw-ghost { margin-top: 0; width: 100%; }

.aw-box-overlay {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .5);
}
.aw-box {
  width: 360px;
  max-width: 100%;
  padding: 16px;
  background: rgba(17, 21, 30, .98);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--aw-muted);
}
.aw-box-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--aw-dim);
}
.aw-tip-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.aw-tip-row input,
.aw-box textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: #0B0D14;
  color: var(--aw-text);
  font-family: Inter, sans-serif;
  font-size: 13px;
  resize: vertical;
}
.aw-tip-row input { flex: 1; min-width: 0; }
.aw-tip-row .aw-btn {
  flex-shrink: 0;
  width: auto;
  padding: 9px 14px;
  margin: 0;
}
.aw-box .aw-ghost { margin-top: 8px; width: 100%; }
.aw-contact-st {
  font-size: 12px;
  color: var(--aw-dim);
  min-height: 16px;
  line-height: 1.4;
  margin-top: 8px;
}
.aw-contact-st.ok { color: #6EE7B7; }
.aw-contact-st.err { color: #F87171; }
.aw-inbox-n {
  display: inline-block;
  margin-left: 6px;
  min-width: 16px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  color: #FBBF24;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .35);
}
.aw-inbox-n[hidden] { display: none !important; }
.aw-tb-btn .aw-inbox-n { margin-left: 4px; }

.aw-inbox-pane {
  position: fixed;
  top: 88px;
  right: 16px;
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: min(70vh, 560px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: rgba(17, 21, 30, .98);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--aw-muted);
  overflow: auto;
}
.aw-inbox-pane .claim-title { font-size: 18px; }
.aw-inbox-empty {
  padding: 18px 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--aw-dim);
}
.aw-note {
  padding: 12px;
  margin-bottom: 8px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 10px;
  cursor: pointer;
}
.aw-note:hover { border-color: rgba(59, 130, 246, .4); }
.aw-note.read { opacity: .55; }
.aw-note-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--aw-dim);
  margin-bottom: 4px;
}
.aw-note-from {
  font-size: 12px;
  font-weight: 700;
  color: var(--aw-text);
  margin-bottom: 6px;
}
.aw-note-body {
  font-size: 13px;
  line-height: 1.4;
  color: var(--aw-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.mk-acts-mini { margin-top: 8px; }
.market-page.has-detail { grid-template-columns: 240px 1fr minmax(260px, 300px); }
.mk-detail {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  position: sticky;
  top: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--aw-muted);
}
.mk-detail .claim-title { font-size: 18px; }
.mk-detail .claim-rows { margin-bottom: 12px; }
.mk-detail .aw-btn.full, .mk-detail .aw-ghost { width: 100%; }
.mk-detail .aw-ghost { margin-top: 8px; }
.map-zoom { transition: right .22s ease; }
.map-panel[hidden], #map-filters-fab[hidden] { display: none !important; }

@media (max-width: 980px) {
  .claim-drawer {
    width: min(320px, 88vw);
    top: 10px;
    bottom: 64px;
  }
  #view-map .map-toolbar {
    left: 12px !important;
    right: 68px !important;
    top: 12px !important;
    bottom: auto !important;
  }
  #view-map.filters-on .map-toolbar { left: 12px !important; }
  #view-map .map-panel {
    top: 62px;
    left: 12px;
    max-height: calc(100% - 140px);
  }
  #view-map.filters-on .map-stats { left: 12px; }
  #view-map.claim-open .map-zoom { right: 12px; }
  #view-map.claim-open .map-toolbar { right: 12px !important; }
  #view-map.claim-open .map-stats { right: 12px; }
}

#passport-panel-body { display: none !important; }
.mk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.mk-title-row { display: flex; align-items: center; gap: 10px; }
.aw-tb-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: #F8FAFC;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}
.aw-tb-btn:hover {
  border-color: rgba(59, 130, 246, .5);
  color: #fff;
  background: #161B26;
}
.aw-tb-btn.on {
  background: rgba(59, 130, 246, .18);
  border-color: rgba(59, 130, 246, .55);
  color: #fff;
}
.mk-toolbar { display: flex; gap: 8px; align-items: center; }
.mk-toolbar .aw-tb-btn { height: 38px; }
.mk-toolbar select, #pc-sort {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: var(--aw-text);
  font-family: Inter, sans-serif;
}
.mk-range-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--aw-dim); margin: 4px 0 8px; }
.mk-pages { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.mk-pages button {
  min-width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: var(--aw-muted);
  cursor: pointer;
}
.mk-pages button.on { background: var(--aw-blue2); color: #fff; border-color: transparent; }

.land-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 200px);
  gap: 16px;
  align-content: start;
  justify-content: start;
}
#view-parcels .stats-loading,
#view-market .stats-loading,
#view-offers .stats-loading,
body.aw-app .stats-loading {
  color: var(--aw-dim);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  padding: 28px 8px;
  text-align: left;
}
#mine-count {
  color: var(--aw-dim);
  font-weight: 600;
}
.land-grid .mk-card {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  position: relative;
  z-index: 0;
}
.mk-idx {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(8, 12, 20, .78);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
}
.mk-no {
  font-size: 12px;
  font-weight: 800;
  color: #93C5FD;
  letter-spacing: .2px;
  margin-bottom: 4px;
}
.mine-filters { display: flex; gap: 14px; margin-bottom: 12px; color: var(--aw-text); font-size: 13px; }
.mine-filters[hidden] { display: none !important; }

.q-bottom {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  margin-top: 16px;
}
.streak-head { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.streak-fire { font-size: 36px; line-height: 1; }
.streak-head b { font-size: 22px; color: var(--aw-text); }
.streak-dots { display: flex; gap: 8px; }
.streak-dots i {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--aw-line);
  font-style: normal;
}
.streak-dots i.on { background: rgba(52,211,153,.2); border-color: #34D399; }

.board-page { display: grid; grid-template-columns: 1fr 260px; gap: 16px; }
body.aw-app .leaderboard-wrap {
  overflow: visible;
  padding: 0;
  max-height: none;
}
body.aw-app .lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--aw-line);
  cursor: pointer;
  border-radius: 8px;
}
body.aw-app .lb-row:hover { background: rgba(255,255,255,.04); }
body.aw-app .lb-row.me { background: rgba(52, 211, 153, .08); }
body.aw-app .lb-rank {
  width: 42px;
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--aw-gold);
  text-align: right;
}
body.aw-app .lb-color { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
body.aw-app .lb-addr {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 14px;
  font-weight: 650;
  color: #F8FAFC;
  letter-spacing: .2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.aw-app .lb-row.me .lb-addr { color: #6EE7B7; }
body.aw-app .lb-count {
  flex-shrink: 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--aw-gold);
}
body.aw-app .lb-blob {
  font-size: 11px;
  color: #93C5FD;
  flex-shrink: 0;
}
#lb-pages { margin-top: 12px; justify-content: flex-start; }
.your-rank {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 18px;
  height: fit-content;
}
.your-rank h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: 1.2px; color: var(--aw-muted); text-transform: uppercase; }
.yr-num { font-size: 48px; font-weight: 800; color: var(--aw-text); margin-bottom: 12px; }
.yr-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--aw-muted); font-size: 13px; }
.yr-row .emo { font-size: 22px; }
.yr-row b { margin-left: auto; color: var(--aw-text); }
.yr-go { margin-top: 16px; background: #059669 !important; }

.pf-head {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}
.pf-theme-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.pf-theme-bar span {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--aw-dim);
  font-weight: 700;
  margin-right: 4px;
}
.pf-theme-bar button {
  border: 1px solid var(--aw-line);
  background: var(--aw-card);
  color: var(--aw-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pf-theme-bar button.on {
  background: var(--aw-blue2);
  color: #fff;
  border-color: transparent;
}
.pc-bids { margin-top: 16px; }
.pc-bids-h {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--aw-dim);
  font-weight: 700;
  margin-bottom: 8px;
}
.pf-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #1D4ED8;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.pf-name { font-size: 22px; font-weight: 800; color: var(--aw-text); }
.pf-wallet { font-size: 13px; color: var(--aw-muted); margin: 4px 0 10px; }
.ico-btn {
  background: transparent; border: 0; color: var(--aw-muted); cursor: pointer; font-size: 14px;
}
.pf-lvl { font-size: 11px; letter-spacing: 1px; color: #C4B5FD; font-weight: 700; }
.pf-xp { margin-top: 6px; background: rgba(167,139,250,.2); }
.pf-xp .aw-xp-fill { background: #A78BFA; }
.pf-mini { width: 100%; height: 110px; border-radius: 10px; background: #07080C; display: block; }
.pf-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.pf-stat {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  padding: 16px;
}
.pf-stat .emo { font-size: 40px; display: block; line-height: 1; margin-bottom: 8px; }
.pf-stat k { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--aw-dim); }
.pf-stat v { display: block; margin-top: 6px; font-size: 28px; font-weight: 800; color: var(--aw-text); }
.pf-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
#owner-gift-panel.gift-desk {
  margin: 0 0 16px;
  padding: 20px 20px 18px;
  background:
    linear-gradient(180deg, rgba(59,130,246,.08), transparent 42%),
    var(--aw-card);
  border: 1px solid rgba(59,130,246,.28);
}
.gift-desk-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.gift-desk-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(59,130,246,.16);
  border: 1px solid rgba(59,130,246,.28);
  font-size: 22px;
}
#owner-gift-panel.gift-desk > .gift-desk-head h3,
#owner-gift-panel.gift-desk h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--aw-text);
}
.gift-desk-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--aw-muted);
}
.gift-desk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.gift-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 12px 12px 14px;
  border-radius: 12px;
  background: rgba(8,9,15,.55);
  border: 1px solid var(--aw-line);
}
.gift-field span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.gift-field em {
  font-style: normal;
  font-size: 12px;
  color: var(--aw-muted);
  line-height: 1.35;
  min-height: 16px;
}
.gift-field select,
.gift-field input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: #0B0D16;
  color: var(--aw-text);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  padding: 0 12px;
  outline: none;
}
.gift-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2394A3B8' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.gift-field input::placeholder { color: #475569; }
.gift-field select:focus,
.gift-field input:focus {
  border-color: rgba(59,130,246,.7);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.gift-desk-foot {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--aw-dim);
}
#owner-gift-panel #gift-btn {
  height: 46px;
  font-size: 14px;
}
@media (max-width: 860px) {
  .gift-desk-grid { grid-template-columns: 1fr; }
}
.donut-wrap { position: relative; width: 180px; height: 180px; margin: 8px auto; }
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.donut-center b { font-size: 28px; color: var(--aw-text); }
.donut-center span { font-size: 10px; letter-spacing: 1px; color: var(--aw-dim); }
.donut-legend { font-size: 13px; color: var(--aw-text); }
.donut-legend div { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.donut-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* Parcel style studio + market overlays */
.modal.modal-studio {
  width: 640px;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0c1018 !important;
}
.studio-head { align-items: flex-start; }
.studio-kicker {
  font-size: 12px;
  color: var(--aw-muted, #94a3b8);
  margin-top: 4px;
  font-weight: 500;
}
.modal-studio .modal-title {
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  font-weight: 700;
}
.studio-shell {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 0;
  flex: 1;
  border-top: 1px solid var(--aw-line);
}
.studio-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  background: #080b12;
  border-right: 1px solid var(--aw-line);
}
.studio-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #94A3B8;
  border-radius: 10px;
  padding: 8px 4px;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 600;
}
.studio-tab svg { width: 18px; height: 18px; }
.studio-tab.on {
  background: #2563EB;
  color: #fff;
  box-shadow: 0 0 14px rgba(37,99,235,.4);
}
.studio-tab-random { color: #A5B4FC; }
.studio-tab-random:hover { color: #fff; background: rgba(37,99,235,.25); }
.studio-main {
  overflow-y: auto;
  max-height: 62vh;
  padding: 12px 14px 10px;
}
.cust-preview-wrap {
  border: 1px solid rgba(59,130,246,.55);
  box-shadow: 0 0 18px rgba(59,130,246,.18) inset;
  border-radius: 12px;
  overflow: hidden;
  background: #07080C;
  margin-bottom: 12px;
}
.cust-preview-canvas {
  display: block;
  width: 100%;
  height: 220px;
}
.modal-studio .style-chips#cust-logo-chips,
.modal-studio .style-chips#cust-flag-chips,
.modal-studio .style-chips#cust-avatar-chips,
.modal-studio .style-chips#cust-emoji-chips,
.modal-studio .style-chips#cust-neon-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.modal-studio .style-chips#cust-flag-chips,
.modal-studio .style-chips#cust-neon-chips {
  grid-template-columns: repeat(4, 1fr);
}
.studio-pane[hidden] { display: none !important; }
.modal-studio .modal-row { margin-bottom: 0; }
.modal-studio .modal-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--aw-muted, var(--text2));
  margin-bottom: 6px;
}
.modal-studio .modal-input {
  font-family: Inter, sans-serif;
  font-size: 13px;
  text-transform: none;
}
.modal-studio #cust-color { text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.studio-note {
  font-size: 12px;
  color: var(--aw-muted, var(--text2));
  line-height: 1.45;
  margin: 14px 0 0;
}
.studio-foot {
  display: grid !important;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8px;
}
.studio-foot .btn { width: 100%; flex: none; }
.studio-foot .btn-primary {
  box-shadow: 0 0 16px rgba(37,99,235,.35);
}
.studio-hex {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.studio-hex span { font-size: 12px; color: var(--text2); }
.studio-hex .modal-input { flex: 1; }
.studio-hex #color-preview {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  flex-shrink: 0;
}
.color-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.modal-studio .style-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-studio .style-chips button {
  border: 1px solid var(--aw-line);
  background: rgba(255,255,255,.04);
  color: var(--aw-text);
  border-radius: 8px;
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  cursor: pointer;
  font-size: 16px;
}
.modal-studio .style-chips button.on {
  border-color: #3B82F6;
  box-shadow: 0 0 0 1px #3B82F6 inset, 0 0 10px rgba(59,130,246,.35);
}
.modal-studio .style-chips button.pal {
  min-width: 52px;
  height: 30px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  background: transparent;
}
.modal-studio .style-chips button.pal.on {
  background: #2563EB;
  color: #fff;
  border-color: #3B82F6;
}
.pc-style { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.pc-sty {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--aw-line);
  color: var(--aw-text);
  background: rgba(255,255,255,.04);
}
.pc-sty.neon, .parcel-preview .neon, .mk-neon {
  color: #67e8f9;
  text-shadow: 0 0 8px #22d3ee;
}
.pc-swatch-kit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.pc-swatch-kit i { font-style: normal; font-size: 22px; }
.pc-swatch-kit em { font-style: normal; font-size: 16px; }
.pc-badge.styled { color: #67e8f9; border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.1); }
.mk-swatch { position: relative; overflow: hidden; }
.mk-swatch canvas.mk-look { width: 100%; height: 100%; display: block; }
.mk-flag { position: absolute; top: 8px; left: 8px; font-size: 18px; }
.mk-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 42px; font-weight: 800; font-family: Inter, Segoe UI, sans-serif; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); pointer-events: none; z-index: 1; }
.mk-avatar { position: absolute; right: 8px; bottom: 8px; font-size: 22px; }
.mk-emoji { position: absolute; right: 8px; top: 8px; font-size: 16px; }
.mk-neon {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.mk-name { font-size: 13px; font-weight: 800; color: var(--aw-text); margin-bottom: 2px; }
.mk-desc { font-size: 11px; color: var(--aw-muted); margin: 4px 0 2px; line-height: 1.35; }

.look-pick-scroll {
  max-height: 158px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 0 16px;
  padding-right: 6px;
}
.look-pick-scroll::-webkit-scrollbar { width: 8px; }
.look-pick-scroll::-webkit-scrollbar-thumb {
  background: rgba(59,130,246,.45);
  border-radius: 8px;
}
.look-pick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.logo-extra-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.logo-extra-scroll .modal-label { margin-top: 12px; }
.logo-extra-scroll .modal-label:first-child { margin-top: 0; }
#cust-logo-letters {
  display: grid !important;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
#cust-logo-letters button {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  font-family: Inter, sans-serif;
}
.look-pick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 8px;
  border: 1px solid #1e293b;
  background: #0b0e16;
  border-radius: 12px;
  cursor: pointer;
  color: #e5e7eb;
  box-shadow: inset 0 2px 0 var(--look, #3B82F6);
}
.look-pick-btn span { font-size: 22px; line-height: 1; filter: drop-shadow(0 0 8px var(--look, #3B82F6)); }
.look-pick-btn em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
}
.look-pick-btn.on {
  border-color: var(--look, #3B82F6);
  background: #10182a;
  box-shadow: inset 0 2px 0 var(--look, #3B82F6), 0 0 16px rgba(59,130,246,.28);
}
.shape-row { display: grid !important; grid-template-columns: repeat(8, minmax(0, 1fr)); }

.look-mini {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}
.look-mini-btn {
  aspect-ratio: 1;
  border: 1px solid var(--aw-line, #1e293b);
  background: #0b0e16;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  padding: 0;
}
.look-mini-btn.on {
  border-color: #3B82F6;
  box-shadow: 0 0 0 1px #3B82F6, 0 0 12px rgba(59,130,246,.4);
  background: #12203a;
}
.look-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 14px;
  padding: 4px 0 28px;
}
.look-card {
  border: 1px solid #1e293b;
  background: #0b0e16;
  border-radius: 14px;
  padding: 16px 14px 14px;
  box-shadow: inset 0 3px 0 var(--look, #3B82F6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 210px;
}
.look-ico {
  font-size: 34px;
  text-align: center;
  line-height: 1.2;
  filter: drop-shadow(0 0 8px var(--look, #3B82F6));
}
.look-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--aw-text, #e5e7eb);
}
.look-bio {
  font-size: 12px;
  color: var(--aw-muted, #94a3b8);
  line-height: 1.35;
  flex: 1;
}
.look-card .pr {
  font-size: 12px;
  font-weight: 800;
  color: #FBBF24;
}
.look-card .aw-btn,
.look-card .aw-ghost {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .look-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .look-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shape-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 980px) {
  .aw-nav { width: 72px; padding: 12px 8px; }
  .aw-nav-logo > span:last-child, .aw-creator, .aw-nav-user, .aw-nav-btn span:not(.aw-inbox-n), .aw-nav-wallet-k { display: none; }
  .aw-nav-btn .aw-inbox-n {
    position: absolute;
    top: 4px;
    right: 4px;
    margin: 0;
    min-width: 14px;
    padding: 0 4px;
    font-size: 9px;
  }
  .aw-nav-x { margin: 0 0 8px; justify-content: center; }
  .aw-nav-wallet { padding: 8px 0 0; }
  .aw-nav-usdc { padding: 6px 4px; justify-content: center; }
  .aw-nav-usdc span { display: none; }
  .aw-nav-usdc b { font-size: 11px; }
  .aw-nav-pending-row span { display: none; }
  .aw-nav-pending-row { justify-content: center; padding: 5px 4px; }
  .aw-nav-withdraw { font-size: 9px; padding: 6px 2px; }
  .aw-nav-btn { justify-content: center; padding: 12px 0; }
  .aw-net-opt { font-size: 10px; padding: 5px 8px; }
  .dash-grid, .parcel-page, .market-page, .market-page.has-detail, .board-page, .q-bottom, .pf-head, .pf-stats, .pf-mid, .mk-offer-grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .dash-stats, .dash-feed, .dash-world, .dash-daily, .dash-xp { grid-area: auto; }
  #view-map .map-toolbar { left: 12px !important; right: 68px !important; top: 12px !important; bottom: auto !important; }
  #view-map.filters-on .map-toolbar { left: 12px !important; }
  .studio-grid, .studio-foot { grid-template-columns: 1fr; }
  .studio-shell { grid-template-columns: 1fr; }
  .studio-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--aw-line); }
  .aw-inbox-pane { right: 8px; left: 8px; width: auto; top: 72px; }
  .aw-box { width: 100%; }
}

#view-quests, #view-guilds { display: none !important; }

/* RainbowKit: hide search / intro / Get-install only — never CONNECT rows, close, overlay */
[data-rk] [role="dialog"] input[type="search"],
[data-rk] [role="dialog"] input[placeholder*="Search" i] {
  display: none !important;
}
[data-rk] [role="dialog"] a[href*="learn.rainbow"],
[data-rk] [role="dialog"] a[href*="understanding-web3"],
[data-rk] [role="dialog"] a[href*="rainbow.me/learn"] {
  display: none !important;
}
[data-rk] [role="dialog"] a[href*="chrome.google.com"],
[data-rk] [role="dialog"] a[href*="chromewebstore"],
[data-rk] [role="dialog"] a[href*="addons.mozilla.org"],
[data-rk] [role="dialog"] a[href*="microsoftedge.microsoft.com"],
[data-rk] [role="dialog"] a[href*="metamask.io/download"],
[data-rk] [role="dialog"] a[href*="okx.com/download"],
[data-rk] [role="dialog"] a[href*="rainbow.me/download"],
[data-rk] [role="dialog"] a[href*="coinbase.com/wallet/downloads"],
[data-rk] [role="dialog"] a[href*="/download"] {
  display: none !important;
}
