/* Pludor World HUD.
   Design tokens are defined once on .pw-root so the host Pludor app can map
   them to its existing gamification design system (colours, radius, type). */

.pw-root {
  --pw-bg: rgba(10, 16, 30, 0.78);
  --pw-bg-solid: #0c1322;
  --pw-panel: rgba(16, 24, 42, 0.86);
  --pw-line: rgba(255, 255, 255, 0.09);
  --pw-text: #f4f6fb;
  --pw-muted: #9aa6bd;
  --pw-accent: #7c5cff;
  --pw-accent-2: #22d3ee;
  --pw-grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --pw-xp: #ffc94d;
  --pw-money: #34d399;
  --pw-danger: #ff5c6c;
  --pw-radius: 16px;
  --pw-radius-sm: 10px;
  --pw-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --pw-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b1220;
  color: var(--pw-text);
  font: 14px/1.4 var(--pw-font);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pw-root *, .pw-root *::before, .pw-root *::after { box-sizing: border-box; }
.pw-root [hidden] { display: none !important; }
.pw-root button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.pw-root input, .pw-root textarea, .pw-root select { font: inherit; color: var(--pw-text); user-select: text; }
.pw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.pw-muted { color: var(--pw-muted); font-size: 12.5px; }
.pw-glass, .pw-top, .pw-minimap, .pw-player, .pw-card, .pw-dock, .pw-prompt, .pw-sheet, .pw-navpill {
  background: var(--pw-bg);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--pw-line);
  box-shadow: var(--pw-shadow);
}

/* ── Top bar ── */
.pw-top { position: absolute; top: 12px; left: 12px; right: 12px; height: 54px; border-radius: 18px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 10px; z-index: 5; }
.pw-brand { display: flex; align-items: center; gap: 9px; padding-right: 6px; white-space: nowrap; }
.pw-logo { width: 32px; height: 32px; border-radius: 10px; background: var(--pw-grad); display: grid; place-items: center; font-weight: 900; font-size: 17px; box-shadow: 0 0 18px rgba(124, 92, 255, 0.55); }
.pw-brand-text { font-size: 13px; letter-spacing: 0.14em; color: var(--pw-muted); }
.pw-brand-text b { color: var(--pw-text); }
.pw-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pw-line); }
.pw-search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; }
.pw-search input::placeholder { color: var(--pw-muted); }
.pw-chip { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pw-line); white-space: nowrap; }
.pw-chip b { font-weight: 700; }
.pw-wallet b { color: var(--pw-money); }
.pw-level .pw-lvl { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #ffc94d, #ff8a3d); color: #2a1600; font-weight: 900; font-size: 12px; }
.pw-xpbar { width: 70px; height: 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pw-xpbar i { display: block; height: 100%; background: linear-gradient(90deg, #ffc94d, #ff8a3d); border-radius: 6px; transition: width 0.6s; }
.pw-icon-btn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; position: relative; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pw-line) !important; }
.pw-icon-btn:hover, .pw-chip:hover { background: rgba(255, 255, 255, 0.12); }
.pw-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pw-danger); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.pw-avatar-btn { padding: 0; }
.pw-av { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); border: 2px solid rgba(255, 255, 255, 0.85); flex: none; }
.pw-av.sm { width: 30px; height: 30px; font-size: 13px; border-width: 1.5px; }
.pw-av.lg { width: 44px; height: 44px; font-size: 18px; }
.pw-av.xl { width: 64px; height: 64px; font-size: 26px; }

/* ── Minimap ── */
.pw-minimap { position: absolute; top: 78px; left: 12px; width: 180px; height: 180px; border-radius: 20px; overflow: hidden; z-index: 4; cursor: pointer; padding: 0; }
.pw-minimap canvas { width: 100%; height: 100%; display: block; }
.pw-zone { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); }

/* ── Player card ── */
.pw-player { position: absolute; left: 12px; bottom: 12px; width: 250px; border-radius: 20px; padding: 12px; z-index: 4; }
.pw-player-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pw-name { font-weight: 800; font-size: 15px; }
.pw-rank { font-size: 12px; color: var(--pw-muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pw-rank-pill { background: var(--pw-grad); color: #fff; font-weight: 800; padding: 1px 8px; border-radius: 20px; font-size: 11px; }
.pw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.pw-needs { display: grid; gap: 5px; }
.pw-need { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: center; font-size: 11px; color: var(--pw-muted); }
.pw-need i { height: 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pw-need b { display: block; height: 100%; border-radius: 6px; transition: width 0.8s; }
.pw-need.low span { color: #ff8a8a; }
.pw-need.low i { animation: pw-pulse 1.4s infinite; }

/* ── Right column ── */
.pw-right { position: absolute; top: 78px; right: 12px; width: 280px; display: grid; gap: 10px; z-index: 4; max-height: calc(100% - 170px); overflow: auto; scrollbar-width: none; }
.pw-card { border-radius: 18px; padding: 12px; }
.pw-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pw-muted); }
.pw-card header b { color: var(--pw-text); }
.pw-count { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 1px 8px; font-weight: 800; color: var(--pw-text); }
.pw-nearby ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pw-nearby li { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: 12px; cursor: pointer; }
.pw-nearby li:hover { background: rgba(255, 255, 255, 0.07); }
.pw-nearby li div { flex: 1; min-width: 0; display: grid; }
.pw-nearby li small { color: var(--pw-muted); font-size: 11px; }
.pw-nearby li em { font-style: normal; color: var(--pw-muted); font-size: 11px; }
.pw-quest-title { font-weight: 800; font-size: 14.5px; margin-bottom: 6px; }
.pw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; }
.pw-steps li { display: flex; gap: 8px; align-items: center; color: var(--pw-muted); }
.pw-steps li span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); flex: none; }
.pw-steps li.cur { color: var(--pw-text); }
.pw-steps li.cur span { border-color: var(--pw-xp); box-shadow: 0 0 8px var(--pw-xp); }
.pw-steps li.done { text-decoration: line-through; opacity: 0.6; }
.pw-steps li.done span { background: var(--pw-money); border-color: var(--pw-money); }
.pw-steps em { font-style: normal; color: var(--pw-xp); margin-left: auto; }
.pw-reward { margin-top: 8px; font-size: 12px; color: var(--pw-muted); }
.pw-reward b { color: var(--pw-xp); }
.pw-tag { display: inline-block; padding: 2px 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); font-size: 11px; font-weight: 700; color: var(--pw-text); }
.pw-tag.ok { background: rgba(52, 211, 153, 0.18); color: #7ef0c4; }
.pw-live-dot { display: inline-block; width: 8px; height: 8px; background: #ff4d6d; border-radius: 50%; margin-right: 6px; animation: pw-pulse 1.2s infinite; vertical-align: middle; }

/* ── Interaction prompt ── */
.pw-prompt { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); border-radius: 18px; padding: 10px 12px; z-index: 6; min-width: 280px; max-width: min(560px, calc(100% - 24px)); animation: pw-rise 0.22s ease-out; }
.pw-prompt-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pw-prompt-head b { display: block; font-size: 15px; }
.pw-prompt-head small { color: var(--pw-muted); }
.pw-prompt kbd { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: #111; font: 800 13px var(--pw-font); box-shadow: 0 3px 0 #9aa6bd; }
.pw-prompt-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-navpill { position: absolute; left: 50%; top: 78px; transform: translateX(-50%); border-radius: 30px; padding: 6px 8px 6px 16px; display: flex; gap: 10px; align-items: center; z-index: 5; font-weight: 700; }

/* ── Dock + AI ── */
.pw-dock { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); border-radius: 22px; padding: 6px; display: flex; gap: 2px; z-index: 5; }
.pw-dock button { display: grid; justify-items: center; gap: 1px; padding: 6px 12px; border-radius: 14px; font-size: 11.5px; font-weight: 700; color: var(--pw-muted); min-width: 62px; }
.pw-dock button span { font-size: 19px; line-height: 1.1; }
.pw-dock button:hover { background: rgba(255, 255, 255, 0.08); color: var(--pw-text); }
.pw-ai-fab { position: absolute; right: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 30px; background: var(--pw-grad) !important; font-weight: 800; box-shadow: 0 8px 30px rgba(124, 92, 255, 0.55); }
.pw-ai-fab:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pw-ai-orb { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #c9bbff 25%, #7c5cff 60%, #22d3ee 100%); box-shadow: 0 0 14px rgba(255, 255, 255, 0.6); animation: pw-orb 3s ease-in-out infinite; flex: none; }
.pw-ai-orb.sm { width: 26px; height: 26px; }

/* ── Buttons ── */
.pw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 12px; background: var(--pw-grad) !important; font-weight: 800; color: #fff !important; box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35); transition: transform 0.1s, filter 0.15s; white-space: nowrap; }
.pw-btn:hover { filter: brightness(1.1); }
.pw-btn:active { transform: scale(0.97); }
.pw-btn.ghost { background: rgba(255, 255, 255, 0.08) !important; box-shadow: none; border: 1px solid var(--pw-line) !important; }
.pw-btn.ghost.on { background: rgba(124, 92, 255, 0.3) !important; }
.pw-btn.danger { background: linear-gradient(135deg, #ff5c6c, #ff8a5b) !important; }
.pw-btn.ghost.danger { background: rgba(255, 92, 108, 0.12) !important; color: #ff9aa5 !important; }
.pw-btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 10px; }
.pw-btn[disabled] { opacity: 0.45; pointer-events: none; }
.pw-link-btn { color: #b9a8ff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.pw-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; align-items: center; }
.pw-row.tight { margin: 0; gap: 6px; flex-wrap: nowrap; }
.pw-col { display: grid; gap: 6px; }

/* ── Sheet ── */
.pw-sheet { position: absolute; top: 78px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); border-radius: 22px; z-index: 8; display: flex; flex-direction: column; transform: translateX(calc(100% + 24px)); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); background: var(--pw-panel); user-select: text; }
.pw-sheet.open { transform: none; }
.pw-sheet.pw-wide { width: min(1040px, calc(100% - 24px)); } /* the in-game Pludor window: real Pludor pages */
.pw-sheet-open .pw-right, .pw-sheet-open .pw-ai-fab { opacity: 0; pointer-events: none; }
.pw-sheet-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--pw-line); }
.pw-sheet-head h2 { flex: 1; margin: 0; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-sheet-body { flex: 1; overflow: auto; padding: 14px 16px 18px; overscroll-behavior: contain; }
.pw-sheet-body h4 { margin: 16px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pw-muted); }
.pw-sheet-body h3 { margin: 4px 0; }
.pw-blurb { color: #cfd6e4; margin: 10px 0; }
.pw-empty { padding: 20px; text-align: center; color: var(--pw-muted); border: 1px dashed var(--pw-line); border-radius: var(--pw-radius); }
.pw-note { padding: 10px 12px; border-radius: 12px; background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.25); margin: 10px 0; font-size: 13px; }
.pw-note.good { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.3); }
.pw-warn { color: #ffb4a3; font-size: 13px; }
.pw-list { display: grid; gap: 8px; }
.pw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pw-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.pw-tile { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--pw-line) !important; font-size: 12px; font-weight: 700; text-align: center; }
.pw-tile span { font-size: 22px; }
.pw-tile:hover { background: rgba(255, 255, 255, 0.12) !important; }
.pw-tile.on { background: rgba(124, 92, 255, 0.28) !important; border-color: rgba(124, 92, 255, 0.6) !important; }
.pw-tile.off { opacity: 0.4; }
.pw-tile small { color: var(--pw-muted); font-size: 10px; }
.pw-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); margin: 12px 0; overflow-x: auto; }
.pw-tabs button { flex: 1; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--pw-muted); white-space: nowrap; }
.pw-tabs button.on { background: rgba(255, 255, 255, 0.12); color: var(--pw-text); }
.pw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pw-chip-btn { padding: 7px 11px; border-radius: 20px; background: rgba(255, 255, 255, 0.07) !important; border: 1px solid var(--pw-line) !important; font-size: 12.5px; font-weight: 600; }
.pw-chip-btn:hover { background: rgba(255, 255, 255, 0.14) !important; }
.pw-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.pw-kv div { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); display: grid; }
.pw-kv span { font-size: 11px; color: var(--pw-muted); }
.pw-kv b { font-size: 13px; }

