/* 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: #F1F5F9;
  --aw-muted: #94A3B8;
  --aw-dim: #64748B;
  --aw-blue: #3B82F6;
  --aw-blue2: #2563EB;
  --aw-gold: #FBBF24;
  --aw-green: #34D399;
  --aw-pink: #F472B6;
}

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

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;
}
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 4px;
  font-weight: 800;
  font-size: 16px;
  color: var(--aw-text);
  letter-spacing: .2px;
}
.aw-nav-logo .logo-mark {
  width: 22px; height: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 5px;
}
.aw-nav-logo .logo-mark i { display: block; border-radius: 3px; 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: 9px;
  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: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.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;
}
.aw-nav-btn span { flex: 1; }
.aw-nav-btn .aw-inbox-n {
  flex: 0 0 auto;
  margin-left: 0;
}
  height: 20px;
  flex-shrink: 0;
  display: block;
  stroke: currentColor;
  fill: none;
}
.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-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: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--aw-dim);
  font-weight: 600;
}
.aw-stat v {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  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-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,.35);
  background: rgba(59,130,246,.08);
  padding: 7px 12px;
  border-radius: 999px;
}
.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: 12px !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  height: 40px;
  cursor: pointer;
}
.btn-connect.connected { background: linear-gradient(135deg, #FBBF24, #F59E0B) !important; color: #0b1020 !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; }
.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-areas:
    "stats world"
    "feed world"
    "daily xp";
  gap: 14px;
  height: 100%;
  min-height: 560px;
}
.dash-stats { grid-area: stats; }
.dash-feed { grid-area: feed; overflow: auto; }
.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;
}
.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, #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: #07080C;
  display: block;
}
.dash-daily v { font-size: 26px; margin: 4px 0 12px; color: var(--aw-text); font-weight: 800; }
.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: 12px; color: var(--aw-muted); }

/* Map */
#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;
}
.map-float {
  position: absolute;
  z-index: 14;
  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);
}
.map-panel { top: 16px; left: 16px; width: 210px; padding: 14px 14px 16px; }
#view-map .map-wrap { bottom: 56px !important; }
.map-panel h4 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 1.3px;
  color: var(--aw-dim);
  font-weight: 700;
}
.map-panel select, .map-toolbar 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);
}
.map-panel .xy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--aw-line);
  font-size: 20px;
  font-weight: 800;
  color: var(--aw-text);
}
.map-panel .sub { font-size: 12px; color: var(--aw-muted); margin: 4px 0 12px; }
.map-zoom {
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  align-items: center;
  gap: 8px;
}
.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); } }
.map-toolbar {
  position: absolute !important;
  left: 242px !important;
  right: 68px !important;
  top: 16px !important;
  height: 42px !important;
  z-index: 13;
  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;
}
.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;
}

#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: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.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(6, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}
@media (max-width: 1280px) {
  #market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mk-card {
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.mk-card:hover { border-color: rgba(59,130,246,.45); }
.mk-swatch { height: 110px; flex-shrink: 0; }
.mk-card .body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.mk-card .xy { font-size: 13px; color: var(--aw-text); font-weight: 600; }
.mk-card .pr { margin-top: 6px; color: var(--aw-gold); font-size: 15px; font-weight: 800; }
.mk-acts { display: flex; gap: 8px; margin-top: 12px; }
.mk-act {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 8px 8px;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .4px;
  cursor: pointer;
}
.mk-act.view { background: rgba(255,255,255,.06); color: var(--aw-text); }
.mk-act.bid { background: var(--aw-blue2); color: #fff; }
.mk-act.mine { background: rgba(52,211,153,.14); color: #6EE7B7; cursor: default; }
.mk-tabs { margin: 0; }
#mk-offers-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#mk-listed-pane[hidden], #mk-offers-pane[hidden], #mk-looks-pane[hidden], #mk-listed-tools[hidden] { display: none !important; }
.mk-offer-col h3 { margin: 0 0 12px; font-size: 14px; color: var(--aw-text); }
.mk-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--aw-card);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
}
.mk-offer .xy { font-weight: 700; color: var(--aw-text); }
.mk-offer .amt { color: var(--aw-gold); font-weight: 800; margin-left: auto; }
.mk-offer .from { font-size: 11px; color: var(--aw-dim); width: 100%; }
.mk-offer .st-tag { font-size: 11px; font-weight: 700; color: var(--aw-muted); }
.mk-offer .acts { display: flex; gap: 6px; margin-left: auto; }
.mk-offer .acts button {
  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: 22px;
  color: var(--aw-text);
  font-weight: 800;
}

.map-stats {
  position: absolute;
  left: 16px; right: 16px; bottom: 12px;
  z-index: 14;
  display: flex;
  gap: 22px;
  padding: 10px 16px;
  background: rgba(17,21,30,.94);
  border: 1px solid var(--aw-line);
  border-radius: 12px;
  font-size: 11px;
  letter-spacing: .4px;
  color: var(--aw-dim);
}
.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-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.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-id-row .claim-id { margin: 0; flex: 1; min-width: 0; }
.cd-like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 3px 7px;
  border-radius: 99px;
  border: 1px solid var(--aw-line);
  background: transparent;
  color: var(--aw-dim);
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}
.cd-like svg {
  width: 13px;
  height: 13px;
  display: block;
}
.cd-like span { font-size: 10px; color: var(--aw-muted); }
.cd-like:hover { color: #F87171; border-color: rgba(248, 113, 113, .4); }
.cd-like.on {
  color: #F87171;
  border-color: rgba(248, 113, 113, .45);
  background: rgba(248, 113, 113, .1);
}
.cd-like.on svg { fill: #F87171; stroke: #F87171; }
.cd-like[hidden] { display: none !important; }
.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; }
#view-map.claim-open .map-zoom { right: 316px; transition: right .22s ease; }
.map-zoom { transition: right .22s ease; }

@media (max-width: 980px) {
  .claim-drawer {
    width: min(320px, 88vw);
    top: 10px;
    bottom: 64px;
  }
  #view-map.claim-open .map-zoom { right: 12px; opacity: .35; pointer-events: none; }
  #view-map.claim-open .map-panel { display: none; }
}

#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, minmax(168px, 1fr));
  gap: 12px;
}
.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 280px;
  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(4, 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; }
.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: 560px;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0c1018 !important;
}
.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-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: 1fr 1fr;
  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;
}
.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-flag { position: absolute; top: 8px; left: 8px; font-size: 18px; }
.mk-logo { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); font-size: 28px; }
.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-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-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .aw-nav { width: 72px; padding: 12px 8px; }
  .aw-nav-logo span, .aw-creator, .aw-nav-user, .aw-nav-btn span { display: none; }
  .aw-nav-btn { justify-content: center; padding: 12px 0; }
  .dash-grid, .parcel-page, .market-page, .market-page.has-detail, .board-page, .q-bottom, .pf-head, .pf-stats, .pf-mid, #mk-offers-pane { grid-template-columns: 1fr; grid-template-areas: none; }
  .dash-stats, .dash-feed, .dash-world, .dash-daily, .dash-xp { grid-area: auto; }
  .map-toolbar { left: 12px !important; right: 12px !important; top: auto !important; bottom: 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%; }
}

/* 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;
}