.pw-place-hero { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, transparent), rgba(255, 255, 255, 0.03)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.pw-place-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(0, 0, 0, 0.25); flex: none; }
.pw-place-kind { font-weight: 800; }
.pw-place-meta { font-size: 12px; color: var(--pw-muted); }
.pw-hero-acts { margin-left: auto; }
.pw-open.yes { color: #7ef0c4; font-weight: 700; }
.pw-open.no { color: #ff9aa5; font-weight: 700; }
.pw-stars { color: var(--pw-xp); font-weight: 700; }
.pw-claim-banner { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 201, 77, 0.2), rgba(255, 138, 61, 0.12)); border: 1px solid rgba(255, 201, 77, 0.4); margin: 10px 0; }
.pw-claim-banner span { font-size: 12.5px; color: #e9dcc0; }
.pw-claim-banner .pw-btn { justify-self: start; margin-top: 4px; }

.pw-catalog { display: grid; gap: 8px; }
.pw-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pw-line); }
.pw-item-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, 0.07); flex: none; }
.pw-item-icon.pic { background-size: cover; background-position: center; background-repeat: no-repeat; }
.pw-photo-pick { display: grid; place-items: center; min-height: 42px; border: 1.5px dashed rgba(255, 255, 255, 0.3); border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 14px; }
.pw-photo-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pw-photo-pick.on { border-color: #36d399; border-style: solid; color: #36d399; }
.pw-item-body { flex: 1; min-width: 0; display: grid; }
.pw-item-body small { color: var(--pw-muted); font-size: 12px; }
.pw-price { font-weight: 800; color: var(--pw-money); }
.pw-qty { display: flex; align-items: center; gap: 6px; }
.pw-qty button { width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, 0.1) !important; font-weight: 900; font-size: 16px; }
.pw-qty button:last-child { background: var(--pw-grad) !important; }
.pw-cart { position: sticky; bottom: -18px; margin: 12px -16px -18px; padding: 12px 16px; background: var(--pw-bg-solid); border-top: 1px solid var(--pw-line); display: grid; gap: 8px; }
.pw-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.pw-seg { display: flex; gap: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 3px; }
.pw-seg button { flex: 1; padding: 7px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--pw-muted); }
.pw-seg button.on { background: rgba(255, 255, 255, 0.14); color: var(--pw-text); }
.pw-coupons { display: flex; gap: 6px; flex-wrap: wrap; }
.pw-coupon { padding: 6px 10px; border-radius: 10px; border: 1px dashed rgba(255, 201, 77, 0.6) !important; font-size: 12px; font-weight: 700; }
.pw-coupon.on { background: rgba(255, 201, 77, 0.2) !important; }
.pw-receipt { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); margin: 10px 0; font-size: 13.5px; }
.pw-receipt div { display: flex; justify-content: space-between; }
.pw-receipt .tot { border-top: 1px solid var(--pw-line); padding-top: 6px; font-weight: 800; }
.pw-success { text-align: center; padding: 14px 4px; display: grid; justify-items: center; gap: 4px; }
.pw-success .pw-receipt { width: 100%; text-align: left; }
.pw-success-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #34d399, #22d3ee); display: grid; place-items: center; font-size: 26px; font-weight: 900; animation: pw-pop 0.4s ease-out; }
.pw-svc { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; text-align: left; }
.pw-svc > span { font-size: 22px; }
.pw-svc div { flex: 1; display: grid; }
.pw-svc small { color: var(--pw-muted); }
.pw-svc.on { border-color: var(--pw-accent) !important; background: rgba(124, 92, 255, 0.18) !important; }
.pw-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-slots button { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.07) !important; font-weight: 700; font-size: 13px; }
.pw-slots button.on { background: var(--pw-grad) !important; }
.pw-events-strip { display: flex; gap: 6px; overflow-x: auto; margin: 10px 0; }
.pw-ev { padding: 6px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.07) !important; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pw-ev.live { background: rgba(255, 77, 109, 0.2) !important; }

.pw-gig { display: grid; gap: 4px; text-align: left; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; }
.pw-gig:hover { background: rgba(255, 255, 255, 0.09) !important; }
.pw-gig.ok { border-left: 3px solid var(--pw-money) !important; }
.pw-gig.locked { border-left: 3px solid var(--pw-xp) !important; }
.pw-gig.active { border-left: 3px solid var(--pw-accent-2) !important; }
.pw-gig.mine { border-left: 3px solid var(--pw-accent) !important; }
.pw-gig-top { display: flex; justify-content: space-between; align-items: center; }
.pw-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pw-muted); font-weight: 800; }
.pw-pay { color: var(--pw-money); font-weight: 900; }
.pw-pay.big { font-size: 26px; }
.pw-gig-title { font-weight: 800; }
.pw-gig-meta { font-size: 12px; color: var(--pw-muted); }
.pw-gig-tag { color: var(--pw-text); font-weight: 700; }
.pw-gig.locked .pw-gig-tag { color: var(--pw-xp); }
.pw-gig.ok .pw-gig-tag { color: #7ef0c4; }
.pw-gig-hero { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(34, 211, 238, 0.08)); border: 1px solid rgba(52, 211, 153, 0.25); justify-items: start; }
.pw-gig-hero .pw-tag { margin-right: 4px; }
.pw-gate { padding: 12px; border-radius: 14px; background: rgba(255, 201, 77, 0.12); border: 1px solid rgba(255, 201, 77, 0.35); margin: 10px 0; display: grid; gap: 8px; justify-items: start; }
.pw-gate p { margin: 0; color: #e9dcc0; font-size: 13px; }
.pw-form { display: grid; gap: 8px; margin: 10px 0; }
.pw-form.inline { display: flex; }
.pw-form label { display: grid; gap: 4px; font-size: 12px; color: var(--pw-muted); }
.pw-form input, .pw-form textarea, .pw-form select, .pw-select, .pw-chat-form input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--pw-line); background: rgba(255, 255, 255, 0.06); outline: none; }
.pw-select option, .pw-form select option { background: #111827; }
.pw-form input:focus, .pw-form textarea:focus, .pw-chat-form input:focus { border-color: var(--pw-accent); }
.pw-mini { display: grid; gap: 4px; font-size: 12px; color: var(--pw-muted); }
.pw-course { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; }
.pw-course div { flex: 1; display: grid; gap: 2px; }
.pw-course small { color: var(--pw-muted); }
.pw-course.done { opacity: 0.65; }
.pw-course > span { font-weight: 900; color: var(--pw-money); }
.pw-lessons { padding-left: 18px; color: #cfd6e4; }
.pw-quiz { display: grid; gap: 6px; margin: 10px 0; }
.pw-quiz button { text-align: left; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--pw-line) !important; }
.pw-quiz button.on { background: rgba(124, 92, 255, 0.28) !important; border-color: var(--pw-accent) !important; }
.pw-skills { display: grid; gap: 6px; }
.pw-skill { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.pw-skill.zero { opacity: 0.5; }
.pw-skill i { display: flex; gap: 3px; }
.pw-skill i b { width: 16px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.pw-skill i b.on { background: var(--pw-grad); }
.pw-person { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.pw-person > div:first-of-type { flex: 1; min-width: 0; }
.pw-person small { color: var(--pw-muted); font-size: 11.5px; }
.pw-result { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05) !important; text-align: left; width: 100%; }
.pw-result > div:first-child { display: grid; min-width: 0; }
.pw-result small { color: var(--pw-muted); font-size: 12px; }
.pw-comm { display: grid; gap: 3px; justify-items: start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pw-line); }
.pw-comm > span { font-size: 22px; }
.pw-comm small { color: var(--pw-muted); }
.pw-reel { display: flex; gap: 10px; align-items: center; text-align: left; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; }
.pw-reel div:last-child { display: grid; gap: 2px; justify-items: start; }
.pw-reel small { color: var(--pw-muted); }
.pw-reel-thumb { width: 56px; height: 80px; border-radius: 10px; background: linear-gradient(160deg, #ff4d6d, #7c5cff); display: grid; place-items: center; font-size: 20px; flex: none; }
.pw-player-vid { position: relative; aspect-ratio: 9 / 12; max-height: 52vh; border-radius: 18px; overflow: hidden; margin: 0 auto; }
.pw-vid-anim { position: absolute; inset: 0; background: linear-gradient(120deg, #ff4d6d, #7c5cff, #22d3ee, #ffc94d); background-size: 400% 400%; animation: pw-vid 8s ease infinite; }
.pw-vid-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); display: grid; }
.pw-ad { display: grid; gap: 4px; padding: 22px 18px; border-radius: 18px; background: linear-gradient(135deg, var(--g1), var(--g2)); margin-bottom: 10px; }
.pw-ad b { font-size: 28px; font-weight: 900; letter-spacing: -0.01em; }
.pw-ad small { opacity: 0.85; font-size: 11px; }
.pw-games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.pw-game { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 16px 14px; border-radius: 18px; background: linear-gradient(135deg, var(--g1, #333), var(--g2, #222)) !important; min-height: 130px; }
.pw-game span { font-size: 30px; }
.pw-game b { font-size: 16px; }
.pw-game small { opacity: 0.85; font-size: 11.5px; }
.pw-game.soon { background: rgba(255, 255, 255, 0.05) !important; opacity: 0.6; }
.pw-pad { width: 100%; height: 220px; border-radius: 22px; font-size: 22px; font-weight: 900; margin: 8px 0; transition: background 0.1s; }
.pw-pad.idle { background: rgba(255, 255, 255, 0.08) !important; }
.pw-pad.wait { background: linear-gradient(135deg, #ff5c6c, #b0244a) !important; }
.pw-pad.go { background: linear-gradient(135deg, #34d399, #0ea371) !important; }
.pw-pad.early { background: linear-gradient(135deg, #ffc94d, #ff8a3d) !important; color: #2a1600 !important; }
.pw-times { display: flex; gap: 6px; flex-wrap: wrap; }
.pw-times span { padding: 4px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-weight: 700; font-size: 12.5px; }
.pw-chat-head { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.pw-chat-head small { margin-left: auto; }
.pw-chat, .pw-ai-log { display: flex; flex-direction: column; gap: 8px; min-height: 160px; max-height: 46vh; overflow: auto; padding: 4px 0 8px; }
.pw-msg { align-self: flex-start; max-width: 82%; display: grid; }
.pw-msg span { padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.09); }
.pw-msg small { color: var(--pw-muted); font-size: 10.5px; margin: 2px 6px; }
.pw-msg.me { align-self: flex-end; }
.pw-msg.me span { background: var(--pw-grad); border-radius: 16px 16px 4px 16px; }
.pw-msg.me small { text-align: right; }
.pw-chat-form { display: flex; gap: 8px; position: sticky; bottom: -18px; background: var(--pw-panel); padding: 10px 0; }
.pw-agent-msg { display: flex; gap: 10px; align-items: flex-start; }
.pw-agent-msg > div { flex: 1; display: grid; gap: 6px; min-width: 0; }
.pw-agent-msg p { margin: 0; padding: 10px 12px; border-radius: 4px 16px 16px 16px; background: rgba(124, 92, 255, 0.16); border: 1px solid rgba(124, 92, 255, 0.25); }
.pw-recs { padding-left: 20px; display: grid; gap: 6px; }
.pw-event { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.pw-event > div:first-child { display: grid; min-width: 0; }
.pw-event small { color: var(--pw-muted); font-size: 12px; }
.pw-event.live { border: 1px solid rgba(255, 77, 109, 0.5); }
.pw-event.hl { box-shadow: 0 0 0 2px var(--pw-accent); }
.pw-questcard { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.pw-questcard small { color: var(--pw-muted); }
.pw-questcard.locked { opacity: 0.55; }
.pw-questcard.done { opacity: 0.7; }
.pw-wallet-hero { display: grid; gap: 2px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #0ea371, #0b6b8a); }
.pw-wallet-hero b { font-size: 32px; font-weight: 900; }
.pw-wallet-hero small, .pw-wallet-hero span { opacity: 0.85; font-size: 12.5px; }
.pw-wallet-hero em { justify-self: start; font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); margin-top: 4px; }
.pw-tx { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.pw-tx > div { display: grid; min-width: 0; }
.pw-tx small { color: var(--pw-muted); font-size: 12px; }
.pw-tx .pos { color: var(--pw-money); }
.pw-tx .neg { color: #ffb4a3; }
.pw-status { justify-self: start; margin-top: 3px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px; background: rgba(34, 211, 238, 0.18); color: #9ef0ff; text-transform: capitalize; }
.pw-profile-hero { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, transparent), rgba(255, 255, 255, 0.03)); }
.pw-profile-hero h3 { margin: 0; font-size: 20px; }
.pw-profile-hero small { color: var(--pw-muted); }
.pw-levelbox { display: grid; gap: 6px; margin: 12px 0; }
.pw-levelbox i { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pw-levelbox i span { display: block; height: 100%; background: linear-gradient(90deg, #ffc94d, #ff8a3d); }
.pw-levelbox small { color: var(--pw-muted); }
.pw-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-badge-tile { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); opacity: 0.35; filter: grayscale(1); text-align: center; }
.pw-badge-tile.on { opacity: 1; filter: none; background: rgba(255, 201, 77, 0.14); }
.pw-badge-tile span { font-size: 22px; }
.pw-badge-tile small { font-size: 10px; line-height: 1.2; }
.pw-ladder { padding-left: 20px; display: grid; gap: 3px; color: var(--pw-muted); font-size: 13px; }
.pw-ladder li.cur { color: var(--pw-xp); font-weight: 800; }
.pw-bigmap canvas { width: 100%; aspect-ratio: 1; border-radius: 16px; display: block; cursor: crosshair; }
.pw-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--pw-muted); margin: 8px 0 12px; }
.pw-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }

/* ── Plates (nameplates, pins) ── */
.pw-plates { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.pw-plate { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: rgba(10, 16, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.15); display: flex; align-items: center; gap: 4px; will-change: transform; }
.pw-plate.person.focus { background: rgba(124, 92, 255, 0.92); border-color: #fff; }
.pw-talk { margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: #fff; color: #3b2bb0; font-size: 10.5px; letter-spacing: 0.04em; }
.pw-plate.agent { background: rgba(255, 255, 255, 0.92); color: #111827; flex-direction: row; }
.pw-plate.agent small { color: #5b6476; font-weight: 600; }
.pw-plate.gig, .pw-plate.live, .pw-plate.land { pointer-events: auto; cursor: pointer; padding: 5px 11px; }
.pw-plate.gig { background: linear-gradient(135deg, #0ea371, #22d3ee); border: 0; box-shadow: 0 4px 16px rgba(14, 163, 113, 0.5); }
.pw-plate.gig em { font-style: normal; background: rgba(0, 0, 0, 0.25); border-radius: 10px; padding: 0 6px; }
.pw-plate.live { background: linear-gradient(135deg, #ff4d6d, #b0244a); border: 0; }
.pw-plate.land { background: rgba(255, 209, 102, 0.95); color: #2a1f00; border: 0; }
.pw-plate.gig::after, .pw-plate.live::after, .pw-plate.land::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: inherit; }

/* ── Toasts / banners / overlays ── */
.pw-toasts { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; z-index: 12; justify-items: center; pointer-events: none; width: min(420px, calc(100% - 24px)); }
.pw-toast { pointer-events: auto; display: flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 14px; background: rgba(10, 16, 30, 0.92); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); font-size: 13px; font-weight: 600; animation: pw-rise 0.25s ease-out; transition: opacity 0.35s, transform 0.35s; text-align: left; }
.pw-toast.out { opacity: 0; transform: translateY(-8px); }
.pw-notif { border-color: rgba(124, 92, 255, 0.5) !important; }
.pw-xpfloat { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); font-size: 30px; font-weight: 900; color: var(--pw-xp); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 201, 77, 0.6); pointer-events: none; z-index: 13; animation: pw-float 1.4s ease-out forwards; }
.pw-banner { position: absolute; top: 140px; left: 50%; transform: translateX(-50%); z-index: 13; display: grid; justify-items: center; gap: 2px; padding: 14px 28px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 201, 77, 0.95), rgba(255, 138, 61, 0.95)); color: #2a1600; box-shadow: 0 10px 40px rgba(255, 160, 60, 0.45); pointer-events: none; text-align: center; }
.pw-banner b { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.pw-banner span { font-size: 19px; font-weight: 900; }
.pw-banner.show { animation: pw-banner 2.6s ease-out forwards; }
.pw-call { position: absolute; inset: 0; z-index: 14; display: grid; place-items: center; background: rgba(5, 8, 16, 0.45); }
.pw-call-box { display: grid; justify-items: center; gap: 8px; padding: 24px 28px; border-radius: 24px; background: var(--pw-panel); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); min-width: 280px; text-align: center; }
.pw-call-box small { color: var(--pw-muted); }
.pw-call-av { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--pw-grad); }
.pw-call-box.ring .pw-call-av { animation: pw-ring 1.2s infinite; }
.pw-wave { display: flex; gap: 4px; height: 24px; align-items: center; }
.pw-wave i { width: 5px; height: 100%; border-radius: 3px; background: var(--pw-accent-2); animation: pw-eq 0.9s ease-in-out infinite; }
.pw-wave i:nth-child(2) { animation-delay: 0.15s; } .pw-wave i:nth-child(3) { animation-delay: 0.3s; } .pw-wave i:nth-child(4) { animation-delay: 0.45s; } .pw-wave i:nth-child(5) { animation-delay: 0.6s; }
.pw-link-modal { position: absolute; inset: 0; z-index: 15; display: grid; place-items: center; background: rgba(5, 8, 16, 0.5); }
.pw-link-box { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 24px; border-radius: 22px; background: var(--pw-panel); border: 1px solid var(--pw-line); width: min(380px, calc(100% - 32px)); }
.pw-link-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--pw-grad); display: grid; place-items: center; font-size: 26px; font-weight: 900; }
.pw-link-box code { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; }
.pw-fade { position: absolute; inset: 0; background: #0b1220; opacity: 0; pointer-events: none; z-index: 16; transition: opacity 0.35s; }
.pw-fade.on { opacity: 1; }
.pw-stick { position: absolute; left: 22px; bottom: 150px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.18); z-index: 6; display: grid; place-items: center; touch-action: none; }
.pw-stick i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }

/* ── Loading ── */
.pw-loading { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1b1f4a 0, #0b1220 70%); transition: opacity 0.6s; }
.pw-loading.done { opacity: 0; pointer-events: none; }
.pw-loading-box { display: grid; justify-items: center; gap: 14px; text-align: center; }
.pw-loading .pw-logo { width: 72px; height: 72px; font-size: 38px; border-radius: 22px; animation: pw-orb 2.4s ease-in-out infinite; }
.pw-loading h1 { margin: 0; font-size: 22px; letter-spacing: 0.24em; }
.pw-loading h1 span { color: var(--pw-muted); font-weight: 600; }
.pw-loading-bar { width: 220px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pw-loading-bar i { display: block; height: 100%; width: 0; background: var(--pw-grad); transition: width 0.3s; }
.pw-loading small { color: var(--pw-muted); }

@keyframes pw-pulse { 50% { opacity: 0.45; } }
@keyframes pw-rise { from { opacity: 0; transform: translate(-50%, 8px); } }
.pw-toast { animation-name: pw-rise-plain; }
@keyframes pw-rise-plain { from { opacity: 0; transform: translateY(8px); } }
@keyframes pw-orb { 50% { transform: scale(1.08); filter: hue-rotate(25deg); } }
@keyframes pw-pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes pw-float { 0% { opacity: 0; transform: translate(-50%, 10px) scale(0.8); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -70px) scale(1); } }
@keyframes pw-banner { 0% { opacity: 0; transform: translate(-50%, -16px) scale(0.9); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.03); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes pw-ring { 50% { box-shadow: 0 0 0 14px rgba(124, 92, 255, 0); } 0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.6); } }
@keyframes pw-eq { 50% { transform: scaleY(0.3); } }
@keyframes pw-vid { 50% { background-position: 100% 50%; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pw-brand-text { display: none; }
  .pw-right { width: 240px; }
}
@media (max-width: 820px) {
  .pw-top { top: 8px; left: 8px; right: 8px; height: 50px; gap: 6px; padding: 0 6px; }
  .pw-clock, .pw-level .pw-xpbar { display: none; }
  .pw-search { height: 36px; }
  .pw-chip { padding: 0 9px; height: 36px; }
  .pw-icon-btn { width: 36px; height: 36px; }
  .pw-avatar-btn { display: none; }
  .pw-minimap { top: 66px; left: 8px; width: 112px; height: 112px; border-radius: 16px; }
  .pw-zone { font-size: 10px; bottom: 4px; left: 4px; right: 4px; }
  .pw-right { top: 66px; right: 8px; width: 190px; gap: 8px; }
  .pw-right .pw-quest, .pw-right .pw-live { display: none; }
  .pw-nearby li:nth-child(n + 3) { display: none; }
  .pw-player { display: none; }
  .pw-dock { left: 8px; right: 8px; transform: none; bottom: 8px; justify-content: space-between; border-radius: 18px; padding: 4px; }
  .pw-dock button { min-width: 0; flex: 1; padding: 5px 2px; font-size: 10px; }
  .pw-dock button span { font-size: 18px; }
  .pw-ai-fab { right: 10px; bottom: 76px; padding: 6px; }
  .pw-ai-fab span:last-child { display: none; }
  .pw-prompt { bottom: 76px; left: 8px; right: 8px; transform: none; min-width: 0; max-width: none; animation-name: pw-rise-plain; }
  .pw-sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(82%, 720px); border-radius: 22px 22px 0 0; transform: translateY(105%); }
  .pw-sheet.open { transform: none; }
  .pw-sheet-open .pw-prompt, .pw-sheet-open .pw-dock { opacity: 0; pointer-events: none; }
  .pw-stick { bottom: 140px; left: 16px; width: 110px; height: 110px; }
  .pw-navpill { top: 66px; font-size: 12px; }
  .pw-toasts { top: 64px; }
  .pw-games { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pw-wallet span { display: none; }
  .pw-right { width: 150px; }
  .pw-nearby li small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-root *, .pw-root *::before, .pw-root *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Auth + connection status ── */
.pw-auth { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #1b2a6b 0, #0b1220 70%); padding: 16px; }
.pw-auth-box { width: min(380px, 100%); display: grid; gap: 12px; padding: 28px 24px; border-radius: 24px; background: var(--pw-panel); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); justify-items: stretch; text-align: center; }
.pw-auth-box .pw-logo { width: 56px; height: 56px; font-size: 30px; border-radius: 18px; justify-self: center; }
.pw-auth-box h1 { margin: 0; font-size: 20px; letter-spacing: 0.22em; }
.pw-auth-box h1 span { color: var(--pw-muted); font-weight: 600; }
.pw-auth-box label { display: grid; gap: 4px; text-align: left; font-size: 12px; color: var(--pw-muted); }
.pw-auth-box input { padding: 12px; border-radius: 12px; border: 1px solid var(--pw-line); background: rgba(255, 255, 255, 0.06); color: var(--pw-text); font: inherit; outline: none; }
.pw-auth-box input:focus { border-color: var(--pw-accent); }
.pw-auth-err { color: #ff9aa5; min-height: 18px; margin: 0; font-size: 13px; }
.pw-conn { position: fixed; left: 50%; top: 76px; max-width: calc(100vw - 24px); box-sizing: border-box; transform: translateX(-50%); z-index: 50; padding: 8px 14px; border-radius: 20px; font: 600 13px var(--pw-font, system-ui); color: #fff; background: rgba(10, 16, 30, 0.92); border: 1px solid rgba(255, 255, 255, 0.15); }
.pw-conn.warn { background: rgba(176, 106, 0, 0.95); }
.pw-conn.error { background: rgba(176, 30, 50, 0.95); }
.pw-online { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pw-online i { width: 8px; height: 8px; border-radius: 50%; background: #36d399; box-shadow: 0 0 8px #36d399; }
@media (max-width: 820px) { .pw-online { display: none; } }

/* ── HUD v2 (reference layout) ── */
.pw-brand-text { display: flex; align-items: center; gap: 10px; }
.pw-brand-text b { font-size: 17px; letter-spacing: 0.06em; color: var(--pw-text); }
.pw-brand-text em { font-style: normal; font-size: 15px; letter-spacing: 0.24em; color: var(--pw-muted); padding-left: 10px; border-left: 1px solid var(--pw-line); }
.pw-coin { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #4a2a00; background: radial-gradient(circle at 35% 30%, #ffe8a3, #ffb300 70%); box-shadow: 0 0 10px rgba(255, 179, 0, 0.5); }
.pw-wallet b { color: #ffd166; }
.pw-me-btn { display: flex; align-items: center; gap: 9px; padding: 3px 10px 3px 3px !important; border-radius: 26px; background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--pw-line) !important; }
.pw-me-txt { display: grid; text-align: left; line-height: 1.15; }
.pw-me-txt b { font-size: 13px; }
.pw-me-txt small { color: var(--pw-muted); font-size: 11px; }
.pw-chev { color: var(--pw-muted); }
.pw-av.pic { background-size: cover !important; background-position: center 20% !important; background-repeat: no-repeat !important; }
.pw-minimap { width: 230px; height: 200px; }
.pw-north { position: absolute; left: 10px; top: 8px; font: 800 12px var(--pw-font); color: #fff; text-shadow: 0 1px 3px #000; }
.pw-map-btns { position: absolute; right: 8px; top: 8px; display: grid; gap: 4px; }
.pw-map-btns button { width: 28px; height: 28px; border-radius: 9px; background: rgba(10, 16, 30, 0.75) !important; border: 1px solid var(--pw-line) !important; font-weight: 800; }
.pw-zone { display: grid; text-align: left; left: 0; right: 0; bottom: 0; border-radius: 0; padding: 6px 12px; background: linear-gradient(transparent, rgba(5, 10, 20, 0.85)); }
.pw-zone b { font-size: 13px; }
.pw-zone small { font-size: 11px; color: var(--pw-muted); font-weight: 600; }
.pw-player { width: 300px; padding: 14px; }
.pw-player-id { flex: 1; min-width: 0; }
.pw-av.lg { width: 56px; height: 56px; }
.pw-xprow { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.pw-xpfill { flex: 1; height: 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pw-xpfill b { display: block; height: 100%; background: linear-gradient(90deg, #22d3ee, #3b82f6); border-radius: 6px; transition: width 0.6s; }
.pw-xptext { color: var(--pw-muted); font-size: 11px; white-space: nowrap; }
.pw-needs { grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0 10px; }
.pw-need { grid-template-columns: auto 1fr; gap: 4px; }
.pw-need span { font-size: 12px; }
.pw-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-quick button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; font-size: 10.5px; font-weight: 700; }
.pw-quick button span { font-size: 18px; }
.pw-quick button:hover { background: rgba(255, 255, 255, 0.12) !important; }
.pw-quick em { font-style: normal; color: #ffd166; font-size: 10px; }
.pw-right { width: 290px; }
.pw-nearby li { padding: 4px; gap: 6px; cursor: default; }
.pw-near-who { flex: 1; display: flex; align-items: center; gap: 9px; text-align: left; min-width: 0; }
.pw-near-txt { display: grid; min-width: 0; }
.pw-near-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-follow { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.1) !important; border: 1px solid var(--pw-line) !important; font-size: 12px; font-weight: 700; }
.pw-follow.on { background: rgba(124, 92, 255, 0.35) !important; }
.pw-qicon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--pw-grad); color: #fff; font-size: 11px; font-weight: 900; margin-right: 6px; }
.pw-quest-desc { margin: 2px 0 8px; font-size: 12.5px; color: #cfd6e4; }
.pw-qbar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pw-qbar i { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #22d3ee); }
.pw-qfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 12px; color: var(--pw-muted); }
.pw-qreward { color: #ffd166; }
.pw-biz-row { display: flex; gap: 10px; align-items: center; }
.pw-biz-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, #000), #1d2233); }
.pw-biz-txt { display: grid; }
.pw-biz-txt small { color: var(--pw-muted); font-size: 12px; }
.pw-biz-acts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.pw-ai-fab { display: none; }
.pw-ai-box { position: absolute; right: 12px; bottom: 12px; z-index: 6; width: 340px; padding: 12px; border-radius: 18px; background: var(--pw-bg); backdrop-filter: blur(14px); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); }
.pw-ai-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; cursor: pointer; font-size: 15px; }
.pw-ai-bot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pw-grad); }
.pw-ai-row { display: flex; gap: 8px; }
.pw-ai-row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--pw-line); background: rgba(255, 255, 255, 0.06); outline: none; }
.pw-ai-row button { width: 40px; border-radius: 50%; background: #3b82f6 !important; font-size: 16px; }
.pw-dock button span { font-size: 21px; }
.pw-sheet-open .pw-ai-box { opacity: 0; pointer-events: none; }
@media (max-width: 1250px) { .pw-online, .pw-clock { display: none; } .pw-ai-box { width: 280px; } }
@media (max-width: 820px) {
  .pw-me-txt, .pw-chev, .pw-brand-text { display: none; }
  .pw-minimap { width: 120px; height: 120px; }
  .pw-map-btns { display: none; }
  .pw-ai-box { left: 8px; right: 8px; width: auto; bottom: 74px; padding: 8px; }
  .pw-ai-head { display: none; }
  .pw-prompt { bottom: 130px; }
  .pw-right .pw-biz { display: none; }
  .pw-stick { bottom: 190px; }
}
.pw-looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pw-look { display: grid; justify-items: center; gap: 4px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; }
.pw-look span { width: 56px; height: 56px; border-radius: 50%; background: #2a3d5c center 20% / cover; }
.pw-look small { font-size: 10.5px; color: var(--pw-muted); }
.pw-look.on { border-color: var(--pw-accent) !important; background: rgba(124, 92, 255, 0.2) !important; }
.pw-inv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pw-inv-item { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.pw-inv-item span { font-size: 22px; }
.pw-inv-item small { color: var(--pw-muted); font-size: 11px; }
.pw-check { display: flex !important; align-items: center; gap: 8px; color: var(--pw-text) !important; font-size: 13px !important; }
.pw-check input { width: auto !important; }
.pw-delivery { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(255, 138, 61, 0.1)); border: 1px solid rgba(255, 209, 102, 0.4); margin: 10px 0; }
.pw-delivery small { color: #e9dcc0; }
.pw-steps-row { display: flex; gap: 6px; list-style: none; padding: 0; margin: 4px 0; font-size: 12px; }
.pw-steps-row li { flex: 1; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); color: var(--pw-muted); text-align: center; }
.pw-steps-row li.done { background: rgba(52, 211, 153, 0.25); color: #7ef0c4; }
.pw-steps-row li.cur { background: rgba(124, 92, 255, 0.35); color: #fff; font-weight: 700; }
.pw-timeline { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 4px; }
.pw-timeline li { position: relative; padding: 6px 10px 6px 28px; color: var(--pw-muted); font-size: 13px; }
.pw-timeline li::before { content: ''; position: absolute; left: 8px; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); }
.pw-timeline li.done { color: #7ef0c4; }
.pw-timeline li.done::before { background: #34d399; border-color: #34d399; }
.pw-timeline li.cur { color: #fff; font-weight: 700; }
.pw-timeline li.cur::before { border-color: #ffd166; box-shadow: 0 0 8px #ffd166; }
.pw-trackmap canvas { width: 100%; border-radius: 14px; display: block; }
.pw-earn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.pw-earn-tile { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--pw-line) !important; }
.pw-earn-tile span { font-size: 22px; }
.pw-earn-tile small { color: var(--pw-muted); font-size: 11.5px; }
.pw-earn-tile:hover { background: rgba(255, 255, 255, 0.1) !important; }
.pw-dialog-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
/* Venue unit rows (stalls, booths, desks) */
.pw-row-card { display: flex; align-items: center; gap: 12px; }
.pw-row-card .pw-ico { font-size: 22px; width: 32px; text-align: center; flex: none; }
.pw-row-card .pw-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pw-row-card .pw-grow small { color: var(--pw-muted, #9aa4b2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Avatar Studio */
.pw-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.pw-swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); background: var(--c, #444); cursor: pointer; box-shadow: inset 0 -6px 10px rgba(0,0,0,0.25); transition: transform .12s; }
.pw-swatch:hover { transform: scale(1.08); }
.pw-swatch.on { border-color: #fff; box-shadow: 0 0 0 3px #7c5cff, inset 0 -6px 10px rgba(0,0,0,0.25); }
.pw-swatch.none { background: transparent; color: #cbd5e1; font-size: 16px; }
.pw-tile.on { outline: 2px solid #7c5cff; background: rgba(124,92,255,0.18); }
input[type="range"] { width: 100%; accent-color: #7c5cff; }
.pw-av-edit { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.pw-av-edit i { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; background: #7c5cff; color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.pw-points b { font-variant-numeric: tabular-nums; }
.pw-store-banner { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(120deg, rgba(124,92,255,.35), rgba(34,211,238,.22)); color: inherit; cursor: pointer; }
.pw-store-banner span { font-size: 24px; }
.pw-store-banner div { flex: 1; display: flex; flex-direction: column; }
.pw-store-banner small { opacity: .8; }
.pw-swatch.locked { position: relative; opacity: .55; }
.pw-swatch.locked::after { content: '🔒'; position: absolute; right: -4px; bottom: -4px; font-size: 12px; }
@media (max-width: 760px) { .pw-points { display: none; } }
/* Guidance bubble above Ask Pludor AI */
.pw-tip { position: absolute; right: 12px; bottom: 140px; z-index: 7; width: 340px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 34px 12px 12px; border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, rgba(124,92,255,.94), rgba(34,140,238,.92)); color: #fff; box-shadow: 0 14px 40px rgba(10,15,40,.45); transform: translateY(10px) scale(.97); opacity: 0; transition: opacity .3s, transform .3s; }
.pw-tip.in { opacity: 1; transform: none; }
.pw-tip::after { content: ''; position: absolute; right: 26px; bottom: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: rgba(34,140,238,.92); }
.pw-tip-ico { font-size: 24px; line-height: 1; }
.pw-tip-body { min-width: 0; }
.pw-tip-body small { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; opacity: .8; font-weight: 800; }
.pw-tip-body p { margin: 2px 0 6px; font-size: 13px; line-height: 1.4; }
.pw-tip-cta { border: 0; border-radius: 999px; padding: 5px 12px; background: #fff; color: #3b2fb5; font-weight: 800; font-size: 12px; cursor: pointer; }
.pw-tip-x { position: absolute; top: 8px; right: 8px; border: 0; background: rgba(255,255,255,.2); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 11px; }
.pw-sheet-open .pw-tip { display: none; }
@media (max-width: 1250px) { .pw-tip { width: 280px; } }
@media (max-width: 820px) { .pw-tip { left: 8px; right: 8px; width: auto; bottom: 160px; } }
/* Pludor University credibility card */
.pw-cred { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(126,232,162,.16), rgba(76,201,240,.12)); border: 1px solid rgba(255,255,255,.1); }
.pw-cred > div:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pw-cred small { color: var(--pw-muted); }
.pw-cred-score { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(#7ee8a2 calc(var(--v, 50) * 1%), rgba(255,255,255,.08) 0); box-shadow: inset 0 0 0 6px rgba(11,18,32,.8); }
.pw-cred-score b { font-size: 22px; line-height: 1; }
.pw-cred-badges { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.pw-cred-badges span { position: relative; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); filter: grayscale(1); opacity: .5; }
.pw-cred-badges span.on { filter: none; opacity: 1; background: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: 0 0 0 1px var(--c); }
.pw-cred-badges i { position: absolute; right: -4px; top: -4px; font-style: normal; font-size: 10px; font-weight: 800; background: var(--c); color: #111; border-radius: 8px; padding: 0 4px; }
.pw-row-card > .pw-btn, .pw-row-card > .pw-tag { flex: none; }
.pw-tip-open .pw-biz, .pw-tip-open .pw-live { opacity: 0; pointer-events: none; transition: opacity .25s; }
.pw-drive { position: absolute; left: 50%; transform: translateX(-50%); bottom: 92px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--pw-bg); backdrop-filter: blur(14px); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); font-weight: 700; font-size: 13px; }
.pw-drive button { border: 0; border-radius: 999px; padding: 6px 12px; background: #3b82f6; color: #fff; font-weight: 800; cursor: pointer; }
.pw-brand-prev { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 45%, #0b1220), #0b1220); border-bottom: 4px solid var(--c); margin-bottom: 8px; }
.pw-brand-prev span { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--c); display: grid; place-items: center; font-size: 26px; font-weight: 900; overflow: hidden; flex: none; }
.pw-brand-prev img { width: 100%; height: 100%; object-fit: cover; }
.pw-brand-prev small { margin-left: auto; opacity: .8; }
/* Pludor Radio: sits under the minimap, never wider than it */
.pw-radio { position: absolute; top: 286px; left: 12px; width: 230px; z-index: 4; padding: 8px; border-radius: 16px; background: var(--pw-bg); backdrop-filter: blur(14px); border: 1px solid var(--pw-line); box-shadow: var(--pw-shadow); box-sizing: border-box; }
.pw-radio-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.pw-radio-cover { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.pw-radio-meta { min-width: 0; display: grid; line-height: 1.2; }
.pw-radio-meta small { font-size: 9px; letter-spacing: .08em; font-weight: 800; color: var(--pw-muted); }
.pw-radio-meta b, .pw-radio-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.pw-radio-meta span { color: var(--pw-muted); font-size: 11px; }
.pw-radio-ctl { display: flex; align-items: center; gap: 2px; margin-top: 6px; }
.pw-radio-ctl button { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; background: rgba(255,255,255,.06) !important; border: 0 !important; padding: 0; flex: none; }
.pw-radio-ctl .pw-radio-play { background: #3b82f6 !important; }
.pw-radio-ctl input { flex: 1; min-width: 0; height: 4px; }
.pw-radio.on .pw-radio-cover { box-shadow: 0 0 12px rgba(124,92,255,.6); }
.pw-radio-video { position: absolute; top: 78px; left: 12px; width: 230px; height: 200px; z-index: 5; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--pw-shadow); }
.pw-radio-video canvas, .pw-radio-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pw-radio-video button { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; z-index: 1; }
.pw-card.on { outline: 2px solid var(--pw-accent); }
@media (max-width: 820px) {
  .pw-radio { top: 194px; left: 8px; width: 120px; padding: 6px; }
  .pw-radio-row { display: none; }
  .pw-radio-ctl { margin: 0; }
  .pw-radio-ctl input, .pw-radio-ctl [data-r="prev"] { display: none; }
  .pw-radio-video { top: 66px; left: 8px; width: 120px; height: 120px; }
}
@media (max-height: 640px) and (min-width: 821px) { .pw-radio-row { display: none; } }
.pw-kmh { font-variant-numeric: tabular-nums; font-size: 16px; min-width: 2.2em; display: inline-block; text-align: right; }
.pw-drive small { color: var(--pw-muted); font-weight: 600; margin-left: 6px; }
@media (max-width: 820px) { .pw-drive small { display: none; } }

/* ── Avatar Studio ── */
.pw-root.pw-studio :is(.pw-minimap, .pw-radio, .pw-radio-video, .pw-player, .pw-right, .pw-dock, .pw-ai-box, .pw-ai-fab, .pw-tip, .pw-biz, .pw-prompt, .pw-plates, .pw-navpill, .pw-drive, .pw-stick, .pw-live) { display: none !important; }
.pw-studio-bar { position: absolute; left: 16px; top: 82px; z-index: 7; display: flex; flex-direction: column; gap: 10px; }
.pw-sb-group { display: flex; flex-direction: column; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(10, 14, 28, 0.55); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.12); }
.pw-studio-bar button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: #fff; font-size: 19px; cursor: pointer; display: grid; place-items: center; }
.pw-studio-bar button:hover { background: rgba(255, 255, 255, 0.1); }
.pw-studio-bar button.on { background: var(--pw-grad); }
@media (max-width: 820px) {
  .pw-root.pw-studio .pw-sheet { height: 50%; }
  .pw-studio-bar { left: 8px; top: 74px; flex-direction: row; flex-wrap: wrap; gap: 6px; right: 8px; }
  .pw-sb-group { flex-direction: row; }
  .pw-studio-bar button { width: 38px; height: 38px; font-size: 17px; }
}

.pw-swatches .pw-swatch { background: var(--c, #444); position: relative; flex: none; }
.pw-swatches .pw-swatch.none { background: rgba(255, 255, 255, 0.08); color: var(--pw-muted); font-weight: 800; }
.pw-swatch.locked { opacity: 1; }
.pw-swatch.locked::after { content: '🔒'; position: absolute; right: -5px; bottom: -5px; font-size: 11px; background: #0b1220; border-radius: 50%; width: 17px; height: 17px; display: grid; place-items: center; line-height: 1; }
.pw-studio-sec { margin: 4px 0 12px; }
.pw-studio-sec h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pw-muted); }
.pw-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.pw-style { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.06) !important; border: 1px solid var(--pw-line) !important; cursor: pointer; color: var(--pw-text); }
.pw-style span { font-size: 22px; line-height: 1.2; }
.pw-style b { font-size: 12px; }
.pw-style:hover { background: rgba(255, 255, 255, 0.11) !important; }
.pw-style.on { background: rgba(124, 92, 255, 0.28) !important; border-color: rgba(124, 92, 255, 0.75) !important; }
.pw-price { font-style: normal; font-size: 10px; font-weight: 700; color: var(--pw-xp, #ffc94d); white-space: nowrap; }
.pw-look.on { border-color: rgba(124, 92, 255, 0.85) !important; background: rgba(124, 92, 255, 0.22) !important; }
.pw-look span { display: grid; place-items: center; }
.pw-studio-body { min-height: 120px; }
.pw-tryon { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 12px; margin: 10px 0 6px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 92, 255, 0.4), rgba(34, 140, 238, 0.32)), #121833; box-shadow: 0 -10px 24px rgba(8, 10, 24, 0.6); border: 1px solid rgba(124, 92, 255, 0.6); }
.pw-tryon > div { display: grid; gap: 2px; min-width: 0; }
.pw-tryon small { color: var(--pw-muted); font-size: 11px; }
.pw-tryon .pw-btn { flex: none; }
.pw-tryon-note { flex-basis: 100%; color: var(--pw-muted); font-size: 11px; }
.pw-outfits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pw-outfit { display: grid; justify-items: center; gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pw-line); }
.pw-outfit.empty { color: var(--pw-muted); cursor: pointer; min-height: 150px; place-content: center; border-style: dashed; }
.pw-outfit.empty span { font-size: 28px; }
.pw-outfit-pic { width: 72px; height: 72px; border-radius: 50%; background: #2a3d5c center 20% / cover; }
.pw-studio-hint { margin-top: 0; }
@media (max-width: 820px) {
  .pw-studio-hint { display: none; }
  .pw-tryon { padding: 8px 10px; gap: 6px; flex-wrap: nowrap; }
  .pw-tryon small, .pw-tryon-note { display: none; }
  .pw-tryon b { font-size: 12.5px; }
  .pw-root.pw-studio .pw-sheet .pw-tabs { margin: 6px 0; }
}
.pw-swatches .pw-swatch { border: 2px solid rgba(255, 255, 255, 0.22); }
.pw-swatches .pw-swatch.on { border-color: #fff; box-shadow: 0 0 0 3px #7c5cff, inset 0 -6px 10px rgba(0, 0, 0, 0.25); }
.pw-root.pw-studio .pw-sheet .pw-tabs { flex-wrap: wrap; }
.pw-root.pw-studio .pw-sheet .pw-tabs button { flex: 1 0 22%; padding: 7px 6px; }

@media (max-width: 900px) { .pw-sheet.pw-wide { height: calc(100% - 8px); } }

/* People: photos, Signals, gifts (Pludor profile as the viewer may see it) */
.pw-giftfloat { font-size: 64px; animation-duration: 1.8s; }
.pw-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pw-photo { aspect-ratio: 1; border: 0; border-radius: 12px; background: #222 center / cover no-repeat; cursor: zoom-in; padding: 0; }
.pw-signal { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 8px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); color: inherit; cursor: pointer; font: inherit; }
.pw-signal b { display: block; font-size: 13px; }
.pw-signal small { display: block; color: var(--pw-muted); font-size: 12px; line-height: 1.35; }
.pw-signal-img { flex: none; width: 56px; height: 56px; border-radius: 10px; background: #222 center / cover no-repeat; }
.pw-gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pw-gift { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: inherit; cursor: pointer; font: inherit; }
.pw-gift span { font-size: 28px; }
.pw-gift small { color: var(--pw-muted); font-size: 11px; }
.pw-gift:disabled { opacity: 0.45; cursor: not-allowed; }
.pw-lightbox { position: absolute; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.88) center / contain no-repeat; cursor: zoom-out; }
.pw-prompt-person { display: flex; gap: 8px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--pw-muted); }
.pw-prompt-person .pw-signal-img { width: 36px; height: 36px; border-radius: 8px; }
.pw-prompt-person span.txt { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 420px) { .pw-gifts { grid-template-columns: repeat(3, 1fr); } }
/* City buildings */
.pw-stat { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.pw-stat b { font-size: 20px; }
.pw-stat small { color: var(--pw-muted); font-size: 12px; }
.pw-chip-btn.on { background: var(--pw-accent) !important; color: #fff; border-color: transparent !important; }

/* Closable panels: a ✕ on everything that floats over the game; closed panels leave a chip in the tray */
.pw-x { position: absolute; top: 4px; right: 4px; z-index: 3; width: 26px; height: 26px; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: rgba(0, 0, 0, 0.45) !important; color: #fff; font-size: 12px; line-height: 26px; text-align: center; cursor: pointer; opacity: 0.8; }
.pw-x:hover { opacity: 1; background: rgba(0, 0, 0, 0.7) !important; }
.pw-nearby, .pw-quest, .pw-live, .pw-biz { position: relative; }
.pw-nearby header, .pw-quest header, .pw-live header { padding-right: 30px; }
.pw-ai-box { position: absolute; }
.pw-ai-box .pw-x { top: -10px; right: -6px; }
.pw-prompt .pw-x { top: 6px; right: 6px; }
.pw-prompt-head { padding-right: 28px; }
.pw-radio .pw-x { top: -8px; right: -8px; width: 22px; height: 22px; line-height: 22px; font-size: 10px; }
.pw-minimap .pw-x { top: 6px; right: 6px; left: auto; }
.pw-closed { display: none !important; }
.pw-tray { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; pointer-events: auto; }
.pw-tray[hidden] { display: none; }
.pw-tray-chip { display: inline-flex; align-items: center; gap: 4px; height: 36px; min-width: 36px; padding: 0 10px !important; border-radius: 18px !important; border: 1px solid rgba(255, 255, 255, 0.14) !important; background: rgba(10, 14, 28, 0.72) !important; backdrop-filter: blur(10px); color: #fff; font-size: 16px; cursor: pointer; box-shadow: var(--pw-shadow); }
.pw-tray-chip b { font-size: 12px; }
@media (max-width: 820px) {
  .pw-x { width: 30px; height: 30px; line-height: 30px; font-size: 13px; }
  .pw-radio .pw-x { width: 26px; height: 26px; line-height: 26px; top: -10px; right: -10px; }
}
.pw-minimap.pw-closed ~ .pw-radio { top: 78px; }
@media (max-width: 820px) { .pw-minimap.pw-closed ~ .pw-radio { top: 66px; } }
/* Phones: the Nearby card was 290 px wide (a later desktop rule beat the phone one) and sat over the map */
@media (max-width: 820px) {
  .pw-right { width: 150px; top: 66px; right: 8px; max-height: calc(100% - 240px); }
  .pw-nearby { padding: 8px 8px 6px; }
  .pw-nearby header { font-size: 11px; margin-bottom: 4px; }
  .pw-nearby header .pw-count { display: none; }
  .pw-nearby .pw-follow { display: none; }
  .pw-nearby li { padding: 2px; }
  .pw-nearby .pw-av.sm { width: 26px; height: 26px; }
  .pw-nearby .pw-near-txt b { font-size: 12px; }
  .pw-nearby .pw-x { width: 24px; height: 24px; line-height: 24px; font-size: 11px; top: 4px; right: 4px; }
  .pw-minimap { width: 112px; height: 112px; }
  .pw-radio { top: 186px; width: 112px; }
}
.pw-toast-x { flex: none; margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: rgba(255, 255, 255, 0.12); cursor: pointer; }
.pw-banner { pointer-events: auto; }
.pw-banner-x { position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, 0.18); color: #2a1600; }

/* Long real-world text (store-written product titles are often 150+ characters) must never stretch a drawer:
   titles stop at 2 lines, details at 1, long words wrap, buttons keep their size, and rows never overflow. */
button.pw-row-card, button.pw-result { width: 100%; max-width: 100%; text-align: left; }
.pw-row-card, .pw-result, .pw-tx, .pw-item, .pw-signal { max-width: 100%; box-sizing: border-box; }
.pw-row-card .pw-grow > b, .pw-result > div:first-child > b, .pw-tx > div > b, .pw-item-body > b, .pw-signal b, .pw-real .pw-grow > b {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3;
}
.pw-row-card .pw-grow > small, .pw-result > div:first-child > small, .pw-tx > div > small, .pw-item-body > small {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pw-row-card > .pw-btn, .pw-result > .pw-row, .pw-result > .pw-btn, .pw-row-card > span:last-child { flex: none; }
.pw-sheet p, .pw-sheet .pw-blurb, .pw-sheet .pw-note { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  /* phones: smaller picture and buttons so the title gets the room */
  .pw-row-card { gap: 8px; }
  .pw-row-card > img { width: 38px !important; height: 38px !important; }
  .pw-row-card > .pw-btn.sm { padding: 6px 9px; font-size: 12px; }
}
.pw-locate { display: grid; gap: 6px; margin: 4px 0 10px; padding: 10px; border-radius: 12px; background: rgba(54, 211, 153, 0.08); border: 1px solid rgba(54, 211, 153, 0.25); }
.pw-locate small { color: var(--pw-muted); }
.pw-locate .pw-row { flex-wrap: wrap; }
.pw-locate-town { display: flex; gap: 6px; flex: 1; min-width: 160px; }
.pw-locate-town input { flex: 1; min-width: 0; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--pw-line); background: rgba(255, 255, 255, 0.06); color: inherit; }
/* grid lists: a row may shrink to the drawer (its one-line details otherwise set a minimum width wider than a phone) */
.pw-list > *, .pw-grid2 > *, .pw-grid3 > * { min-width: 0; }

/* Ask Pludor mounted in the game (no iframe): an app screen filling the panel - messages scroll, the composer is
   pinned at the bottom like any chat app, ideas sit in one swipeable row above it */
.pw-sheet-body:has(.pw-askframe) { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pw-askframe { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pw-ask-loading { display: flex; gap: 10px; align-items: center; justify-content: center; flex: 1; color: var(--pw-muted); }
.pw-ask { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #f6f7fb; color: #0f172a; border-radius: 0 0 22px 22px; }
.pw-ask .hai { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; padding: 0; }
.pw-ask .hai.hai-panel .hai-card { flex: 1; min-height: 0; display: flex !important; flex-direction: column; height: auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.pw-ask .hai-bar { order: 0; flex: none; }
.pw-ask .hai-side { order: 1; }
.pw-ask .hai.hai-panel .hai-chat { order: 2; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pw-ask .hai.hai-panel.chatting .hai-msgs, .pw-ask .hai.hai-panel .hai-msgs { max-height: none; min-height: 0; overflow: visible; }
.pw-ask .hai.hai-panel .hai-chips { order: 3; flex: none; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 6px 0; }
.pw-ask .hai.hai-panel .hai-chips::-webkit-scrollbar { display: none; }
.pw-ask .hai.hai-panel .hai-chips button { flex: 0 0 auto; }
.pw-ask .hai.hai-panel .hai-ask { order: 4; flex: none; margin: 0; background: #fff; }
.pw-ask .hai.hai-panel .hai-note { order: 5; flex: none; font-size: 10.5px; margin: 6px 2px 0; }
.pw-ask #haiExpand { display: none !important; } /* full screen is the home page's; here the panel already is the screen */
.pw-ask .hai.hai-panel.chatting .hai-note { display: none; }
@media (max-width: 820px) {
  .pw-sheet.pw-wide { left: 0; right: 0; width: 100%; }
  .pw-ask { border-radius: 0; }
}
/* Phones zoom the whole page into any text box under 16 px when the keyboard opens - never in the game */
@media (pointer: coarse) {
  .pw-root input:not([type=range]):not([type=checkbox]):not([type=color]):not([type=file]), .pw-root textarea, .pw-root select, .pw-ask #haiIn { font-size: 16px !important; }
}
.pw-reel-nav { justify-content: space-between; align-items: center; margin: 8px 0; }
.pw-ask .hai-msgs:empty::before { content: 'Hi! I’m Pludor. Ask me to order food, book a ride or a stay, send a parcel, book a haircut, shop, or open your free store - for real, from right here in the city.'; display: block; margin: 18px 6px; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid #e5e7eb; color: #334155; font-size: 15px; line-height: 1.45; }
.pw-vid-cap b, .pw-reel b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
@media (max-width: 820px) { .pw-tip-open .pw-prompt { opacity: 0; pointer-events: none; transition: opacity .25s; } }

/* Phones: the player panel (level, XP, needs, Home / Inventory / Achievements / Settings ...) opens from your avatar */
.pw-player-x { display: none; }
@media (max-width: 820px) {
  .pw-root.pw-me-open .pw-player { display: block; position: absolute; top: 66px; left: 8px; right: 8px; bottom: auto; width: auto; z-index: 9; max-height: calc(100% - 160px); overflow: auto; box-sizing: border-box; }
  .pw-root.pw-me-open .pw-player-x { display: block; }
  .pw-root.pw-me-open .pw-player-head { padding-right: 30px; }
  .pw-root.pw-me-open .pw-quick { grid-template-columns: repeat(4, 1fr); }
  .pw-root.pw-me-open :is(.pw-minimap, .pw-radio, .pw-right) { visibility: hidden; }
  .pw-sheet-open .pw-player { display: none !important; }
}
@media (max-width: 820px) {
  .pw-root.pw-me-open .pw-toasts { top: auto; bottom: 150px; }
  body:has(.pw-root.pw-me-open) #pw-conn { display: none; }
}
/* AI Studio in the game */
.pw-studio-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-studio-result { display: grid; gap: 8px; margin: 6px 0 12px; }
.pw-studio-out { width: 100%; max-height: 52vh; object-fit: contain; border-radius: 14px; background: #000; }
.pw-studio-wait { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(124, 92, 255, 0.12); margin: 6px 0 12px; }
.pw-studio-vid { display: grid; place-items: center; font-size: 26px; }
/* Signals board */
.pw-sig-head { display: flex; gap: 10px; align-items: center; }
.pw-sig-head small { display: block; color: var(--pw-muted); font-size: 12px; }
.pw-sig-title { margin: 10px 0 6px; font-size: 18px; overflow-wrap: anywhere; }
.pw-sig-img { width: 100%; max-height: 46vh; object-fit: cover; border-radius: 14px; margin: 4px 0 8px; }
.pw-sig-body { white-space: pre-wrap; line-height: 1.5; overflow-wrap: anywhere; }
.pw-comment { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.pw-comment.reply { margin-left: 18px; }
.pw-comment p { margin: 2px 0 0; font-size: 13.5px; overflow-wrap: anywhere; }
.pw-signal small + small { margin-top: 2px; }
.pw-sellhere { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 4px 0 10px; padding: 8px 10px; border-radius: 12px; background: rgba(124, 92, 255, 0.1); }
.pw-sellhere small { color: var(--pw-muted); flex: 1; min-width: 160px; }
/* Live in the game */
.pw-live-player { position: relative; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 9 / 12; max-height: 52vh; margin: 0 auto; }
.pw-live-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-live-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 10px; border-radius: 99px; background: rgba(220, 38, 38, 0.9); color: #fff; font: 800 11px Inter, system-ui, sans-serif; }
.pw-live-chat { max-height: 180px; overflow-y: auto; display: grid; gap: 4px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13px; }
.pw-live-msg b { color: #a99bff; margin-right: 4px; }
.pw-live-msg.sys { color: var(--pw-muted); font-style: italic; }
.pw-live-ph { display: grid; place-items: center; font-size: 22px; background: #1f2937; }
/* Your Origin */
.pw-origin { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(5, 8, 20, 0.6); backdrop-filter: blur(4px); padding: 16px; }
.pw-origin-card { position: relative; width: min(380px, 100%); display: grid; gap: 8px; justify-items: center; text-align: center; padding: 20px 18px; border-radius: 22px; background: linear-gradient(160deg, #1b1f3b, #0b1220); border: 1px solid rgba(124, 92, 255, 0.5); box-shadow: 0 20px 60px rgba(124, 92, 255, 0.35); color: #fff; }
.pw-origin-card small { color: var(--pw-muted); }
.pw-origin-spin { font-size: 54px; line-height: 1; }
.pw-origin-spin.big { font-size: 72px; animation: pw-pop 0.5s ease-out; }
.pw-origin-name { font-size: 26px; font-weight: 900; }
.pw-origin-card p { margin: 4px 0; color: #c8d1e4; font-size: 14px; }
.pw-origin-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; text-align: left; width: 100%; }
.pw-origin-perks li { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); text-transform: none; }
.pw-origin-goal { width: 100%; padding: 8px 10px; border-radius: 12px; background: rgba(54, 211, 153, 0.12); border: 1px solid rgba(54, 211, 153, 0.35); font-size: 13.5px; font-weight: 700; }
@keyframes pw-pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.pw-board-row { width: 100%; text-align: left; cursor: pointer; border: 0; color: inherit; font: inherit; }
.pw-board-row.me { outline: 2px solid var(--pw-accent); }

/* building "What you get" - compact, phone-first */
.pw-perks { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; gap: 8px; }
.pw-perks li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.pw-perks li > span { font-size: 20px; flex: none; }
.pw-perks li b { display: block; font-size: 14px; }
.pw-perks li small { display: block; font-size: 12.5px; color: #9aa6bd; line-height: 1.3; }
.pw-steps { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 6px; }
.pw-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pw-steps li > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.pw-steps li.done > span { background: #36d399; border-color: #36d399; color: #0b1220; }
.pw-steps li.done b { opacity: 0.7; }
.pw-steps li small { display: block; color: #9aa6bd; font-size: 12.5px; }
.pw-shot { height: 150px; border-radius: 12px; background: center / cover no-repeat; margin: 2px 0 4px; }
.pw-perks li.soon { opacity: 0.7; border: 1px dashed rgba(255, 255, 255, 0.2); background: none; }

/* radio: promote in words; the Start a business chip under it */
.pw-radio-promote { display: block; width: 100%; margin-top: 6px; padding: 6px 8px; border-radius: 10px; border: 0; background: rgba(255, 209, 102, 0.16); color: #ffd166; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-startbiz { position: absolute; top: 400px; left: 12px; width: 230px; z-index: 4; box-sizing: border-box; }
.pw-startbiz-go { width: 100%; padding: 9px 10px; border-radius: 14px; border: 1px solid rgba(54, 211, 153, 0.5); background: linear-gradient(135deg, rgba(54, 211, 153, 0.28), rgba(34, 211, 238, 0.18)), var(--pw-bg); backdrop-filter: blur(14px); color: #fff; font: inherit; font-size: 13px; text-align: left; cursor: pointer; box-shadow: var(--pw-shadow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-startbiz .pw-x { top: -7px; right: -7px; }
.pw-startbiz.pw-closed { display: none; }
@media (max-width: 820px) {
  .pw-radio-promote { font-size: 11px; padding: 5px 6px; }
  .pw-startbiz-go { font-size: 11.5px; padding: 7px 8px; }
}
.pw-startbiz .pw-x { width: 20px; height: 20px; line-height: 20px; font-size: 10px; }
@media (max-width: 820px) {
  .pw-radio { width: 150px; }
  .pw-radio-video { width: 150px; }
}
@media (max-width: 820px) { .pw-radio-promote { white-space: normal; line-height: 1.25; } }
.pw-note.bad { border-color: rgba(255, 92, 92, 0.5); background: rgba(255, 92, 92, 0.12); }
.pw-fine { font-size: 12px; color: #9aa6bd; text-align: center; margin-top: 8px; }
.pw-btn.link { background: none !important; border: 0 !important; padding: 0 !important; color: inherit; text-decoration: underline; font-size: inherit; box-shadow: none !important; min-height: 0; }
.pw-btn.wide { display: block; width: 100%; margin-top: 8px; }
.pw-steps li.done b { text-decoration: none; }
.pw-steps li.done, .pw-steps li.done * { text-decoration: none !important; }

/* proximity voice (push-to-talk) */
.pw-voice-btn { margin-left: auto; background: none; border: 0; font-size: 16px; cursor: pointer; opacity: 0.7; }
.pw-voice-btn.on { opacity: 1; filter: drop-shadow(0 0 6px #36d399); }
.pw-ptt { position: absolute; right: 16px; bottom: 190px; z-index: 6; padding: 14px 18px; border-radius: 99px; border: 2px solid rgba(255,255,255,0.4); background: rgba(16, 21, 32, 0.85); color: #fff; font: inherit; font-weight: 800; font-size: 14px; touch-action: none; user-select: none; }
.pw-ptt.on { background: #36d399; color: #0b1220; border-color: #36d399; }

/* Add money: Stripe's embedded checkout inside the wallet sheet (it draws its own white form) */
.pw-stripe{background:#fff;border-radius:14px;padding:6px;min-height:420px;margin:8px 0;overflow:hidden}
