.rwgm {
  --rwgm-ink: #e9eef2;
  --rwgm-muted: #95a4af;
  --rwgm-panel: rgba(12, 18, 24, .92);
  --rwgm-panel-solid: #10171d;
  --rwgm-card: #151f27;
  --rwgm-border: rgba(255,255,255,.13);
  --rwgm-accent: #e8c26b;
  --rwgm-danger: #ef8d8d;
  width: 100%;
  color: var(--rwgm-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rwgm * { box-sizing: border-box; }
.rwgm button,.rwgm input,.rwgm select { font: inherit; }
.rwgm__toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; background: var(--rwgm-panel-solid); border: 1px solid var(--rwgm-border); border-bottom: 0;
}
.rwgm__brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.rwgm__brand strong { letter-spacing: .16em; font-size: 13px; }
.rwgm__brand span { color: var(--rwgm-muted); font-size: 12px; white-space: nowrap; }
.rwgm__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rwgm__btn,.rwgm__secondary,.rwgm__primary,.rwgm__pick,.rwgm__iconbtn {
  min-height: 38px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--rwgm-border);
  background: #172129; color: var(--rwgm-ink); cursor: pointer;
}
.rwgm__btn:hover,.rwgm__secondary:hover,.rwgm__pick:hover { background: #1d2a33; }
.rwgm__btn:focus-visible,.rwgm button:focus-visible,.rwgm input:focus-visible,.rwgm select:focus-visible { outline: 2px solid var(--rwgm-accent); outline-offset: 2px; }
.rwgm__btn[aria-pressed="false"] { color: var(--rwgm-muted); }
.rwgm__btn--accent,.rwgm__primary { background: var(--rwgm-accent); color: #151515; border-color: transparent; font-weight: 700; }
.rwgm__btn--accent:hover,.rwgm__primary:hover { filter: brightness(1.05); }

.rwgm__workspace { display: grid; grid-template-columns: minmax(0,1fr) 320px; min-width: 0; }
.rwgm__stage {
  position: relative; height: var(--rwgm-height); min-height: var(--rwgm-min-height); overflow: hidden;
  border: 1px solid var(--rwgm-border); background: #071018; min-width: 0;
}
.rwgm__map { position: absolute; inset: 0; }
.rwgm__loading,.rwgm__mode {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 8;
  display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); padding: 8px 12px;
  border: 1px solid var(--rwgm-border); border-radius: 999px; background: var(--rwgm-panel); color: var(--rwgm-muted);
  font-size: 12px; backdrop-filter: blur(10px); text-align: center;
}
.rwgm__mode { color: var(--rwgm-ink); border-color: rgba(232,194,107,.45); }
.rwgm__mode[hidden],.rwgm__loading.is-hidden { display: none; }
.rwgm__spinner { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.22); border-top-color: var(--rwgm-accent); border-radius: 50%; animation: rwgm-spin .85s linear infinite; }
@keyframes rwgm-spin { to { transform: rotate(360deg); } }
.rwgm__country {
  position: absolute; z-index: 5; left: 12px; bottom: 12px; width: min(300px, calc(100% - 24px)); padding: 12px 14px;
  border: 1px solid var(--rwgm-border); border-radius: 10px; background: var(--rwgm-panel); backdrop-filter: blur(10px); pointer-events: none;
}
.rwgm__country-kicker,.rwgm__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--rwgm-muted); }
.rwgm__country-name { margin-top: 2px; font-size: 19px; font-weight: 700; }
.rwgm__country-meta { margin-top: 3px; font-size: 12px; color: var(--rwgm-muted); }
.rwgm__coords {
  position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; gap: 8px; padding: 7px 9px;
  border: 1px solid var(--rwgm-border); border-radius: 8px; background: var(--rwgm-panel); color: var(--rwgm-muted);
  font-size: 11px; font-variant-numeric: tabular-nums; backdrop-filter: blur(10px); pointer-events: none;
}

.rwgm__gamepanel {
  height: var(--rwgm-height); min-height: var(--rwgm-min-height); overflow: auto; padding: 14px;
  border: 1px solid var(--rwgm-border); border-left: 0; background: #0d141a;
}
.rwgm__panelhead,.rwgm__playerhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rwgm__panelhead h3,.rwgm__modalhead h3 { margin: 2px 0 0; font-size: 18px; }
.rwgm__save { color: var(--rwgm-muted); font-size: 10px; white-space: nowrap; }
.rwgm__save[data-state="ok"] { color: #91d5a3; }
.rwgm__save[data-state="error"] { color: var(--rwgm-danger); }

.rwgm__marker { width: 31px; height: 31px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.45); transition: transform .12s ease, box-shadow .12s ease; }
.rwgm__marker span { font-size: 10px; font-weight: 900; }
.rwgm__marker.is-selected { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(232,194,107,.28), 0 2px 8px rgba(0,0,0,.55); border-color: var(--rwgm-accent); }

.rwgm__modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.62); }
.rwgm__modal[hidden] { display: none; }
.rwgm__modalcard { width: min(430px,100%); padding: 18px; border: 1px solid var(--rwgm-border); border-radius: 12px; background: #111a21; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.rwgm__modalhead { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rwgm__x { width: 36px; height: 36px; border: 0; background: transparent; color: var(--rwgm-muted); font-size: 26px; cursor: pointer; }
.rwgm__modalcard > label,.rwgm__legacy-formgrid label { display: grid; gap: 5px; margin: 10px 0; color: var(--rwgm-muted); font-size: 11px; }
.rwgm__legacy-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rwgm__pick { width: 100%; margin-top: 4px; border-style: dashed; color: var(--rwgm-accent); }
.rwgm__modalactions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.rwgm__note { padding: 8px 2px 0; color: #6f7c86; font-size: 11px; }
.rwgm .maplibregl-ctrl-group { background: #111a21; }
.rwgm .maplibregl-ctrl-group button { filter: invert(1); }
.rwgm .maplibregl-ctrl-attrib { background: rgba(10,15,19,.78); color: #c1c9ce; }
.rwgm .maplibregl-ctrl-attrib a { color: #d7dde1; }

@media (max-width: 900px) {
  .rwgm__workspace { grid-template-columns: 1fr; }
  .rwgm__gamepanel { height: auto; min-height: 0; border-left: 1px solid var(--rwgm-border); border-top: 0; overflow: visible; }
  .rwgm__playerlist { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .rwgm__toolbar { align-items: flex-start; }
  .rwgm__brand { flex-direction: column; gap: 0; }
  .rwgm__brand span { white-space: normal; }
  .rwgm__coords { display: none; }
  .rwgm__country { bottom: 10px; }
  .rwgm__stage { min-height: 460px; }
  .rwgm__simbar { grid-template-columns: 42px 1fr; }
  .rwgm__clock { grid-column: 1 / -1; text-align: left; }
  .rwgm__playerlist { grid-template-columns: 1fr; }
  .rwgm__legacy-formgrid { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rwgm__spinner { animation: none; }
  .rwgm__marker { transition: none; }
}

/* v0.2.1 loading diagnostics */
.rwgm__loading.is-error {
  color: #ffd6d6;
  border-color: rgba(255, 115, 115, .5);
  background: rgba(45, 15, 18, .94);
  border-radius: 10px;
  max-width: min(560px, calc(100% - 32px));
}
.rwgm__error-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(255, 115, 115, .18);
  color: #ffb1b1;
  font-weight: 800;
}

/* v0.3.0 player spawn flow */
.rwgm__btn--spawn { border-color: rgba(232,194,107,.38); color: #f2d990; }
.rwgm__mini--player,.rwgm__marker--player { background: #9b7a2c; }
.rwgm__spawncard { width: min(620px,100%); }
.rwgm__spawnintro { margin: -2px 0 14px; color: var(--rwgm-muted); font-size: 12px; line-height: 1.5; }
.rwgm__spawnsteps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin-bottom: 14px; }
.rwgm__spawnsteps span { padding: 7px 5px; border: 1px solid var(--rwgm-border); border-radius: 7px; color: #71808a; font-size: 9px; text-align: center; white-space: nowrap; }
.rwgm__spawnsteps span.is-active { border-color: rgba(232,194,107,.55); background: rgba(232,194,107,.08); color: #f0d58f; }
.rwgm__spawnsteps span.is-done { color: #9dc9aa; border-color: rgba(132,190,150,.32); }
.rwgm__spawnbody section > label { display: grid; gap: 6px; color: var(--rwgm-muted); font-size: 11px; }
.rwgm__spawnbody input,.rwgm__spawnbody select { min-height: 42px; width: 100%; padding: 8px 10px; color: var(--rwgm-ink); background: #0f171d; border: 1px solid var(--rwgm-border); border-radius: 8px; }
.rwgm__optional { color: #687782; font-weight: 400; }
.rwgm__place-results { display: grid; gap: 6px; max-height: 220px; overflow: auto; margin-top: 10px; }
.rwgm__placeoption { width: 100%; min-height: 48px; padding: 9px 10px; border: 1px solid var(--rwgm-border); border-radius: 8px; background: #0d151b; color: var(--rwgm-ink); text-align: left; cursor: pointer; }
.rwgm__placeoption:hover,.rwgm__placeoption:focus-visible { border-color: rgba(232,194,107,.5); background: #141e25; }
.rwgm__placeoption strong,.rwgm__placeoption span { display: block; }
.rwgm__placeoption strong { font-size: 12px; }
.rwgm__placeoption span { margin-top: 3px; color: var(--rwgm-muted); font-size: 10px; line-height: 1.35; }
.rwgm__placenone { padding: 10px; border: 1px dashed var(--rwgm-border); border-radius: 8px; color: var(--rwgm-muted); font-size: 11px; }
.rwgm__spawnactions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.rwgm__spawnsummary { display: grid; gap: 4px; padding: 12px; border: 1px solid rgba(232,194,107,.28); border-radius: 9px; background: rgba(232,194,107,.055); }
.rwgm__spawnsummary strong { font-size: 14px; }
.rwgm__spawnsummary span { color: var(--rwgm-muted); font-size: 11px; }
.rwgm__spawnstatus { min-height: 20px; margin-top: 10px; color: var(--rwgm-muted); font-size: 11px; }
.rwgm__spawnstatus[data-state="error"] { color: var(--rwgm-danger); }
.rwgm__spawnstatus[data-state="busy"] { color: #e9d39a; }
.rwgm__osmnote { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rwgm-border); color: #6d7a83; font-size: 9px; line-height: 1.4; }
.rwgm__spawnbody .rwgm__pick { margin-top: 9px; }
.rwgm button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 680px) {
  .rwgm__spawnsteps { grid-template-columns: repeat(5,1fr); gap: 3px; }
  .rwgm__spawnsteps span { padding: 6px 2px; font-size: 8px; }
  .rwgm__spawnactions { flex-wrap: wrap; }
  .rwgm__spawnactions button { flex: 1 1 140px; }
}

/* v0.3.1 player-only game UI */
.rwgm__playerpanel { margin-top: 16px; }
.rwgm__playerhead { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.rwgm__playerhead > div { min-width:0; }
.rwgm__playerhead strong,.rwgm__playerhead span { display:block; }
.rwgm__playerhead > div > span { color:var(--rwgm-muted); font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rwgm__playerbadge { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:50%; background:var(--rwgm-accent); color:#161616; font-weight:900; }
.rwgm__player-spawn-btn { margin-top:10px; width:100%; }
.rwgm__stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0 0; }
.rwgm__stats div { padding:9px; border:1px solid var(--rwgm-border); border-radius:8px; background:rgba(255,255,255,.025); min-width:0; }
.rwgm__stats dt { color:var(--rwgm-muted); font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.rwgm__stats dd { margin:3px 0 0; font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.rwgm__routeactions { display:flex; gap:8px; margin-top:12px; }
.rwgm__routeactions button { flex:1; }
.rwgm__marker--player { background:#9b7a2c; }
@media (max-width:680px) { .rwgm__stats { grid-template-columns:1fr; } }
.rwgm__empty { display:grid; gap:6px; margin-top:16px; padding:15px; border:1px dashed var(--rwgm-border); border-radius:10px; color:var(--rwgm-muted); }
.rwgm__empty strong { color:var(--rwgm-ink); }
.rwgm__playerhead { justify-content:flex-start; }
.rwgm__save[data-state="busy"] { color:#e9d39a; }

/* v0.4.0 player avatar, real walking travel and WASD movement */
.rwgm__avatar-button{width:46px;height:58px;flex:0 0 46px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:10px}
.rwgm__avatar-button:focus-visible{outline:2px solid var(--rwgm-accent);outline-offset:2px}
.rwgm__avatar-preview{display:block;width:42px;height:56px;margin:auto}
.rwgm__avatar-preview svg{width:100%;height:100%;display:block}
.rwgm__player-marker{position:relative;width:52px;height:70px;padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 4px 4px rgba(0,0,0,.35))}
.rwgm__player-marker:focus-visible{outline:2px solid var(--rwgm-accent);outline-offset:3px;border-radius:9px}
.rwgm__avatar-slot{position:absolute;left:4px;top:0;width:44px;height:62px;z-index:2}
.rwgm__avatar-slot svg{width:100%;height:100%;display:block}
.rwgm__player-shadow{position:absolute;left:12px;bottom:2px;width:28px;height:8px;border-radius:50%;background:rgba(0,0,0,.35);z-index:1}
.rwgm__avatar .rwgm__limb{transform-box:fill-box;transform-origin:center top}
.rwgm__player-marker.is-walking .rwgm__arm-left,.rwgm__avatar-preview.is-walking .rwgm__arm-left{animation:rwgm-arm-a .44s ease-in-out infinite alternate}
.rwgm__player-marker.is-walking .rwgm__arm-right,.rwgm__avatar-preview.is-walking .rwgm__arm-right{animation:rwgm-arm-b .44s ease-in-out infinite alternate}
.rwgm__player-marker.is-walking .rwgm__leg-left,.rwgm__avatar-preview.is-walking .rwgm__leg-left{animation:rwgm-leg-a .44s ease-in-out infinite alternate}
.rwgm__player-marker.is-walking .rwgm__leg-right,.rwgm__avatar-preview.is-walking .rwgm__leg-right{animation:rwgm-leg-b .44s ease-in-out infinite alternate}
.rwgm__player-marker.is-walking .rwgm__avatar-body,.rwgm__avatar-preview.is-walking .rwgm__avatar-body{animation:rwgm-bob .22s ease-in-out infinite alternate}
@keyframes rwgm-arm-a{from{transform:rotate(18deg)}to{transform:rotate(-22deg)}}
@keyframes rwgm-arm-b{from{transform:rotate(-18deg)}to{transform:rotate(22deg)}}
@keyframes rwgm-leg-a{from{transform:rotate(12deg)}to{transform:rotate(-15deg)}}
@keyframes rwgm-leg-b{from{transform:rotate(-12deg)}to{transform:rotate(15deg)}}
@keyframes rwgm-bob{from{transform:translateY(0)}to{transform:translateY(-1.8px)}}

.rwgm__playeractions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rwgm__playeractions button{min-width:0}
.rwgm__wasd{display:grid;gap:7px;margin-top:12px;padding:10px;border:1px solid var(--rwgm-border);border-radius:9px;background:rgba(255,255,255,.025)}
.rwgm__wasd>span{display:flex;gap:5px}.rwgm__wasd kbd{display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border:1px solid #3b4851;border-bottom-width:3px;border-radius:5px;background:#151e24;color:var(--rwgm-ink);font:700 11px/1 system-ui,sans-serif}
.rwgm__wasd small{color:var(--rwgm-muted);font-size:10px;line-height:1.35}

.rwgm__travelbox{margin-top:14px;padding:12px;border:1px solid rgba(232,194,107,.28);border-radius:10px;background:rgba(232,194,107,.055)}
.rwgm__travel-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.rwgm__travel-title strong{font-size:13px}.rwgm__travel-title span{font-size:10px;color:#d9bd78}
.rwgm__travelstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.rwgm__travelstats>span{display:grid;gap:3px;padding:8px;border:1px solid rgba(255,255,255,.07);border-radius:7px;background:rgba(0,0,0,.12);min-width:0}.rwgm__travelstats small{color:var(--rwgm-muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em}.rwgm__travelstats strong{font-size:11px;overflow-wrap:anywhere}

.rwgm__avatarcard{width:min(680px,100%)}
.rwgm__avatar-editor{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start}
.rwgm__avatar-large{display:grid;place-items:center;min-height:245px;border:1px solid var(--rwgm-border);border-radius:12px;background:radial-gradient(circle at 50% 36%,rgba(255,255,255,.07),rgba(255,255,255,.015))}
.rwgm__avatar-large svg{width:132px;height:182px;filter:drop-shadow(0 8px 10px rgba(0,0,0,.28))}
.rwgm__avatar-fields{display:grid;gap:11px}.rwgm__avatar-fields label{display:grid;gap:5px;color:var(--rwgm-muted);font-size:11px}.rwgm__avatar-fields select{min-height:40px;padding:7px 9px;border:1px solid var(--rwgm-border);border-radius:8px;background:#0f171d;color:var(--rwgm-ink)}
.rwgm__colorgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.rwgm__colorgrid label{display:grid;gap:5px}.rwgm__colorgrid input[type=color]{width:100%;height:40px;padding:2px;border:1px solid var(--rwgm-border);border-radius:7px;background:#0f171d}

@media(max-width:680px){
  .rwgm__avatar-editor{grid-template-columns:1fr}.rwgm__avatar-large{min-height:190px}.rwgm__avatar-large svg{width:100px;height:145px}
  .rwgm__colorgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.rwgm__travelstats{grid-template-columns:1fr}.rwgm__playeractions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){.rwgm__player-marker.is-walking .rwgm__avatar-body,.rwgm__player-marker.is-walking .rwgm__limb,.rwgm__avatar-preview.is-walking .rwgm__avatar-body,.rwgm__avatar-preview.is-walking .rwgm__limb{animation:none}}

/* v0.5.0 character builder, wardrobe, purse and corrected avatar attachment system */
.rwgm__purse-stat{grid-column:1/-1;border-color:rgba(232,194,107,.28)!important;background:rgba(232,194,107,.055)!important}
.rwgm__purse-stat dd{font-size:16px!important;color:#f2d990}

.rwgm__avatar-button{width:52px;height:78px;flex-basis:52px}
.rwgm__avatar-preview{width:48px;height:76px}
.rwgm__avatar-preview svg{width:100%;height:100%;overflow:visible}
.rwgm__player-marker{width:64px;height:108px}
.rwgm__avatar-slot{left:2px;top:0;width:60px;height:104px}
.rwgm__avatar-slot svg{width:100%;height:100%;overflow:visible}
.rwgm__player-shadow{left:13px;bottom:1px;width:38px;height:9px}
.rwgm__avatar .rwgm__limb{transform-box:fill-box;transform-origin:center 12%}
.rwgm__avatar .rwgm__avatar-body{transform-box:fill-box;transform-origin:center center}

.rwgm__avatarcard{width:min(1080px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:18px;overflow:hidden;display:flex;flex-direction:column}
.rwgm__avatarcard .rwgm__modalhead{flex:0 0 auto;margin-bottom:12px}
.rwgm__avatarcard .rwgm__modalhead>div{min-width:0}
.rwgm__avatarcard .rwgm__modalhead h3{font-size:22px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.rwgm__creator-subtitle{margin:5px 0 0;color:var(--rwgm-muted);font-size:11px;line-height:1.45;max-width:740px}
.rwgm__creator-shell{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;min-height:0;flex:1 1 auto;overflow:hidden}
.rwgm__creator-preview{min-width:0;display:flex;flex-direction:column;gap:10px}
.rwgm__avatar-large{min-height:0;height:100%;max-height:560px;padding:14px;display:grid;place-items:center;border:1px solid var(--rwgm-border);border-radius:14px;background:radial-gradient(circle at 50% 32%,rgba(255,255,255,.075),rgba(255,255,255,.018) 62%,rgba(0,0,0,.07));overflow:hidden}
.rwgm__avatar-large svg{width:min(210px,90%);height:auto;max-height:500px;filter:drop-shadow(0 12px 14px rgba(0,0,0,.28));overflow:visible}
.rwgm__creator-summary{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--rwgm-border);border-radius:10px;background:rgba(255,255,255,.025)}
.rwgm__creator-summary strong{font-size:12px;line-height:1.3}.rwgm__creator-summary span{font-size:9px;color:var(--rwgm-muted)}
.rwgm__creator-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid var(--rwgm-border);border-radius:12px;background:#0c141a;overflow:hidden}
.rwgm__creator-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border-bottom:1px solid var(--rwgm-border);background:#111a21;flex:0 0 auto}
.rwgm__creator-tabs button,.rwgm__wardrobe-tabs button,.rwgm__filterchips button{min-height:36px;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--rwgm-muted);cursor:pointer;font-size:11px}
.rwgm__creator-tabs button.is-active,.rwgm__wardrobe-tabs button.is-active,.rwgm__filterchips button.is-selected{background:rgba(232,194,107,.1);border-color:rgba(232,194,107,.38);color:#f3d78f}
.rwgm__creator-tabs button:disabled{opacity:.36;cursor:not-allowed}
.rwgm__creator-panel{padding:14px;overflow:auto;min-height:0}
.rwgm__creator-panel[hidden]{display:none}
.rwgm__creator-section{display:grid;gap:9px;margin-bottom:18px}.rwgm__creator-section:last-child{margin-bottom:0}
.rwgm__creator-sectionhead{display:flex;justify-content:space-between;gap:10px;align-items:end;flex-wrap:wrap}.rwgm__creator-sectionhead strong{font-size:12px}.rwgm__creator-sectionhead span{font-size:9px;color:var(--rwgm-muted)}
.rwgm__creator-locknote{padding:11px;border:1px solid rgba(232,194,107,.25);border-radius:9px;background:rgba(232,194,107,.05);color:#d8c18a;font-size:10px;line-height:1.45}
.rwgm__wardrobe-tabs,.rwgm__filterchips{display:flex;flex-wrap:wrap;gap:5px}
.rwgm__wardrobe-tabs button{background:#111b22;border-color:var(--rwgm-border)}
.rwgm__filterchips button{min-height:32px;padding:6px 9px;border-color:var(--rwgm-border);background:#101820}
.rwgm__itemgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.rwgm__catalog-card{min-width:0;min-height:150px;padding:8px 6px;border:1px solid var(--rwgm-border);border-radius:10px;background:#111a21;color:var(--rwgm-ink);cursor:pointer;display:grid;grid-template-rows:112px auto;align-items:center;gap:5px;text-align:center;font-size:9px;line-height:1.2}
.rwgm__catalog-card:hover{background:#17232c;border-color:rgba(255,255,255,.22)}
.rwgm__catalog-card.is-selected{border-color:var(--rwgm-accent);box-shadow:inset 0 0 0 1px var(--rwgm-accent);background:rgba(232,194,107,.08)}
.rwgm__catalog-thumb{display:grid;place-items:center;width:100%;height:112px;overflow:hidden}
.rwgm__catalog-thumb svg{width:60px;height:108px;overflow:visible}
.rwgm__itemgrid--compact{grid-template-columns:repeat(6,minmax(0,1fr))}
.rwgm__catalog-card.is-compact{min-height:122px;grid-template-rows:88px auto}.rwgm__catalog-card.is-compact .rwgm__catalog-thumb{height:88px}.rwgm__catalog-card.is-compact .rwgm__catalog-thumb svg{width:48px;height:86px}
.rwgm__swatchgrid{display:grid;grid-template-columns:repeat(12,minmax(28px,1fr));gap:7px}
.rwgm__swatch{position:relative;min-width:30px;min-height:30px;aspect-ratio:1;border-radius:50%;border:2px solid rgba(255,255,255,.14);background:var(--swatch);cursor:pointer;padding:0}
.rwgm__swatch.is-selected{border-color:#fff;box-shadow:0 0 0 2px var(--rwgm-accent)}
.rwgm__creator-status{min-height:18px;padding-top:8px;color:#e7c977;font-size:10px;flex:0 0 auto}
.rwgm__avatarcard .rwgm__modalactions{flex:0 0 auto;margin-top:8px;padding-top:10px;border-top:1px solid var(--rwgm-border)}

@media(max-width:900px){
  .rwgm__avatarcard{width:min(760px,calc(100vw - 20px));max-height:calc(100vh - 20px);padding:12px}
  .rwgm__creator-shell{grid-template-columns:210px minmax(0,1fr)}
  .rwgm__itemgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.rwgm__itemgrid--compact{grid-template-columns:repeat(4,minmax(0,1fr))}
  .rwgm__swatchgrid{grid-template-columns:repeat(8,minmax(28px,1fr))}
}
@media(max-width:680px){
  .rwgm__modal{padding:8px;align-items:start;overflow:auto}
  .rwgm__avatarcard{width:100%;max-height:none;overflow:visible}
  .rwgm__creator-shell{grid-template-columns:1fr;overflow:visible}
  .rwgm__creator-preview{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center}
  .rwgm__avatar-large{height:190px}.rwgm__avatar-large svg{width:92px;max-height:180px}
  .rwgm__creator-workspace{overflow:visible}.rwgm__creator-panel{overflow:visible}
  .rwgm__itemgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__itemgrid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rwgm__catalog-card{min-height:137px;grid-template-rows:100px auto}.rwgm__catalog-thumb{height:100px}.rwgm__catalog-thumb svg{width:55px;height:96px}
  .rwgm__swatchgrid{grid-template-columns:repeat(6,minmax(30px,1fr))}
  .rwgm__creator-tabs{display:grid;grid-template-columns:repeat(2,1fr)}
}

/* v0.6.0 map action menu + avatar motion fixes */
.maplibregl-popup.rwgm-action-popup{z-index:8}
.maplibregl-popup.rwgm-action-popup .maplibregl-popup-content{padding:0;border:1px solid rgba(232,194,107,.35);border-radius:12px;background:#0f181e;color:#eef3f6;box-shadow:0 12px 30px rgba(0,0,0,.38);overflow:hidden}
.maplibregl-popup.rwgm-action-popup .maplibregl-popup-tip{border-top-color:#0f181e;border-bottom-color:#0f181e}
.maplibregl-popup.rwgm-action-popup .maplibregl-popup-close-button{width:30px;height:30px;border:0;color:#9fb0bc;background:transparent;font-size:19px;line-height:30px}
.rwgm__map-action{display:grid;gap:9px;min-width:210px;padding:13px 14px 14px}
.rwgm__map-action>strong{padding-right:22px;font-size:13px;line-height:1.2}
.rwgm__map-action-meta{display:flex;flex-wrap:wrap;gap:5px 9px;color:#9eb0bc;font-size:10px;line-height:1.35}
.rwgm__map-action-meta b{color:#eef3f6;font-size:11px}
.rwgm__map-action-meta span+span:before{content:'•';margin-right:7px;color:#62727e}
.rwgm__map-action-move{min-height:40px;border:1px solid #e8c26b;border-radius:8px;background:#e8c26b;color:#111820;font:700 11px/1 system-ui,sans-serif;cursor:pointer}
.rwgm__map-action-move:disabled{cursor:not-allowed;opacity:.5}

/* Shoes are rendered inside their leg groups in v0.6 so the whole leg/foot chain swings together. */
.rwgm__avatar .rwgm__leg-left,.rwgm__avatar .rwgm__leg-right{transform-box:fill-box;transform-origin:center 8%}

/* Larger, cleaner catalog previews now that every item has a distinct silhouette. */
.rwgm__catalog-card{grid-template-rows:120px auto;min-height:158px}
.rwgm__catalog-thumb{height:120px}
.rwgm__catalog-thumb svg{width:66px;height:116px}
.rwgm__catalog-card.is-compact{grid-template-rows:94px auto;min-height:128px}
.rwgm__catalog-card.is-compact .rwgm__catalog-thumb{height:94px}
.rwgm__catalog-card.is-compact .rwgm__catalog-thumb svg{width:52px;height:92px}

/* v0.7.1 procedural SVG vehicles */
.rwgm__player-marker--vehicle{width:82px;height:82px;overflow:visible}
.rwgm__vehicle-slot{position:relative;display:grid;place-items:center;width:80px;height:80px;overflow:visible;isolation:isolate}
.rwgm__vehicle-rotor{display:block;width:80px;height:80px;transform:rotate(var(--rwgm-vehicle-bearing,0deg));transform-origin:50% 50%;transition:transform .03s linear;filter:drop-shadow(0 8px 6px rgba(0,0,0,.2));pointer-events:none;user-select:none}
.rwgm__vehicle-svg{display:block;width:100%;height:100%;overflow:visible}
.rwgm__vehicle-sway{display:block;transform:rotate(var(--rwgm-vehicle-lean,0deg));transform-origin:50% 50%;transition:transform .08s ease-out}
.rwgm__vehicle-svg .rwgm__veh-shadow{fill:rgba(8,11,15,.16)}
.rwgm__vehicle-svg .rwgm__veh-wheel-outer{fill:#1d2329;stroke:#0d1115;stroke-width:1.2}
.rwgm__vehicle-svg .rwgm__veh-wheel-rim{fill:#4e5660;stroke:#8e98a1;stroke-width:.85}
.rwgm__vehicle-svg .rwgm__veh-wheel-inner{fill:#cdd5dc;stroke:#8d96a0;stroke-width:1}
.rwgm__vehicle-svg .rwgm__veh-bike-frame{stroke:#e9eef4;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none}
.rwgm__vehicle-svg .rwgm__veh-seat{fill:#11161b}.rwgm__vehicle-svg .rwgm__veh-pedal{fill:#171d23}
.rwgm__vehicle-svg .rwgm__veh-accent{fill:#e9edf2}
.rwgm__vehicle-svg .rwgm__veh-detail{stroke:#2b333b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.rwgm__vehicle-svg .rwgm__veh-detail--soft{stroke:#b8c3cd;opacity:.75}
.rwgm__vehicle-svg .rwgm__veh-windowline{stroke:#97a7b4;stroke-width:1.35;opacity:.8}
.rwgm__vehicle-svg .rwgm__veh-rider{opacity:.98}
.rwgm__vehicle-svg .rwgm__veh-swayable{transform-origin:60px 60px;transform-box:fill-box}
.rwgm__vehicle-svg .rwgm__veh-wheel-rim{fill:#39414a;stroke:#8d96a0;stroke-width:.9}
.rwgm__vehicle-svg .rwgm__veh-bike-frame{stroke:#eceff3;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round;fill:none}
.rwgm__vehicle-svg .rwgm__veh-bike-fork{stroke-width:3.4}
.rwgm__vehicle-svg .rwgm__veh-pedal{fill:#151a20}
.rwgm__vehicle-svg .rwgm__veh-panel{stroke:#dbe2ea;stroke-width:1}
.rwgm__vehicle-svg .rwgm__veh-wheel--rear{opacity:.98}
.rwgm__vehicle-svg .rwgm__veh-shadow{fill:rgba(8,11,15,.18)}
.rwgm__vehicle-svg .rwgm__veh-wheel-outer{fill:#20262d;stroke:#0d1115;stroke-width:1.4}
.rwgm__vehicle-svg .rwgm__veh-wheel-inner{fill:#cfd6dc;stroke:#8d96a0;stroke-width:1.1}
.rwgm__vehicle-svg .rwgm__veh-spoke{stroke:#6b7580;stroke-width:1.2;stroke-linecap:round;fill:none;opacity:.88}
.rwgm__vehicle-svg .rwgm__veh-frame{stroke:#e8edf2;stroke-width:4.3;stroke-linecap:round;stroke-linejoin:round;fill:none}
.rwgm__vehicle-svg .rwgm__veh-detail{stroke:#2c333b;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;fill:none}
.rwgm__vehicle-svg .rwgm__veh-detail--soft{stroke:#b9c4cf;opacity:.75}
.rwgm__vehicle-svg .rwgm__veh-seat{fill:#11161b}
.rwgm__vehicle-svg .rwgm__veh-accent{fill:#f2b24b}
.rwgm__vehicle-svg .rwgm__veh-glass{stroke:#adc0cf;stroke-width:1;opacity:.98}
.rwgm__vehicle-svg .rwgm__veh-windowline{stroke:#93a5b4;stroke-width:1.4;opacity:.8}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-rotor{animation:rwgm-vehicle-rock .18s ease-in-out infinite alternate}
.rwgm__player-marker--vehicle.is-driving .rwgm__veh-wheel{animation:rwgm-wheel-spin .3s linear infinite}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-sway{animation:rwgm-vehicle-bob .22s ease-in-out infinite alternate}
@keyframes rwgm-wheel-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes rwgm-vehicle-rock{from{transform:rotate(var(--rwgm-vehicle-bearing,0deg)) translateY(0)}to{transform:rotate(var(--rwgm-vehicle-bearing,0deg)) translateY(-1.2px)}}
@keyframes rwgm-vehicle-bob{from{transform:rotate(var(--rwgm-vehicle-lean,0deg)) translateY(0)}to{transform:rotate(var(--rwgm-vehicle-lean,0deg)) translateY(-.6px)}}

.rwgm__garagecard{width:min(900px,100%);max-height:min(82vh,820px);display:flex;flex-direction:column;overflow:hidden}
.rwgm__garagecard .rwgm__modalhead{flex:0 0 auto}
.rwgm__garage-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid var(--rwgm-border);border-radius:9px;background:rgba(255,255,255,.025)}
.rwgm__garage-current span{color:var(--rwgm-muted);font-size:11px}.rwgm__garage-current strong{font-size:12px;color:var(--rwgm-ink)}
.rwgm__vehicle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;overflow:auto;padding:2px 3px 4px;min-height:0}
.rwgm__vehicle-card{display:grid;grid-template-rows:142px auto auto auto;gap:5px;min-width:0;padding:10px;border:1px solid var(--rwgm-border);border-radius:11px;background:#121c23;color:var(--rwgm-ink);text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease;position:relative}
.rwgm__vehicle-card:hover{border-color:#62727e;background:#152129}.rwgm__vehicle-card:focus-visible{outline:2px solid var(--rwgm-accent);outline-offset:2px}.rwgm__vehicle-card.is-active{border-color:var(--rwgm-accent);background:rgba(232,194,107,.07);box-shadow:0 0 0 1px rgba(232,194,107,.25) inset}
.rwgm__vehicle-card:disabled{opacity:.42;cursor:not-allowed}
.rwgm__vehicle-art{display:grid;place-items:center;min-width:0;border-radius:10px;background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));overflow:hidden;border:1px solid rgba(255,255,255,.03)}
.rwgm__vehicle-art .rwgm__vehicle-svg{width:136px;height:136px}
.rwgm__vehicle-svg.is-preview .rwgm__veh-shadow{fill:rgba(8,11,15,.12)}
.rwgm__vehicle-card strong{font-size:12px;line-height:1.2}.rwgm__vehicle-card>span:not(.rwgm__vehicle-art){color:var(--rwgm-muted);font-size:9.5px;line-height:1.3}.rwgm__vehicle-card em{font-style:normal;color:var(--rwgm-accent);font-size:9.5px;font-weight:700}

@media(max-width:760px){.rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__garagecard{max-height:none}.rwgm__vehicle-card{grid-template-rows:120px auto auto auto}.rwgm__vehicle-art .rwgm__vehicle-svg{width:116px;height:116px}}
@media(max-width:420px){.rwgm__vehicle-grid{grid-template-columns:1fr 1fr;gap:7px}.rwgm__vehicle-card{padding:8px}.rwgm__vehicle-art .rwgm__vehicle-svg{width:96px;height:96px}}
@media(prefers-reduced-motion:reduce){.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-rotor,.rwgm__player-marker--vehicle.is-driving .rwgm__veh-wheel{animation:none}.rwgm__vehicle-rotor{transition:none}}


.rwgm__vehicle-card{touch-action:manipulation}

/* v0.8.4 static vehicle art sourced from the generated top-down sheets */
.rwgm__player-marker--vehicle{width:90px;height:90px;overflow:visible}
.rwgm__vehicle-slot{position:relative;display:grid;place-items:center;width:86px;height:86px;overflow:visible;isolation:isolate}
.rwgm__vehicle-rotor{display:grid;place-items:center;width:86px;height:86px;transform:rotate(var(--rwgm-vehicle-bearing,0deg));transform-origin:50% 50%;transition:transform .12s linear;filter:drop-shadow(0 9px 8px rgba(0,0,0,.22));pointer-events:none;user-select:none}
.rwgm__vehicle-image-wrap{display:grid;place-items:center;width:100%;height:100%;overflow:visible}
.rwgm__vehicle-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.rwgm__vehicle-art{display:grid;place-items:center;min-width:0;border-radius:10px;background:radial-gradient(circle at 50% 40%, rgba(255,255,255,.045), rgba(255,255,255,.012));overflow:hidden;border:1px solid rgba(255,255,255,.03)}
.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:136px;height:136px}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-rotor,
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-sway{animation:none !important}
.rwgm__vehicle-sway{transform:none;transition:none}
@media(max-width:760px){.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:116px;height:116px}}
@media(max-width:420px){.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:96px;height:96px}}
@media(prefers-reduced-motion:reduce){.rwgm__vehicle-rotor{transition:none}}

/* v0.8.6 garage usability + cleaner static vehicle cutouts */
.rwgm__vehicle-grid{align-items:start}
.rwgm__vehicle-card{grid-template-rows:132px auto auto auto auto;gap:6px;cursor:default}
.rwgm__vehicle-card.is-locked{opacity:.6}
.rwgm__vehicle-art{padding:10px;box-sizing:border-box;background:radial-gradient(circle at 50% 36%, rgba(255,255,255,.05), rgba(255,255,255,.015));overflow:hidden}
.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:118px;height:118px}
.rwgm__vehicle-card strong{font-size:12px;line-height:1.2}
.rwgm__vehicle-card > span:not(.rwgm__vehicle-art){color:var(--rwgm-muted);font-size:10px;line-height:1.35}
.rwgm__vehicle-card em{font-style:normal;color:#99acb7;font-size:10px;font-weight:600}
.rwgm__vehicle-actions{display:flex;align-items:center;justify-content:flex-start;margin-top:2px}
.rwgm__vehicle-enter{min-height:34px;padding:0 12px;border:1px solid #e8c26b;border-radius:8px;background:#e8c26b;color:#111820;font:700 11px/1 system-ui,sans-serif;cursor:pointer}
.rwgm__vehicle-enter:hover{filter:brightness(1.03)}
.rwgm__vehicle-enter:disabled{cursor:not-allowed;opacity:.45;filter:none}
.rwgm__vehicle-image{object-fit:contain;object-position:center center}
@media(max-width:760px){.rwgm__vehicle-card{grid-template-rows:112px auto auto auto auto}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:96px;height:96px}}
@media(max-width:420px){.rwgm__vehicle-card{grid-template-rows:98px auto auto auto auto}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:82px;height:82px}}

/* v0.9.0 categorized vehicle gallery and game specifications */
.rwgm__garagecard{width:min(1120px,100%);max-height:min(90vh,900px)}
.rwgm__vehicle-filters{display:flex;flex:0 0 auto;gap:7px;overflow-x:auto;padding:1px 1px 10px;margin-bottom:2px;scrollbar-width:thin}
.rwgm__vehicle-filter{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid var(--rwgm-border);border-radius:999px;background:#121c23;color:var(--rwgm-muted);font:700 10px/1 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.rwgm__vehicle-filter span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:rgba(255,255,255,.07);font-size:9px}
.rwgm__vehicle-filter:hover{border-color:#71828d;color:var(--rwgm-ink)}
.rwgm__vehicle-filter.is-active{border-color:var(--rwgm-accent);background:rgba(232,194,107,.12);color:var(--rwgm-accent)}
.rwgm__vehicle-grid{grid-template-columns:repeat(4,minmax(190px,1fr))}
.rwgm__vehicle-card{grid-template-rows:132px auto auto auto auto auto auto;gap:7px}
.rwgm__vehicle-category{color:var(--rwgm-accent)!important;font-weight:700;letter-spacing:.01em}
.rwgm__vehicle-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.rwgm__vehicle-specs>span{display:grid;gap:2px;min-width:0;padding:6px 3px;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.025);text-align:center}
.rwgm__vehicle-specs b{overflow:hidden;color:var(--rwgm-ink);font-size:11px;line-height:1;text-overflow:ellipsis}
.rwgm__vehicle-specs small{overflow:hidden;color:var(--rwgm-muted);font-size:8px;line-height:1;text-overflow:ellipsis;text-transform:uppercase}
.rwgm__vehicle-fuel{color:#8fa2ad!important;font-size:9px!important}
.rwgm__vehicle-empty{grid-column:1/-1;margin:30px 0;color:var(--rwgm-muted);text-align:center}
@media(max-width:900px){.rwgm__vehicle-grid{grid-template-columns:repeat(3,minmax(175px,1fr))}}
@media(max-width:680px){.rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(145px,1fr))}.rwgm__vehicle-card{grid-template-rows:112px auto auto auto auto auto auto}}
@media(max-width:390px){.rwgm__vehicle-grid{grid-template-columns:1fr}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:108px;height:108px}}

/* v1.0.0 creator + garage interface overhaul */
.rwgm__avatarcard,.rwgm__garagecard{
  border-color:rgba(255,255,255,.14);
  border-radius:16px;
  background:#171b1f;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.rwgm__avatarcard{width:min(1180px,calc(100vw - 32px));padding:20px}
.rwgm__avatarcard .rwgm__modalhead,.rwgm__garagecard .rwgm__modalhead{padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.1)}
.rwgm__avatarcard .rwgm__modalhead h3,.rwgm__garagecard .rwgm__modalhead h3{font-size:24px;letter-spacing:-.02em}
.rwgm__creator-subtitle{font-size:14px;line-height:1.5}
.rwgm__creator-shell{grid-template-columns:minmax(0,1fr) 300px;gap:20px}
.rwgm__creator-workspace{grid-column:1;grid-row:1;border-radius:12px;background:#111519}
.rwgm__creator-preview{grid-column:2;grid-row:1;position:sticky;top:0;align-self:start}
.rwgm__avatar-large{height:480px;max-height:none;border-color:rgba(255,255,255,.12);background:radial-gradient(circle at 50% 30%,rgba(94,159,232,.14),rgba(255,255,255,.025) 58%,rgba(0,0,0,.14))}
.rwgm__avatar-large svg{width:min(230px,92%);max-height:440px}
.rwgm__creator-summary{padding:14px;border-color:rgba(255,255,255,.12);background:#20252a}
.rwgm__creator-summary strong{font-size:15px}.rwgm__creator-summary span{font-size:13px}
.rwgm__creator-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px;background:#171c21}
.rwgm__creator-tabs button,.rwgm__wardrobe-tabs button,.rwgm__filterchips button{min-height:44px;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:650}
.rwgm__creator-tabs button.is-active,.rwgm__wardrobe-tabs button.is-active,.rwgm__filterchips button.is-selected{border-color:#5e9fe8;background:rgba(94,159,232,.14);color:#cfe6ff}
.rwgm__creator-panel{padding:18px}
.rwgm__creator-section{gap:12px;margin-bottom:24px}
.rwgm__creator-sectionhead{align-items:center}.rwgm__creator-sectionhead strong{font-size:16px}.rwgm__creator-sectionhead span{font-size:13px;line-height:1.4}
.rwgm__wardrobe-tabs,.rwgm__filterchips{gap:8px}
.rwgm__wardrobe-tabs button,.rwgm__filterchips button{border-color:rgba(255,255,255,.12);background:#1a2025}
.rwgm__itemgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rwgm__itemgrid--compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.rwgm__catalog-card,.rwgm__catalog-card.is-compact{min-height:178px;grid-template-rows:138px auto;gap:8px;padding:10px;border-color:rgba(255,255,255,.12);border-radius:10px;background:#1a2025;font-size:13px;line-height:1.35}
.rwgm__catalog-card.is-compact{min-height:152px;grid-template-rows:112px auto}
.rwgm__catalog-thumb,.rwgm__catalog-card.is-compact .rwgm__catalog-thumb{height:138px;border-radius:8px;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.065),rgba(255,255,255,.015))}
.rwgm__catalog-card.is-compact .rwgm__catalog-thumb{height:112px}
.rwgm__catalog-thumb svg{width:76px;height:132px}.rwgm__catalog-card.is-compact .rwgm__catalog-thumb svg{width:62px;height:106px}
.rwgm__catalog-card:hover{transform:translateY(-1px);border-color:rgba(94,159,232,.7);background:#202830}
.rwgm__catalog-card.is-selected{border-color:#5e9fe8;box-shadow:inset 0 0 0 1px #5e9fe8;background:rgba(94,159,232,.12)}
.rwgm__swatchgrid{grid-template-columns:repeat(10,minmax(40px,1fr));gap:10px}
.rwgm__swatch{min-width:40px;min-height:40px;border-radius:10px}
.rwgm__creator-locknote,.rwgm__creator-status{font-size:13px;line-height:1.5}
.rwgm__avatarcard .rwgm__modalactions{gap:10px}.rwgm__avatarcard .rwgm__modalactions button{min-height:44px;padding:0 18px;font-size:14px}

.rwgm__garagecard{width:min(1180px,calc(100vw - 32px));padding:20px}
.rwgm__garage-current{padding:12px 14px}.rwgm__garage-current span,.rwgm__garage-current strong{font-size:14px}
.rwgm__vehicle-filter{min-height:44px;padding:0 14px;font-size:13px}
.rwgm__vehicle-grid{grid-template-columns:repeat(3,minmax(230px,1fr));gap:14px}
.rwgm__vehicle-card{grid-template-rows:160px auto auto auto auto auto auto;gap:9px;padding:14px;border-color:rgba(255,255,255,.12);border-radius:12px;background:#1a2025}
.rwgm__vehicle-art{height:160px;padding:8px;background:radial-gradient(circle at 50% 42%,rgba(94,159,232,.08),rgba(255,255,255,.012))}
.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:145px;height:145px;min-width:0;min-height:0;overflow:hidden}
.rwgm__vehicle-art .rwgm__vehicle-image{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
.rwgm__vehicle-card strong{font-size:15px}.rwgm__vehicle-card>span:not(.rwgm__vehicle-art){font-size:13px;line-height:1.4}
.rwgm__vehicle-specs{gap:7px}.rwgm__vehicle-specs>span{padding:9px 4px}.rwgm__vehicle-specs b{font-size:14px;line-height:1.2}.rwgm__vehicle-specs small{font-size:10px;line-height:1.2}
.rwgm__vehicle-card em{font-size:12px}.rwgm__vehicle-actions{margin-top:3px}
.rwgm__vehicle-enter{position:relative;z-index:2;width:100%;min-height:44px;padding:0 16px;border-color:#5e9fe8;background:#5e9fe8;color:#0c1722;font-size:14px;pointer-events:auto;touch-action:manipulation}
.rwgm__vehicle-enter:focus-visible,.rwgm__vehicle-filter:focus-visible,.rwgm__catalog-card:focus-visible,.rwgm__creator-tabs button:focus-visible{outline:3px solid rgba(94,159,232,.65);outline-offset:2px}
.rwgm__garage-status{min-height:20px;color:#8fc5ff;font-size:13px;line-height:1.4}
.rwgm__garagecard .rwgm__modalactions button{min-height:44px;font-size:14px}

@media(max-width:900px){
  .rwgm__creator-shell{grid-template-columns:minmax(0,1fr) 230px;gap:14px}
  .rwgm__avatar-large{height:390px}.rwgm__avatar-large svg{width:180px;max-height:360px}
  .rwgm__itemgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__itemgrid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(210px,1fr))}
}
@media(max-width:680px){
  .rwgm__avatarcard,.rwgm__garagecard{width:100%;padding:14px;border-radius:12px}
  .rwgm__creator-shell{display:flex;flex-direction:column;gap:14px}
  .rwgm__creator-preview{position:static;order:0;display:grid;grid-template-columns:132px minmax(0,1fr)}
  .rwgm__creator-workspace{order:1}
  .rwgm__avatar-large{height:210px}.rwgm__avatar-large svg{width:105px;max-height:195px}
  .rwgm__creator-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rwgm__creator-panel{padding:14px}
  .rwgm__itemgrid,.rwgm__itemgrid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rwgm__swatchgrid{grid-template-columns:repeat(6,minmax(40px,1fr))}
  .rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(145px,1fr));gap:10px}
  .rwgm__vehicle-card{grid-template-rows:124px auto auto auto auto auto auto;padding:10px}
  .rwgm__vehicle-art{height:124px}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:112px;height:112px}
}
@media(max-width:420px){
  .rwgm__creator-preview{grid-template-columns:110px minmax(0,1fr)}
  .rwgm__itemgrid,.rwgm__itemgrid--compact,.rwgm__vehicle-grid{grid-template-columns:1fr}
  .rwgm__vehicle-card{grid-template-rows:150px auto auto auto auto auto auto}.rwgm__vehicle-art{height:150px}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:138px;height:138px}
}

/* v1.2.0 smooth live vehicles, immediate swaps and exhaust smoke */
.rwgm .maplibregl-marker{will-change:transform}
.rwgm__vehicle-rotor{position:relative;transition:none!important;will-change:transform}
.rwgm__vehicle-image-wrap,.rwgm__vehicle-image{will-change:transform}
.rwgm__vehicle-smoke{position:absolute;z-index:-1;left:50%;top:77%;width:24px;height:40px;transform:translateX(-50%);pointer-events:none}
.rwgm__vehicle-smoke i{position:absolute;left:50%;bottom:0;width:9px;height:9px;border-radius:50%;background:rgba(185,195,201,.58);filter:blur(.5px);opacity:0;transform:translate(-50%,0) scale(.6)}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i{animation:rwgm-exhaust-smoke 1.05s ease-out infinite}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(2){margin-left:-5px;animation-delay:.32s}
.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(3){margin-left:5px;animation-delay:.64s}
@keyframes rwgm-exhaust-smoke{
  0%{opacity:0;transform:translate(-50%,0) scale(.45)}
  18%{opacity:.62}
  100%{opacity:0;transform:translate(calc(-50% + 4px),27px) scale(1.45)}
}
@media(prefers-reduced-motion:reduce){.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i{animation:none;opacity:0}}

/* v1.3.0 compact dashboard and visible player driver */
.rwgm__vehicle-hud{display:grid;gap:9px;margin-top:12px;padding:12px;border:1px solid rgba(94,159,232,.34);border-radius:10px;background:linear-gradient(145deg,rgba(94,159,232,.10),rgba(255,255,255,.025))}
.rwgm__vehicle-hud[hidden]{display:none}
.rwgm__vehicle-hud-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rwgm__vehicle-hud-title>span:first-child{display:grid;gap:2px;min-width:0}
.rwgm__vehicle-hud-title strong{overflow:hidden;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.rwgm__vehicle-hud-title small{color:var(--rwgm-muted);font-size:10px}
.rwgm__speedometer{display:flex;align-items:baseline;justify-content:flex-end;gap:4px;min-width:76px}
.rwgm__speedometer strong{font-variant-numeric:tabular-nums;font-size:25px;line-height:1;color:#d9ecff}
.rwgm__speedometer small{color:#8fa5b5;font-size:9px;text-transform:uppercase}
.rwgm__energy-row{display:flex;align-items:center;justify-content:space-between;color:var(--rwgm-muted);font-size:10px}
.rwgm__energy-row strong{color:var(--rwgm-ink);font-variant-numeric:tabular-nums}
.rwgm__energy-track{height:8px;overflow:hidden;border-radius:5px;background:rgba(255,255,255,.10)}
.rwgm__energy-track>span{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#46a171,#72bc8f);transition:width .2s linear}
.rwgm__energy-track>span.is-electric{background:linear-gradient(90deg,#2783de,#5e9fe8)}
.rwgm__energy-track>span.is-low{background:linear-gradient(90deg,#e56458,#de9255)}

.rwgm__vehicle-driver-head{position:absolute;z-index:3;left:50%;top:32%;display:grid;place-items:center;width:23px;height:23px;overflow:hidden;border:2px solid rgba(238,244,247,.88);border-radius:50%;background:#1a2228;box-shadow:0 2px 5px rgba(0,0,0,.45);transform:translate(-50%,-50%);pointer-events:none}
.rwgm__vehicle-driver-head svg{display:block;width:29px;height:31px;max-width:none;transform:translateY(1px)}
.rwgm__vehicle-driver-head--city-bicycle{top:43%;width:25px;height:25px}
.rwgm__vehicle-driver-head--urban-scooter{top:40%}
.rwgm__vehicle-driver-head--sport-motorcycle{top:39%}
.rwgm__vehicle-driver-head--auto-rickshaw{top:31%}
.rwgm__vehicle-driver-head--compact-sedan,.rwgm__vehicle-driver-head--adventure-suv,.rwgm__vehicle-driver-head--performance-coupe{top:31%}
.rwgm__vehicle-driver-head--crew-pickup{top:25%}
.rwgm__vehicle-driver-head--city-bus{top:18%}
.rwgm__vehicle-driver-head--cargo-truck{top:80%}

/* v1.4.0 professional telemetry, lights, mobile joystick and compact actions */
.rwgm__vehicle-hud{position:relative;overflow:hidden;padding:14px;border-color:rgba(94,159,232,.44);background:linear-gradient(145deg,rgba(18,35,49,.96),rgba(10,18,24,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 24px rgba(0,0,0,.2)}
.rwgm__vehicle-hud:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#5e9fe8,transparent);animation:rwgm-hud-scan 3.2s ease-in-out infinite}
@keyframes rwgm-hud-scan{0%,100%{opacity:.25;transform:translateX(-45%)}50%{opacity:1;transform:translateX(45%)}}
.rwgm__speedometer strong{min-width:44px;text-align:right;font-size:28px;text-shadow:0 0 14px rgba(94,159,232,.45)}
.rwgm__speed-track{height:10px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:6px;background:rgba(0,0,0,.28)}
.rwgm__speed-track>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#46a171 0%,#72bc8f 38%,#eac26b 68%,#de9255 84%,#e56458 100%);box-shadow:0 0 12px currentColor;transition:width .12s linear}
.rwgm__vehicle-telemetry{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--rwgm-muted);font-size:10px}
.rwgm__vehicle-telemetry strong{color:var(--rwgm-ink);font-variant-numeric:tabular-nums}
.rwgm__light-toggle{min-height:32px!important;padding:5px 9px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:7px!important;background:#172129!important;color:#aebbc4!important;font-size:10px!important;cursor:pointer}
.rwgm__light-toggle[aria-pressed="true"]{border-color:#eac26b!important;background:rgba(234,194,107,.14)!important;color:#ffe6a5!important;box-shadow:0 0 14px rgba(234,194,107,.16)}

.rwgm__vehicle-driver-head{left:44%;width:18px;height:18px;border:1px solid rgba(21,29,35,.72);background:#263139;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.rwgm__vehicle-driver-head svg{width:24px;height:26px}
.rwgm__vehicle-driver-head--city-bicycle{left:50%;top:43%;width:19px;height:19px}
.rwgm__vehicle-driver-head--urban-scooter,.rwgm__vehicle-driver-head--sport-motorcycle{left:50%}
.rwgm__vehicle-driver-head--auto-rickshaw{left:44%;top:30%}
.rwgm__vehicle-driver-head--compact-sedan,.rwgm__vehicle-driver-head--adventure-suv,.rwgm__vehicle-driver-head--performance-coupe{top:27%}
.rwgm__vehicle-driver-head--crew-pickup{top:23%}
.rwgm__vehicle-driver-head--city-bus{top:16%}
.rwgm__vehicle-driver-head--cargo-truck{top:20%}
.rwgm__vehicle-image-wrap--cargo-truck .rwgm__vehicle-image{transform:rotate(180deg)}

.rwgm__vehicle-headlights{position:absolute;z-index:-2;left:50%;top:5%;display:flex;justify-content:space-between;width:34px;height:8px;opacity:0;transform:translateX(-50%);transition:opacity .18s ease;pointer-events:none}
.rwgm__vehicle-headlights i{position:relative;width:6px;height:6px;border-radius:50%;background:#fff6c9;box-shadow:0 0 8px #ffeaa0}
.rwgm__vehicle-headlights i:before{content:"";position:absolute;left:50%;bottom:2px;width:42px;height:92px;background:linear-gradient(to top,rgba(255,244,181,.46),rgba(255,244,181,0));clip-path:polygon(38% 100%,62% 100%,100% 0,0 0);filter:blur(3px);transform:translateX(-50%)}
.rwgm__player-marker--vehicle.lights-on .rwgm__vehicle-headlights{opacity:1}

.rwgm__joystick{display:none;position:absolute;z-index:12;left:18px;bottom:18px;place-items:center;gap:4px;touch-action:none;user-select:none}
.rwgm__joystick-base{position:relative;width:118px;height:118px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:radial-gradient(circle,rgba(94,159,232,.16),rgba(7,14,20,.72));box-shadow:inset 0 0 24px rgba(94,159,232,.12),0 10px 30px rgba(0,0,0,.35);backdrop-filter:blur(8px)}
.rwgm__joystick-base:before,.rwgm__joystick-base:after{content:"";position:absolute;left:50%;top:50%;background:rgba(255,255,255,.10);transform:translate(-50%,-50%)}
.rwgm__joystick-base:before{width:76%;height:1px}.rwgm__joystick-base:after{width:1px;height:76%}
.rwgm__joystick-knob{position:absolute;z-index:2;left:34px;top:34px;width:50px;height:50px;border:2px solid rgba(218,237,255,.8);border-radius:50%;background:linear-gradient(145deg,#5e9fe8,#285f9c);box-shadow:0 7px 18px rgba(0,0,0,.38),inset 0 1px 2px rgba(255,255,255,.5);will-change:transform}
.rwgm__joystick small{color:#d6e8f8;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 2px 5px #000}
@media(hover:none) and (pointer:coarse){.rwgm__joystick{display:grid}.rwgm__wasd{display:none}}

.maplibregl-popup.rwgm-action-popup .maplibregl-popup-content{border:0;border-radius:9px;background:transparent;box-shadow:none}
.maplibregl-popup.rwgm-action-popup .maplibregl-popup-tip{display:none}
.rwgm__map-action--compact{display:flex;min-width:0;padding:0;background:transparent}
.rwgm__map-action--compact .rwgm__map-action-move{min-height:38px;padding:0 13px;border:1px solid rgba(94,159,232,.65);border-radius:9px;background:#2783de;color:#fff;font-size:11px;box-shadow:0 8px 22px rgba(0,0,0,.3);white-space:nowrap}
.rwgm__map-action--compact .rwgm__map-action-move:hover{background:#3d92e6;transform:translateY(-1px)}

.rwgm__vehicle-card,.rwgm__catalog-card,.rwgm__vehicle-filter,.rwgm__btn{transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.rwgm__vehicle-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.22)}
@media(prefers-reduced-motion:reduce){.rwgm__vehicle-hud:before{animation:none}.rwgm__vehicle-card,.rwgm__catalog-card,.rwgm__vehicle-filter,.rwgm__btn{transition:none}}


/* v1.4.1 game-style garage loadout */
.rwgm__garagecard{width:min(1040px,calc(100vw - 28px));max-height:min(88vh,820px);padding:0;overflow:hidden;border:1px solid rgba(232,194,107,.28);border-radius:14px;background:linear-gradient(155deg,#121a20 0%,#0a1015 100%);box-shadow:0 28px 90px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.06)}
.rwgm__garagecard .rwgm__modalhead{margin:0;padding:18px 20px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(90deg,rgba(232,194,107,.08),transparent 52%)}
.rwgm__garagecard .rwgm__modalhead h3{margin-top:3px;font-size:22px;line-height:1.1;letter-spacing:-.015em}
.rwgm__garagecard .rwgm__eyebrow{color:#e8c26b;font-size:9px;font-weight:800;letter-spacing:.2em}
.rwgm__garagecard .rwgm__creator-subtitle{margin:5px 0 0;color:#81909a;font-size:12px}
.rwgm__garagecard .rwgm__x{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(255,255,255,.025);font-size:22px;line-height:1}
.rwgm__garage-current{margin:14px 20px 10px;padding:0;border:0;border-radius:0;background:transparent}
.rwgm__garage-current span{color:#65747e;font-size:9px;font-weight:800;letter-spacing:.16em}
.rwgm__garage-current strong{color:#f3e4b8;font-size:12px}
.rwgm__vehicle-filters{gap:6px;margin:0;padding:0 20px 12px;scrollbar-width:none}
.rwgm__vehicle-filters::-webkit-scrollbar{display:none}
.rwgm__vehicle-filter{min-height:36px;padding:0 12px;border-color:rgba(255,255,255,.1);border-radius:7px;background:#111a20;color:#82919b;font-size:10px;letter-spacing:.02em}
.rwgm__vehicle-filter span{min-width:17px;height:17px;border-radius:5px;background:rgba(255,255,255,.06)}
.rwgm__vehicle-filter:hover{transform:none;border-color:rgba(232,194,107,.38);background:#172129;color:#d6dde1}
.rwgm__vehicle-filter.is-active{border-color:#e8c26b;background:#e8c26b;color:#17130a;box-shadow:0 0 18px rgba(232,194,107,.12)}
.rwgm__vehicle-filter.is-active span{background:rgba(17,14,7,.14)}
.rwgm__vehicle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 20px 4px;align-items:start}
.rwgm__vehicle-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:1fr;gap:12px;min-height:168px;padding:11px;border:1px solid rgba(255,255,255,.085);border-radius:10px;background:#11191f;overflow:hidden}
.rwgm__vehicle-card:hover{transform:translateY(-1px);border-color:rgba(232,194,107,.34);background:#151f26;box-shadow:0 10px 22px rgba(0,0,0,.24)}
.rwgm__vehicle-card.is-active{border-color:#e8c26b;background:linear-gradient(145deg,rgba(232,194,107,.12),#121a20 58%);box-shadow:inset 3px 0 0 #e8c26b,0 0 0 1px rgba(232,194,107,.08)}
.rwgm__vehicle-art{position:relative;height:146px;padding:5px;border:0;border-radius:8px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.08),rgba(255,255,255,.015) 66%)}
.rwgm__vehicle-art:after{content:"";position:absolute;left:12%;right:12%;bottom:8px;height:1px;background:linear-gradient(90deg,transparent,rgba(232,194,107,.42),transparent)}
.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:100%;max-width:126px;height:126px}
.rwgm__vehicle-art i{position:absolute;z-index:2;left:6px;top:6px;padding:4px 6px;border:1px solid rgba(255,255,255,.1);border-radius:5px;background:rgba(6,10,13,.78);color:#82919b;font:800 8px/1 system-ui,sans-serif;letter-spacing:.12em}
.rwgm__vehicle-card.is-active .rwgm__vehicle-art i{border-color:rgba(232,194,107,.5);color:#f0d486}
.rwgm__vehicle-info{display:flex;min-width:0;flex-direction:column;gap:8px}
.rwgm__vehicle-name{display:grid;gap:2px;min-width:0}
.rwgm__vehicle-name strong{overflow:hidden;color:#f1f4f6;font-size:14px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.rwgm__vehicle-name span{overflow:hidden;color:#81909a;font-size:10px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.rwgm__vehicle-specs{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.rwgm__vehicle-specs>span{display:grid;gap:3px;padding:6px 7px;border:1px solid rgba(255,255,255,.06);border-radius:6px;background:rgba(255,255,255,.025);text-align:left}
.rwgm__vehicle-specs>span:last-child{display:none}
.rwgm__vehicle-specs small{color:#61717c;font-size:7px;font-weight:800;letter-spacing:.1em}
.rwgm__vehicle-specs b{color:#dce4e8;font-size:10px;line-height:1.1;white-space:nowrap}
.rwgm__vehicle-meta{display:flex;gap:7px;color:#71818b;font-size:9px;white-space:nowrap}
.rwgm__vehicle-meta span+span:before{content:"•";margin-right:7px;color:#46545d}
.rwgm__vehicle-enter{width:100%;min-height:35px;margin-top:auto;padding:0 10px;border:1px solid rgba(232,194,107,.7);border-radius:7px;background:transparent;color:#e8c26b;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.rwgm__vehicle-enter:hover{background:#e8c26b;color:#17130a;filter:none}
.rwgm__vehicle-enter[aria-pressed="true"]{border-color:#e8c26b;background:#e8c26b;color:#17130a}
.rwgm__garage-status{min-height:18px;margin:5px 20px 0;font-size:11px}
.rwgm__garagecard .rwgm__modalactions{margin:0;padding:12px 20px 16px;border-top:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.13)}
.rwgm__garagecard .rwgm__modalactions button{min-height:38px;padding:0 14px;font-size:11px}
.rwgm__garagecard .rwgm__primary{background:#e8c26b;color:#17130a}
@media(max-width:900px){.rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.rwgm__garagecard{width:100%;max-height:94vh;border-radius:12px}.rwgm__garagecard .rwgm__modalhead{padding:15px 14px 12px}.rwgm__garage-current{margin:12px 14px 9px}.rwgm__vehicle-filters{padding:0 14px 10px}.rwgm__vehicle-grid{grid-template-columns:1fr;padding:0 14px 4px}.rwgm__vehicle-card{grid-template-columns:112px minmax(0,1fr);min-height:158px}.rwgm__vehicle-art{height:136px}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:100%;max-width:116px;height:116px}.rwgm__garage-status{margin-left:14px;margin-right:14px}.rwgm__garagecard .rwgm__modalactions{padding:10px 14px 14px}}
@media(max-width:390px){.rwgm__vehicle-card{grid-template-columns:98px minmax(0,1fr);gap:9px;padding:9px}.rwgm__vehicle-art{height:132px}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{width:100%;max-width:104px;height:104px}.rwgm__vehicle-meta{white-space:normal}.rwgm__garagecard .rwgm__modalactions{display:grid;grid-template-columns:1fr 1fr}}

/* v2.0 vehicle-specific headlamp signatures */
.rwgm__vehicle-headlights.is-single{justify-content:center;width:18px}
.rwgm__vehicle-headlights.is-dual{width:35px}
.rwgm__vehicle-headlights.is-warm i{background:#ffe0a0;box-shadow:0 0 8px #ffc85b,0 0 15px rgba(255,190,70,.55)}
.rwgm__vehicle-headlights.is-white i{background:#f7fcff;box-shadow:0 0 8px #d9f2ff,0 0 17px rgba(130,210,255,.78)}
.rwgm__vehicle-headlights.is-led i{width:7px;height:4px;border-radius:4px}
.rwgm__vehicle-headlights.is-laser i{width:5px;height:4px;background:#eaf9ff;box-shadow:0 0 7px #9cddff,0 0 20px #5ebfff}
.rwgm__vehicle-headlights.is-matrix i{width:9px;height:4px;border-radius:2px;background:linear-gradient(90deg,#fff 0 25%,#bfe8ff 25% 50%,#fff 50% 75%,#bfe8ff 75%)}
.rwgm__vehicle-headlights.is-single i:before{width:52px}
.rwgm__vehicle-headlights.is-white i:before{background:linear-gradient(to top,rgba(202,236,255,.54),rgba(185,229,255,0))}
.rwgm__vehicle-headlights.is-laser i:before{height:118px;background:linear-gradient(to top,rgba(153,218,255,.65),rgba(120,205,255,0))}

/* v2.0 world builder, owned land and interiors */
.rwgm__build-open{border-color:rgba(70,161,113,.5)!important;color:#9ee0b8!important}
.rwgm__build-dock{position:absolute;z-index:14;left:50%;top:66px;display:flex;align-items:center;gap:8px;padding:8px;border:1px solid rgba(114,188,143,.5);border-radius:10px;background:rgba(8,15,19,.94);box-shadow:0 12px 30px rgba(0,0,0,.38);transform:translateX(-50%);backdrop-filter:blur(10px)}
.rwgm__build-dock[hidden]{display:none}.rwgm__build-dock span{min-width:130px;color:#dcebe2;font-size:11px;font-weight:700}.rwgm__build-dock button{min-height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#172129;color:#dce5e9;font-size:10px;font-weight:800;cursor:pointer}.rwgm__build-dock button:first-of-type{border-color:#72bc8f;background:#2d7e50;color:#fff}
.rwgm__buildcard{width:min(760px,calc(100vw - 28px));padding:0;overflow:hidden;border-color:rgba(114,188,143,.38);background:linear-gradient(150deg,#141d22,#0b1115)}
.rwgm__buildcard .rwgm__modalhead{margin:0;padding:18px 20px 15px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(90deg,rgba(70,161,113,.11),transparent)}
.rwgm__buildcard .rwgm__eyebrow{color:#72bc8f}.rwgm__buildcard .rwgm__creator-subtitle{margin:5px 0 0;color:#83939d;font-size:12px}
.rwgm__build-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.07)}
.rwgm__build-tabs button{min-height:48px;border:0;border-bottom:2px solid transparent;background:transparent;color:#71808a;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.rwgm__build-tabs button.is-active{border-bottom-color:#72bc8f;color:#bce7ca}
.rwgm__build-panel{display:grid;gap:14px;padding:18px 20px}.rwgm__build-panel[hidden]{display:none}
.rwgm__build-help{display:grid;gap:4px}.rwgm__build-help strong{font-size:15px}.rwgm__build-help span{color:#8797a0;font-size:11px;line-height:1.45}
.rwgm__build-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rwgm__build-summary>span{display:grid;gap:4px;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.025)}.rwgm__build-summary small{color:#697983;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.rwgm__build-summary strong{font-size:13px}
.rwgm__build-actions{display:flex;justify-content:flex-end;gap:8px}.rwgm__build-actions button{min-height:42px;padding:0 15px}.rwgm__build-actions .rwgm__primary{background:#65b883;color:#07120c}
.rwgm__blueprints{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto}
.rwgm__blueprint{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;min-height:72px;padding:9px;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:#121b20;color:#e6ecef;text-align:left;cursor:pointer}.rwgm__blueprint>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:rgba(255,255,255,.055);font-size:20px}.rwgm__blueprint strong{align-self:end;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rwgm__blueprint small{align-self:start;color:#73838d;font-size:8px}.rwgm__blueprint:hover{border-color:rgba(114,188,143,.45)}.rwgm__blueprint.is-active{border-color:#72bc8f;background:rgba(70,161,113,.12);box-shadow:inset 0 0 0 1px rgba(114,188,143,.18)}
.rwgm__build-status{min-height:34px;padding:0 20px 16px;color:#8ea0aa;font-size:11px}.rwgm__build-status[data-state="ok"]{color:#8fd5a8}.rwgm__build-status[data-state="error"]{color:#ff9288}
.rwgm__land-owner{display:flex;align-items:center;gap:5px;padding:4px 7px 4px 4px;border:1px solid rgba(114,188,143,.72);border-radius:999px;background:rgba(9,18,13,.9);box-shadow:0 5px 16px rgba(0,0,0,.4);color:#dff5e6;white-space:nowrap}.rwgm__land-owner>span{display:grid;place-items:center;width:23px;height:23px;overflow:hidden;border-radius:50%;background:#263139}.rwgm__land-owner svg{width:28px;height:29px}.rwgm__land-owner strong{font-size:9px}
.rwgm__building-marker{display:grid;place-items:center;min-width:42px;padding:4px 6px;border:1px solid rgba(255,243,207,.8);border-radius:8px;background:rgba(20,27,31,.92);color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.42);cursor:pointer}.rwgm__building-marker span{font-size:18px;line-height:1}.rwgm__building-marker small{max-width:70px;overflow:hidden;color:#e9d9ad;font-size:7px;text-overflow:ellipsis;white-space:nowrap}
.maplibregl-popup.rwgm-property-map-popup .maplibregl-popup-content{padding:0;border-radius:10px;background:#101920;color:#eef3f5;box-shadow:0 14px 35px rgba(0,0,0,.45)}.rwgm__property-popup{display:grid;gap:6px;min-width:160px;padding:12px}.rwgm__property-popup>strong{font-size:13px}.rwgm__property-popup>span{color:#82939d;font-size:9px}.rwgm__property-popup button{min-height:34px;border:1px solid rgba(114,188,143,.5);border-radius:7px;background:#183124;color:#aee1bd;font-size:10px;font-weight:800;cursor:pointer}
.rwgm__interior{position:fixed;z-index:1000000;inset:0;display:flex;flex-direction:column;overflow:auto;background:radial-gradient(circle at 50% 20%,#24303a,#0a1015 65%);color:#edf1f3}.rwgm__interior[hidden]{display:none}.rwgm__interior>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(9,14,18,.88)}.rwgm__interior>header h3{margin:2px 0;font-size:22px}.rwgm__interior>header>div>span{color:#81909a;font-size:11px}
.rwgm__interior-shell{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;width:min(1180px,100%);margin:auto;padding:22px}.rwgm__interior-shell>aside{padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#11191f}.rwgm__interior-shell>aside>strong{font-size:12px}.rwgm__interior-shell>aside>p{color:#74848e;font-size:10px;line-height:1.4}
.rwgm__furniture-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.rwgm__furniture-list button{display:grid;place-items:center;gap:3px;min-height:68px;padding:7px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#182229;color:#dfe7eb;cursor:pointer}.rwgm__furniture-list button span{font-size:22px}.rwgm__furniture-list button strong{font-size:9px}.rwgm__furniture-list button small{color:#6fae83;font-size:8px}.rwgm__furniture-list button.is-active{border-color:#72bc8f;background:rgba(70,161,113,.16)}
.rwgm__interior-shell>main{display:grid;align-content:center;justify-items:center;gap:12px;min-width:0}.rwgm__room{display:grid;grid-template-columns:repeat(8,minmax(54px,82px));grid-template-rows:repeat(6,minmax(54px,82px));gap:2px;padding:28px;border:14px solid #5c493a;border-radius:8px;background:#dbc9a9;box-shadow:inset 0 0 0 5px #8b725b,0 24px 70px rgba(0,0,0,.42);transform:perspective(1100px) rotateX(4deg)}.rwgm__room button{display:grid;place-items:center;border:1px solid rgba(87,65,45,.13);background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(91,66,44,.05));color:#172129;cursor:pointer}.rwgm__room button:hover{background:rgba(114,188,143,.28)}.rwgm__room button.is-occupied{background:rgba(255,255,255,.28)}.rwgm__room button span{font-size:30px;filter:drop-shadow(0 4px 3px rgba(0,0,0,.24))}.rwgm__interior-status{color:#9eabb2;font-size:11px;text-align:center}
@media(max-width:760px){.rwgm__buildcard{width:100%}.rwgm__blueprints{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__interior-shell{grid-template-columns:1fr;padding:14px}.rwgm__interior-shell>aside{order:2}.rwgm__furniture-list{grid-template-columns:repeat(3,minmax(0,1fr))}.rwgm__room{grid-template-columns:repeat(8,minmax(34px,1fr));grid-template-rows:repeat(6,42px);width:100%;padding:12px;border-width:9px}.rwgm__room button span{font-size:21px}}
@media(max-width:430px){.rwgm__build-dock{top:56px;width:calc(100% - 20px);flex-wrap:wrap}.rwgm__build-dock span{flex:1 1 100%}.rwgm__build-summary{grid-template-columns:1fr}.rwgm__build-actions{display:grid;grid-template-columns:1fr 1fr}.rwgm__interior>header{padding:12px 14px}.rwgm__interior>header h3{font-size:18px}.rwgm__interior-shell{padding:10px}.rwgm__furniture-list{grid-template-columns:repeat(3,minmax(0,1fr))}.rwgm__room{grid-template-rows:repeat(6,34px);padding:8px;border-width:7px}}

/* v2.0.1 aligned-grid and menu polish */
.rwgm__player-marker--vehicle>.rwgm__player-shadow{display:none!important}
.rwgm__vehicle-filters{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0;padding:0 20px 12px;overflow:visible}
.rwgm__vehicle-filters label{display:grid;gap:5px;min-width:min(340px,70%)}
.rwgm__vehicle-filters label>span{color:#697983;font-size:8px;font-weight:900;letter-spacing:.15em}
.rwgm__vehicle-filters select{width:100%;min-height:40px;padding:0 38px 0 12px;border:1px solid rgba(232,194,107,.38);border-radius:8px;background:#121b21;color:#edf1f3;font-size:12px;font-weight:700;cursor:pointer;color-scheme:dark}
.rwgm__vehicle-filters>strong{padding-bottom:11px;color:#81919b;font-size:10px;white-space:nowrap}
.rwgm__actions,.rwgm__playeractions{align-items:stretch}
.rwgm__actions .rwgm__btn,.rwgm__playeractions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.rwgm__playeractions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
.rwgm__playeractions button{width:100%;min-height:42px;margin:0!important}
.rwgm__build-tabs button{display:flex;align-items:center;justify-content:center;gap:7px}
@media(max-width:620px){.rwgm__vehicle-filters{align-items:stretch;padding:0 14px 10px}.rwgm__vehicle-filters label{min-width:0;flex:1}.rwgm__vehicle-filters>strong{display:none}.rwgm__vehicle-filters select{min-height:44px}.rwgm__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.rwgm__actions .rwgm__btn{width:100%}}

/* v2.1 open-roof top-view interior overhaul */
.rwgm__interior{background:radial-gradient(circle at 50% 12%,#26333c,#0a1015 62%)}
.rwgm__interior-shell{grid-template-columns:270px minmax(0,1fr);align-items:center;max-width:1280px}
.rwgm__interior-shell>aside{display:grid;gap:18px;max-height:720px;overflow:auto;padding:16px}
.rwgm__interior-tools{display:grid;gap:10px}.rwgm__interior-tools+ .rwgm__interior-tools{padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}.rwgm__interior-tools>strong{font-size:11px;letter-spacing:.03em}.rwgm__interior-tools>p{margin:0;color:#71808a;font-size:9px;line-height:1.45}
.rwgm__floor-list{display:grid;grid-template-columns:1fr;gap:6px}.rwgm__floor-swatch{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;padding:6px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#172129;color:#dfe7eb;text-align:left;cursor:pointer}.rwgm__floor-swatch>span{display:block;width:44px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:5px}.rwgm__floor-swatch strong{font-size:9px}.rwgm__floor-swatch.is-active{border-color:#72bc8f;background:rgba(70,161,113,.14)}
.rwgm__floor-swatch--oak>span,.rwgm__room[data-floor="oak"]{background-color:#c99f68;background-image:repeating-linear-gradient(90deg,rgba(86,55,27,.25) 0 2px,transparent 2px 62px),repeating-linear-gradient(0deg,rgba(255,255,255,.12) 0 1px,transparent 1px 18px)}
.rwgm__floor-swatch--walnut>span,.rwgm__room[data-floor="walnut"]{background-color:#5a3d2d;background-image:repeating-linear-gradient(90deg,rgba(20,10,6,.32) 0 3px,transparent 3px 58px),repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 18px)}
.rwgm__floor-swatch--stone>span,.rwgm__room[data-floor="stone"]{background-color:#a9a39a;background-image:linear-gradient(rgba(55,60,62,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(55,60,62,.2) 1px,transparent 1px);background-size:42px 34px}
.rwgm__floor-swatch--ceramic>span,.rwgm__room[data-floor="ceramic"]{background-color:#ddd9cf;background-image:linear-gradient(rgba(90,104,110,.25) 2px,transparent 2px),linear-gradient(90deg,rgba(90,104,110,.25) 2px,transparent 2px);background-size:54px 54px}
.rwgm__floor-swatch--concrete>span,.rwgm__room[data-floor="concrete"]{background-color:#8b9193;background-image:radial-gradient(circle at 18% 30%,rgba(255,255,255,.12) 0 1px,transparent 2px),radial-gradient(circle at 72% 65%,rgba(0,0,0,.12) 0 1px,transparent 2px);background-size:24px 22px,31px 29px}
.rwgm__furniture-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}.rwgm__furniture-list button{min-height:76px;padding:6px}.rwgm__furniture-list button>strong{font-size:8px}.rwgm__furniture-list button>small{font-size:7px}
.rwgm__room-frame{position:relative;width:min(820px,100%);padding:28px 28px 32px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#10181d;box-shadow:0 28px 75px rgba(0,0,0,.48)}
.rwgm__room-label{position:absolute;left:28px;top:9px;color:#74838c;font-size:8px;font-weight:900;letter-spacing:.17em}
.rwgm__room{position:relative;display:grid;grid-template-columns:repeat(8,minmax(58px,1fr));grid-template-rows:repeat(6,minmax(62px,1fr));gap:0;width:100%;height:min(610px,66vh);padding:0;border:14px solid #4a392c;border-radius:3px;box-shadow:inset 0 0 0 4px #92785e,0 16px 40px rgba(0,0,0,.38);transform:none;overflow:visible}
.rwgm__room:before,.rwgm__room:after{content:"";position:absolute;z-index:5;background:#4a392c;pointer-events:none}.rwgm__room:before{left:50%;top:-14px;width:14px;height:38%;transform:translateX(-50%)}.rwgm__room:after{left:-14px;top:50%;width:31%;height:14px}
.rwgm__room button{position:relative;z-index:2;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:1px solid rgba(45,38,31,.12);background:transparent;color:#172129;cursor:pointer;overflow:visible}.rwgm__room button:hover{outline:3px solid rgba(114,188,143,.7);outline-offset:-3px;background:rgba(114,188,143,.18)}.rwgm__room button.is-occupied{background:rgba(255,255,255,.04)}
.rwgm__room-door{position:absolute;z-index:8;left:50%;bottom:18px;width:82px;height:22px;background:#10181d;transform:translateX(-50%)}.rwgm__room-door:before{content:"";position:absolute;left:4px;bottom:4px;width:70px;height:70px;border:3px solid #ba9b77;border-left:0;border-bottom:0;border-radius:0 70px 0 0;transform:rotate(-45deg);transform-origin:bottom right;opacity:.75}
.rwgm__furn{position:relative;display:block;width:72%;height:66%;min-width:24px;min-height:24px;filter:drop-shadow(0 4px 3px rgba(0,0,0,.28));pointer-events:none}.rwgm__furniture-list .rwgm__furn{width:40px;height:36px;min-width:0;min-height:0}
.rwgm__furn i{position:absolute;display:block}
.rwgm__furn--couch{border:4px solid #3f5866;border-radius:7px;background:#7395a5}.rwgm__furn--couch:before{content:"";position:absolute;left:14%;right:14%;top:42%;height:3px;background:#45616e}.rwgm__furn--couch i:nth-child(1),.rwgm__furn--couch i:nth-child(2){top:7%;bottom:7%;width:13%;border-radius:5px;background:#314955}.rwgm__furn--couch i:nth-child(1){left:3%}.rwgm__furn--couch i:nth-child(2){right:3%}
.rwgm__furn--chair{width:52%;height:58%;border:4px solid #684b35;border-radius:5px;background:#aa7c55}.rwgm__furn--chair:before{content:"";position:absolute;left:-4px;right:-4px;top:-9px;height:9px;border-radius:4px 4px 1px 1px;background:#4d3828}
.rwgm__furn--table{width:58%;height:58%;border:5px solid #74553a;border-radius:50%;background:radial-gradient(circle,#c39a68,#8c6848)}.rwgm__furn--table i{width:7px;height:7px;border-radius:50%;background:#4a3424}.rwgm__furn--table i:nth-child(1){left:8%;top:8%}.rwgm__furn--table i:nth-child(2){right:8%;top:8%}.rwgm__furn--table i:nth-child(3){left:45%;bottom:7%}
.rwgm__furn--bed{width:64%;height:86%;border:4px solid #765e4d;border-radius:5px;background:#d7e0e3}.rwgm__furn--bed:before{content:"";position:absolute;left:8%;right:8%;top:7%;height:24%;border-radius:4px;background:#f7f4ec;box-shadow:0 2px 0 #9daab0}.rwgm__furn--bed:after{content:"";position:absolute;left:8%;right:8%;top:36%;bottom:8%;background:repeating-linear-gradient(90deg,#547d9b 0 10px,#739bb7 10px 20px)}
.rwgm__furn--lamp{width:48%;height:48%;border:4px solid #b98d35;border-radius:50%;background:radial-gradient(circle,#fffbd1 0 28%,#f4d15a 30% 64%,#8b6b29 66%)}.rwgm__furn--lamp:before,.rwgm__furn--lamp:after{content:"";position:absolute;left:50%;top:50%;width:140%;height:2px;background:#d7b14d;transform:translate(-50%,-50%)}.rwgm__furn--lamp:after{transform:translate(-50%,-50%) rotate(90deg)}
.rwgm__furn--plant{width:58%;height:58%;border:5px solid #6e4930;border-radius:50%;background:#86593c}.rwgm__furn--plant i{left:42%;top:5%;width:25%;height:58%;border-radius:100% 0 100% 0;background:#438a50;transform-origin:bottom}.rwgm__furn--plant i:nth-child(1){transform:rotate(-48deg)}.rwgm__furn--plant i:nth-child(2){transform:rotate(8deg)}.rwgm__furn--plant i:nth-child(3){transform:rotate(52deg)}
.rwgm__furn--tv{width:78%;height:46%;border:5px solid #1c2429;border-radius:4px;background:linear-gradient(145deg,#31576d,#081217)}.rwgm__furn--tv:before{content:"";position:absolute;left:42%;bottom:-11px;width:18%;height:8px;background:#252d31}.rwgm__furn--tv:after{content:"";position:absolute;left:27%;right:27%;bottom:-15px;height:4px;background:#252d31}
.rwgm__furn--rug{width:90%;height:82%;border:4px solid #8c493f;background:repeating-linear-gradient(45deg,#c9765f 0 10px,#e3ad78 10px 20px,#55788b 20px 30px)}.rwgm__furn--rug:before{content:"";position:absolute;inset:10%;border:2px solid rgba(255,255,255,.55)}
.rwgm__furn--shelf{width:82%;height:42%;border:4px solid #60452f;background:repeating-linear-gradient(90deg,#9a704c 0 8px,#684a32 8px 12px)}.rwgm__furn--shelf:before,.rwgm__furn--shelf:after{content:"";position:absolute;top:-6px;bottom:-6px;width:5px;background:#3e2d21}.rwgm__furn--shelf:before{left:12%}.rwgm__furn--shelf:after{right:12%}
@media(max-width:900px){.rwgm__interior-shell{grid-template-columns:230px minmax(0,1fr);gap:12px}.rwgm__room{grid-template-columns:repeat(8,minmax(42px,1fr));grid-template-rows:repeat(6,minmax(48px,1fr));height:min(520px,60vh)}}
@media(max-width:760px){.rwgm__interior-shell{grid-template-columns:1fr;align-items:start}.rwgm__interior-shell>main{order:0}.rwgm__interior-shell>aside{order:1;max-height:none}.rwgm__floor-list{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__furniture-list{grid-template-columns:repeat(3,minmax(0,1fr))}.rwgm__room-frame{padding:24px 12px 26px}.rwgm__room{grid-template-columns:repeat(8,minmax(32px,1fr));grid-template-rows:repeat(6,42px);height:auto;border-width:9px}.rwgm__room:before{top:-9px;width:9px}.rwgm__room:after{left:-9px;height:9px}.rwgm__room-door{bottom:14px}}
@media(max-width:430px){.rwgm__room{grid-template-rows:repeat(6,36px)}.rwgm__room-frame{padding-left:8px;padding-right:8px}.rwgm__furn{min-width:16px;min-height:16px}.rwgm__furniture-list .rwgm__furn{width:34px;height:30px}.rwgm__floor-list{grid-template-columns:1fr 1fr}}

/* v2.2 variable interiors, exploration and contextual actions */
.rwgm__interior-head-actions{display:flex;align-items:center;gap:8px}.rwgm__interior-head-actions button{min-height:40px}
.rwgm__interior-shell{grid-template-columns:270px minmax(0,1fr);width:min(1440px,100%)}
.rwgm__interior-shell.is-exploring{grid-template-columns:minmax(0,1fr)}
.rwgm__interior-shell.is-exploring>main{width:100%}.rwgm__interior-shell>aside[hidden]{display:none}
.rwgm__interior-shell>main{max-width:100%;overflow:auto;padding:10px}
.rwgm__interior-categories{display:flex;gap:5px;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}.rwgm__interior-categories button{min-height:31px;padding:0 9px;border:1px solid rgba(255,255,255,.1);border-radius:6px;background:#141e24;color:#7f9099;font-size:8px;font-weight:800;white-space:nowrap;cursor:pointer}.rwgm__interior-categories button.is-active{border-color:#72bc8f;background:rgba(70,161,113,.17);color:#b9e6c8}
.rwgm__room-frame{width:max-content;max-width:none;margin:auto}.rwgm__room{grid-template-columns:repeat(var(--rwgm-room-cols,8),64px)!important;grid-template-rows:repeat(var(--rwgm-room-rows,6),64px)!important;width:max-content!important;height:auto!important;min-width:0;min-height:0}
.rwgm__room:before,.rwgm__room:after{display:none!important}.rwgm__room button{width:64px;height:64px}
.rwgm__interior-player{position:absolute;z-index:12;display:grid;place-items:center;width:34px;height:42px;transform:translate(-50%,-50%);filter:drop-shadow(0 5px 3px rgba(0,0,0,.4));pointer-events:none}.rwgm__interior-player svg{display:block;width:34px;height:46px;overflow:visible}.rwgm__interior-player:after{content:"";position:absolute;z-index:-1;left:50%;bottom:0;width:25px;height:8px;border-radius:50%;background:rgba(0,0,0,.25);transform:translateX(-50%)}
.rwgm__furniture-list{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__furniture-list button{min-height:82px}
.rwgm__furn--wall{width:92%;height:20%;border:3px solid #3f3026;background:#765e49}.rwgm__furn--wall:before{content:"";position:absolute;inset:3px;background:repeating-linear-gradient(90deg,#9d8167 0 12px,#6a5342 12px 15px)}
.rwgm__furn--door{width:85%;height:18%;border:3px solid #694a31;background:#b18152}.rwgm__furn--door:after{content:"";position:absolute;right:7%;top:50%;width:5px;height:5px;border-radius:50%;background:#eac26b;transform:translateY(-50%)}
.rwgm__furn--armchair{width:58%;height:62%;border:4px solid #485f6b;border-radius:8px;background:#7694a2}.rwgm__furn--armchair:before{content:"";position:absolute;inset:20% 12% 10%;border-radius:4px;background:#91aab5}.rwgm__furn--armchair:after{content:"";position:absolute;left:5%;right:5%;top:8%;height:18%;border-radius:5px;background:#354b56}
.rwgm__furn--stool{width:40%;height:40%;border:4px solid #5b412e;border-radius:50%;background:#a77a50}
.rwgm__furn--coffee-table,.rwgm__furn--dining-table{width:78%;height:54%;border:5px solid #674a32;border-radius:7px;background:repeating-linear-gradient(90deg,#ae8258 0 13px,#936c49 13px 16px)}.rwgm__furn--dining-table{width:88%;height:60%}
.rwgm__furn--nightstand{width:48%;height:48%;border:4px solid #60442f;border-radius:4px;background:#a7774f}.rwgm__furn--nightstand:after{content:"";position:absolute;right:15%;top:45%;width:5px;height:5px;border-radius:50%;background:#e3c16f}
.rwgm__furn--wardrobe,.rwgm__furn--dresser,.rwgm__furn--bookcase{width:82%;height:68%;border:5px solid #503a2b;border-radius:4px;background:repeating-linear-gradient(90deg,#936a49 0 18px,#664a35 18px 21px)}.rwgm__furn--wardrobe:after{content:"";position:absolute;left:50%;top:5%;bottom:5%;width:2px;background:#4a3426}.rwgm__furn--dresser{height:52%;background:repeating-linear-gradient(0deg,#a1744f 0 12px,#5f4532 12px 15px)}.rwgm__furn--bookcase{background:repeating-linear-gradient(90deg,#5c3f2d 0 8px,#b66d4d 8px 12px,#496e86 12px 17px,#d1a65f 17px 22px)}
.rwgm__furn--desk{width:86%;height:55%;border:5px solid #4f3b2e;background:#987252}.rwgm__furn--desk:before{content:"";position:absolute;left:30%;right:30%;top:15%;height:35%;border-radius:2px;background:#283b46}
.rwgm__furn--counter{width:94%;height:58%;border:5px solid #4c5457;background:linear-gradient(#d8d2c6 0 24%,#7e8588 25%)}.rwgm__furn--fridge{width:62%;height:78%;border:5px solid #69767d;border-radius:5px;background:linear-gradient(90deg,#dfe5e7,#aebbc0)}.rwgm__furn--fridge:after{content:"";position:absolute;left:10%;right:10%;top:48%;height:3px;background:#727f85}.rwgm__furn--stove{width:70%;height:70%;border:5px solid #3c4448;background:#80898d}.rwgm__furn--stove:before{content:"";position:absolute;inset:10%;background:radial-gradient(circle at 25% 25%,#171b1d 0 12%,transparent 14%),radial-gradient(circle at 75% 25%,#171b1d 0 12%,transparent 14%),radial-gradient(circle at 25% 75%,#171b1d 0 12%,transparent 14%),radial-gradient(circle at 75% 75%,#171b1d 0 12%,transparent 14%)}.rwgm__furn--sink{width:72%;height:64%;border:5px solid #7c898f;background:#d2dadd}.rwgm__furn--sink:before{content:"";position:absolute;inset:16%;border:3px solid #76858b;border-radius:8px;background:#a9c1ca}
.rwgm__furn--toilet{width:48%;height:70%;border:4px solid #89969b;border-radius:45% 45% 35% 35%;background:#edf2f2}.rwgm__furn--toilet:before{content:"";position:absolute;left:12%;right:12%;top:8%;height:28%;border-radius:7px;background:#cbd5d7}.rwgm__furn--shower{width:86%;height:86%;border:5px solid #6e8f9b;background:repeating-linear-gradient(45deg,rgba(190,226,238,.7) 0 7px,rgba(128,184,203,.55) 7px 14px)}.rwgm__furn--shower:after{content:"";position:absolute;right:12%;top:12%;width:9px;height:9px;border-radius:50%;background:#536a73}.rwgm__furn--bathtub{width:86%;height:58%;border:6px solid #89999f;border-radius:22px;background:#dce8e9;box-shadow:inset 0 0 0 8px #a9cbd4}
.rwgm__room button.join-right .rwgm__furn,.rwgm__room button.join-left .rwgm__furn{width:100%}.rwgm__room button.join-up .rwgm__furn,.rwgm__room button.join-down .rwgm__furn{height:100%}.rwgm__room button.join-right .rwgm__furn{border-right-color:transparent;border-radius:6px 0 0 6px}.rwgm__room button.join-left .rwgm__furn{border-left-color:transparent;border-radius:0 6px 6px 0}.rwgm__room button.join-up .rwgm__furn{border-top-color:transparent}.rwgm__room button.join-down .rwgm__furn{border-bottom-color:transparent}
.rwgm__context-actions{display:grid;gap:6px;min-width:180px;padding:7px}.rwgm__context-actions button{width:100%;min-height:38px;padding:0 11px;border:1px solid rgba(94,159,232,.5);border-radius:8px;background:#17242c;color:#dcebf4;font-size:10px;font-weight:800;cursor:pointer}.rwgm__context-actions button:hover{background:#22343f}.rwgm__context-actions .is-primary{border-color:#72bc8f;background:#245c3b;color:#dff5e7}.rwgm__context-actions .rwgm__map-action-move{background:#2783de;color:#fff}
@media(max-width:760px){.rwgm__interior-head-actions{flex-wrap:wrap;justify-content:flex-end}.rwgm__interior-shell{display:grid;grid-template-columns:1fr}.rwgm__interior-shell>main{order:0}.rwgm__interior-shell>aside{order:1}.rwgm__room{grid-template-columns:repeat(var(--rwgm-room-cols,8),48px)!important;grid-template-rows:repeat(var(--rwgm-room-rows,6),48px)!important}.rwgm__room button{width:48px;height:48px}.rwgm__room-frame{margin:0}.rwgm__furniture-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:430px){.rwgm__interior>header{align-items:flex-start}.rwgm__interior-head-actions{display:grid;grid-template-columns:1fr}.rwgm__interior-head-actions button{min-height:34px}.rwgm__room{grid-template-columns:repeat(var(--rwgm-room-cols,8),42px)!important;grid-template-rows:repeat(var(--rwgm-room-rows,6),42px)!important}.rwgm__room button{width:42px;height:42px}}
.rwgm__interior-dpad{display:none;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:5px;margin:8px auto}.rwgm__interior-dpad button{border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#17242c;color:#dce8ee;font-size:16px;touch-action:none}.rwgm__interior-dpad button[data-interior-move="w"]{grid-column:2}.rwgm__interior-dpad button[data-interior-move="a"]{grid-column:1;grid-row:2}.rwgm__interior-dpad button[data-interior-move="s"]{grid-column:2;grid-row:2}.rwgm__interior-dpad button[data-interior-move="d"]{grid-column:3;grid-row:2}@media(hover:none) and (pointer:coarse){.rwgm__interior-dpad{display:grid}}

/* v2.3 furnishing browser, interactions and 2D movement animation */
.rwgm__interior-shell>aside{width:360px;max-width:40vw;padding:12px}.rwgm__furnish-browser{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;min-height:510px}.rwgm__furnish-browser>section{min-width:0;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#10181d}.rwgm__furnish-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.rwgm__furnish-head strong{font-size:12px}.rwgm__furnish-head small{color:#6fbe8a;font-size:8px}
.rwgm__furnish-browser .rwgm__interior-categories{display:grid;align-content:start;gap:5px;overflow:visible;padding:0}.rwgm__furnish-browser .rwgm__interior-categories button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;justify-content:start;gap:5px;min-height:42px;padding:5px 7px;text-align:left;white-space:normal}.rwgm__furnish-browser .rwgm__interior-categories button>span{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:rgba(255,255,255,.05);font-size:12px}.rwgm__furnish-browser .rwgm__interior-categories button.is-active>span{background:rgba(114,188,143,.2)}
.rwgm__furnish-browser .rwgm__floor-list{grid-template-columns:1fr 1fr}.rwgm__furnish-browser .rwgm__floor-swatch{grid-template-columns:1fr;gap:5px;min-height:76px;text-align:center}.rwgm__furnish-browser .rwgm__floor-swatch>span{width:100%;height:40px}.rwgm__furnish-browser .rwgm__furniture-list{grid-template-columns:1fr 1fr;max-height:450px;overflow:auto;padding-right:3px}.rwgm__furnish-browser .rwgm__furniture-list button{min-height:94px}
.rwgm__rotator{display:grid;place-items:center;width:100%;height:100%;transform:rotate(var(--rwgm-item-rotation,0deg));transition:transform .18s ease}.rwgm__room button.is-selected-object{outline:3px solid #e8c26b;outline-offset:-3px;background:rgba(232,194,107,.14)}.rwgm__room button.is-powered .rwgm__furn--lamp{filter:drop-shadow(0 0 11px #ffe076) drop-shadow(0 0 22px rgba(255,214,86,.65))}.rwgm__room button.is-powered .rwgm__furn--tv{background:linear-gradient(145deg,#77d6ff,#174b6b);box-shadow:0 0 12px rgba(94,190,232,.8)}.rwgm__room button.is-powered .rwgm__furn--stove:before{filter:drop-shadow(0 0 5px #ff5d42)}.rwgm__room button.is-open .rwgm__furn--door{transform:rotate(70deg);transform-origin:left center}.rwgm__room button.is-open .rwgm__furn--wardrobe,.rwgm__room button.is-open .rwgm__furn--bookcase,.rwgm__room button.is-open .rwgm__furn--shelf{box-shadow:inset 0 0 0 5px rgba(232,194,107,.35)}
.rwgm__room button.join-right .rwgm__furn--wall,.rwgm__room button.join-left .rwgm__furn--wall{width:112%;border-left-width:0;border-right-width:0}.rwgm__room button.join-up .rwgm__furn--wall,.rwgm__room button.join-down .rwgm__furn--wall{height:112%;border-top-width:0;border-bottom-width:0}
.rwgm__object-actions{position:sticky;z-index:30;left:0;right:0;bottom:8px;display:grid;gap:8px;width:min(680px,calc(100% - 16px));margin:10px auto 0;padding:10px;border:1px solid rgba(232,194,107,.35);border-radius:11px;background:rgba(12,19,24,.97);box-shadow:0 16px 38px rgba(0,0,0,.4);backdrop-filter:blur(10px)}.rwgm__object-actions[hidden]{display:none}.rwgm__object-action-head{display:flex;align-items:center;gap:10px}.rwgm__object-action-head>.rwgm__furn{width:42px;height:36px;flex:0 0 42px}.rwgm__object-action-head>span{display:grid;gap:2px;min-width:0}.rwgm__object-action-head strong{font-size:12px}.rwgm__object-action-head small{color:#7e8f98;font-size:9px}.rwgm__object-action-head>button{margin-left:auto;width:34px;height:34px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:#172129;color:#b5c1c7;cursor:pointer}.rwgm__object-action-grid{display:flex;flex-wrap:wrap;gap:6px}.rwgm__object-action-grid button,.rwgm__storage-drawer button{min-height:34px;padding:0 10px;border:1px solid rgba(94,159,232,.35);border-radius:7px;background:#16232b;color:#dce9ef;font-size:9px;font-weight:800;cursor:pointer}.rwgm__object-action-grid button:first-child{border-color:#72bc8f;color:#aee1bd}.rwgm__storage-drawer{display:none;gap:7px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.rwgm__storage-drawer.is-open{display:grid}.rwgm__storage-drawer>strong{font-size:10px}.rwgm__storage-drawer>div{display:flex;flex-wrap:wrap;gap:5px}.rwgm__storage-drawer p{margin:0;color:#8fa0a9;font-size:9px}
.rwgm__interior-player{transform:translate(-50%,-50%);transition:left .06s linear,top .06s linear}.rwgm__interior-player.facing-left svg{transform:scaleX(-1)}.rwgm__interior-player.facing-right svg{transform:scaleX(1)}.rwgm__interior-player.facing-up{filter:drop-shadow(0 -4px 3px rgba(0,0,0,.32));opacity:.96}.rwgm__interior-player.is-moving{animation:rwgm-indoor-step .26s ease-in-out infinite alternate}.rwgm__interior-player.is-moving .rwgm__arm-left{animation:rwgm-game-arm-a .34s ease-in-out infinite alternate}.rwgm__interior-player.is-moving .rwgm__arm-right{animation:rwgm-game-arm-b .34s ease-in-out infinite alternate}.rwgm__interior-player.is-moving .rwgm__leg-left{animation:rwgm-game-leg-a .34s ease-in-out infinite alternate}.rwgm__interior-player.is-moving .rwgm__leg-right{animation:rwgm-game-leg-b .34s ease-in-out infinite alternate}.rwgm__interior-player.is-sit{transform:translate(-50%,-40%) scaleY(.72)}.rwgm__interior-player.is-sleep{transform:translate(-50%,-50%) rotate(90deg) scale(.86);z-index:4}.rwgm__interior-player.is-sit .rwgm__leg-left,.rwgm__interior-player.is-sit .rwgm__leg-right{transform:rotate(52deg)}
.rwgm__player-marker.is-walking .rwgm__avatar-slot{animation:rwgm-world-step .28s ease-in-out infinite alternate}.rwgm__player-marker.is-walking .rwgm__player-shadow{animation:rwgm-shadow-pulse .28s ease-in-out infinite alternate}.rwgm__player-marker.facing-left .rwgm__avatar-slot svg{transform:scaleX(-1)}.rwgm__player-marker.facing-right .rwgm__avatar-slot svg{transform:scaleX(1)}.rwgm__player-marker.is-walking .rwgm__arm-left{animation:rwgm-game-arm-a .34s ease-in-out infinite alternate}.rwgm__player-marker.is-walking .rwgm__arm-right{animation:rwgm-game-arm-b .34s ease-in-out infinite alternate}.rwgm__player-marker.is-walking .rwgm__leg-left{animation:rwgm-game-leg-a .34s ease-in-out infinite alternate}.rwgm__player-marker.is-walking .rwgm__leg-right{animation:rwgm-game-leg-b .34s ease-in-out infinite alternate}
@keyframes rwgm-game-arm-a{from{transform:rotate(28deg) translateY(-1px)}to{transform:rotate(-30deg) translateY(1px)}}@keyframes rwgm-game-arm-b{from{transform:rotate(-28deg) translateY(1px)}to{transform:rotate(30deg) translateY(-1px)}}@keyframes rwgm-game-leg-a{from{transform:rotate(20deg) translateY(-1px)}to{transform:rotate(-22deg) translateY(2px)}}@keyframes rwgm-game-leg-b{from{transform:rotate(-20deg) translateY(2px)}to{transform:rotate(22deg) translateY(-1px)}}@keyframes rwgm-indoor-step{from{margin-top:0}to{margin-top:-3px}}@keyframes rwgm-world-step{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-3px) rotate(1deg)}}@keyframes rwgm-shadow-pulse{from{transform:scaleX(1);opacity:.28}to{transform:scaleX(.78);opacity:.18}}
@media(max-width:900px){.rwgm__interior-shell>aside{width:320px}.rwgm__furnish-browser{grid-template-columns:82px minmax(0,1fr)}}@media(max-width:760px){.rwgm__interior-shell>aside{width:100%;max-width:none}.rwgm__furnish-browser{grid-template-columns:86px minmax(0,1fr);min-height:430px}.rwgm__furnish-browser .rwgm__furniture-list{max-height:390px}.rwgm__object-actions{position:sticky;bottom:6px}}@media(prefers-reduced-motion:reduce){.rwgm__interior-player,.rwgm__player-marker.is-walking .rwgm__avatar-slot,.rwgm__player-marker.is-walking .rwgm__player-shadow{animation:none!important}.rwgm__interior-player .rwgm__limb{animation:none!important}}

/* v2.4 unified game-HUD visual system and anchored object controls */
.rwgm{--rwgm-accent:#efc868;--rwgm-game-cyan:#67cfe4;--rwgm-game-green:#70d094;--rwgm-panel-solid:#0b1218;--rwgm-card:#111c23;overflow:hidden;background:#060b10;color:#eef3f5;letter-spacing:.005em}
.rwgm__toolbar{position:relative;min-height:58px;padding:9px 12px;border-color:#263640;background:linear-gradient(180deg,#111b22,#091117);box-shadow:inset 0 -2px 0 rgba(103,207,228,.12)}.rwgm__toolbar:before{content:"";position:absolute;left:0;top:0;width:180px;height:2px;background:linear-gradient(90deg,#67cfe4,transparent)}.rwgm__brand strong{color:#f4d984;font-size:12px;letter-spacing:.22em}.rwgm__brand span{color:#728590}
.rwgm__actions{flex-wrap:wrap;justify-content:flex-end}.rwgm__actions .rwgm__btn,.rwgm__playeractions button{border-color:#30424d;background:linear-gradient(180deg,#17242c,#111a21);color:#dfe9ed;font-size:11px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.rwgm__actions .rwgm__btn:hover,.rwgm__playeractions button:hover{border-color:#67cfe4;background:#1a2b34}.rwgm__actions .rwgm__btn--spawn,.rwgm__playeractions .rwgm__primary{border-color:#e8c26b;background:linear-gradient(180deg,#f2d27d,#d9ae4e);color:#171207}
.rwgm__gamepanel{padding:14px;border-color:#273640;background:linear-gradient(180deg,#0c151b,#081015);scrollbar-color:#4b626e #0b1318}.rwgm__panelhead{padding-bottom:12px;border-bottom:1px solid #26353e}.rwgm__panelhead h3{font-size:17px}.rwgm__playerhead{padding:10px;border:1px solid rgba(103,207,228,.16);border-radius:9px;background:rgba(103,207,228,.035)}.rwgm__stats{gap:7px}.rwgm__stats div{min-height:58px;padding:9px;border-color:#293943;background:#101920}.rwgm__stats dt{color:#69aabd!important;font-size:8px!important;font-weight:900;letter-spacing:.13em}.rwgm__stats dd{overflow:hidden;margin-top:4px!important;color:#f0f4f6!important;font-size:11px!important;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.rwgm__purse-stat{border-color:rgba(232,194,107,.35)!important;background:rgba(232,194,107,.055)!important}.rwgm__purse-stat dd{color:#f0cb6f!important}
.rwgm__playeractions{gap:7px!important}.rwgm__playeractions button{min-width:0;min-height:42px;padding:7px 8px;overflow:hidden;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}.rwgm__build-open{border-color:rgba(112,208,148,.5)!important;background:linear-gradient(180deg,#153026,#10241d)!important;color:#91e0ac!important}.rwgm__wasd{border-color:#293b45;background:#0f181e}.rwgm__wasd kbd{border-color:#425864;background:#17242c;color:#dcedf3;box-shadow:0 2px 0 #071015}
.rwgm__modalcard,.rwgm__garagecard,.rwgm__buildcard{border-color:#344751;background:linear-gradient(155deg,#111b21,#091116);box-shadow:0 30px 90px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.05)}.rwgm__modalhead{background:linear-gradient(90deg,rgba(103,207,228,.08),transparent)!important}.rwgm__eyebrow{color:#67cfe4!important;font-weight:900}.rwgm__primary{background:linear-gradient(180deg,#f2d27d,#d9ae4e)!important;color:#161207!important}.rwgm__secondary{border-color:#30434e!important;background:linear-gradient(180deg,#17242c,#111a21)!important;color:#dfe8ed!important}
.rwgm__interior>header{border-bottom-color:#273843;background:linear-gradient(180deg,#0d171d,#081015);box-shadow:0 6px 24px rgba(0,0,0,.28)}.rwgm__interior-head-actions .rwgm__primary{border:1px solid #e8c26b}.rwgm__interior-shell>aside{border-color:#2b3d47;background:linear-gradient(180deg,#101a20,#0a1217);box-shadow:0 18px 45px rgba(0,0,0,.3)}.rwgm__furnish-browser>section{border-color:#2a3b45;background:#0c151a}.rwgm__furnish-browser .rwgm__interior-categories button{border-color:#293b45;background:#111c22;color:#82949e}.rwgm__furnish-browser .rwgm__interior-categories button.is-active{border-color:#67cfe4;background:linear-gradient(90deg,rgba(103,207,228,.2),rgba(112,208,148,.08));color:#d9f5fb;box-shadow:inset 3px 0 0 #67cfe4}.rwgm__furniture-list button{border-color:#293b45;background:linear-gradient(180deg,#152129,#10191f)}.rwgm__furniture-list button.is-active{border-color:#efc868;background:rgba(239,200,104,.1);box-shadow:inset 0 0 0 1px rgba(239,200,104,.18)}
.rwgm__object-actions{position:fixed!important;z-index:1000010;right:auto!important;bottom:auto!important;display:block;height:auto;margin:0!important;padding:9px;max-height:min(360px,calc(100vh - 20px));overflow:auto;border-color:#efc868;background:linear-gradient(160deg,rgba(15,25,31,.99),rgba(7,13,17,.99));box-shadow:0 18px 48px rgba(0,0,0,.6),inset 3px 0 0 #67cfe4}.rwgm__object-action-head{margin-bottom:8px}.rwgm__object-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.rwgm__object-action-grid button{width:100%;min-height:36px;height:auto;padding:7px 8px;border-color:#35505f;background:#13232c;color:#ddecf2;line-height:1.15}.rwgm__object-action-grid button:hover{border-color:#67cfe4;background:#1b3340}.rwgm__storage-drawer{margin-top:8px;border-top-color:#2d414b;background:rgba(0,0,0,.12);padding:9px;border-radius:8px}.rwgm__room button.is-selected-object{outline-color:#efc868;box-shadow:inset 0 0 18px rgba(239,200,104,.18)}
.rwgm__interior-player.is-use{transform:translate(-50%,-45%) scale(.82)}
@media(max-width:900px){.rwgm__workspace{grid-template-columns:minmax(0,1fr) 300px}.rwgm__gamepanel{padding:11px}.rwgm__stats div{min-height:54px}.rwgm__playeractions button{font-size:9px!important}}
@media(max-width:680px){.rwgm{overflow:visible}.rwgm__toolbar{align-items:stretch;flex-direction:column}.rwgm__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__workspace{grid-template-columns:1fr}.rwgm__gamepanel{width:100%;overflow:visible}.rwgm__object-actions{max-width:calc(100vw - 20px);max-height:min(300px,calc(100vh - 20px))}.rwgm__object-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v3.0 shared-world, proximity voice and warm 2D game-art pass */
.rwgm{position:relative;--rwgm-wood-dark:#24170f;--rwgm-wood:#6d4529;--rwgm-wood-light:#b27a45;--rwgm-parchment:#f2d99a;--rwgm-leaf:#6fbd72;font-family:"Trebuchet MS",Verdana,sans-serif;background:#111c1a}
.rwgm button,.rwgm input,.rwgm select{font-family:inherit}.rwgm h2,.rwgm h3,.rwgm__brand strong,.rwgm__eyebrow{font-family:Georgia,"Times New Roman",serif;letter-spacing:.045em}
.rwgm__toolbar,.rwgm__interior>header{background:linear-gradient(180deg,rgba(70,43,25,.98),rgba(35,22,15,.99));border-color:#9d693b;box-shadow:inset 0 -3px 0 rgba(15,8,4,.35),inset 0 2px 0 rgba(255,223,157,.09)}
.rwgm__gamepanel,.rwgm__interior-shell>aside,.rwgm__modalcard,.rwgm__garagecard,.rwgm__buildcard{background:linear-gradient(160deg,#26352f,#17231f 58%,#101916);border:2px solid #745036;box-shadow:0 20px 54px rgba(0,0,0,.5),inset 0 0 0 2px rgba(229,187,113,.06)}
.rwgm__actions .rwgm__btn,.rwgm__playeractions button,.rwgm__secondary{border:2px solid #6e4a31!important;border-radius:11px;background:linear-gradient(#3a2b20,#261b15)!important;color:#f4e5bd!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.06),0 3px 0 #130c08!important}.rwgm__actions .rwgm__btn:hover,.rwgm__playeractions button:hover{border-color:#c58a4b!important;transform:translateY(-1px)}
.rwgm__primary,.rwgm__actions .rwgm__btn--spawn{border:2px solid #8a5a26!important;border-radius:11px;background:linear-gradient(#f4d98f,#d6a952)!important;color:#2d1b0c!important;box-shadow:inset 0 2px 0 #fff1bd,0 3px 0 #6e441d!important}.rwgm__eyebrow{color:#f0c36a!important}.rwgm__stats div,.rwgm__playerhead,.rwgm__wasd{border-color:#60442f;background:linear-gradient(145deg,rgba(61,43,31,.72),rgba(24,34,30,.92))}
.rwgm__map-look{position:fixed;z-index:1000020;left:50%;top:84px;width:min(520px,calc(100vw - 24px));padding:14px;border:3px solid #8c603b;border-radius:16px;background:linear-gradient(#2d2118,#17221e);color:#f6e8c8;transform:translateX(-50%);box-shadow:0 24px 70px rgba(0,0,0,.68),inset 0 0 0 2px rgba(255,221,153,.08)}.rwgm__map-look[hidden]{display:none}.rwgm__map-look>div:first-child{display:flex;align-items:center;justify-content:space-between}.rwgm__map-look>div>button{width:34px;height:34px;border:1px solid #6f5038;border-radius:8px;background:#291e17;color:#f7e6c0}.rwgm__map-look p{margin:5px 0 12px;color:#bfae8c;font-size:11px}.rwgm__map-look-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.rwgm__map-look-grid button{display:grid;gap:6px;padding:7px;border:2px solid #60442f;border-radius:10px;background:#1d2a25;color:#f5e6c1;font-size:10px;font-weight:900}.rwgm__map-look-grid span{height:54px;border-radius:7px;background:#8bb88c}.rwgm__map-look-grid .is-bright{background:linear-gradient(#79b8e8 45%,#94c478 46%)}.rwgm__map-look-grid .is-positron{background:linear-gradient(135deg,#e8e0cf,#a9b6b0)}.rwgm__map-look-grid .is-dark{background:linear-gradient(135deg,#152133,#324864)}.rwgm__map-look-grid .is-fiord{background:linear-gradient(135deg,#526f5e,#91a985)}
/* Intelligent wall joins: a central timber post grows only toward valid neighboring wall/door cells. */
.rwgm__room button.wall-smart .rwgm__furn--wall{width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:transparent!important;filter:drop-shadow(0 3px 2px rgba(0,0,0,.28))}.rwgm__room button.wall-smart .rwgm__furn--wall:before,.rwgm__room button.wall-smart .rwgm__furn--wall:after{content:"";position:absolute;z-index:1;display:none;border:3px solid #3b281c;background:repeating-linear-gradient(90deg,#a77a52 0 11px,#7c573b 11px 14px);box-sizing:border-box}.rwgm__room button.wall-smart .rwgm__furn--wall i:first-child{display:block;z-index:2;left:50%;top:50%;width:22px;height:22px;border:3px solid #3b281c;border-radius:6px;background:#9d724e;transform:translate(-50%,-50%)}.rwgm__room button.wall-smart.join-left .rwgm__furn--wall:before,.rwgm__room button.wall-smart.join-right .rwgm__furn--wall:before{display:block;top:50%;height:18px;transform:translateY(-50%)}.rwgm__room button.wall-smart.join-left:not(.join-right) .rwgm__furn--wall:before{left:0;width:56%;border-radius:6px 0 0 6px}.rwgm__room button.wall-smart.join-right:not(.join-left) .rwgm__furn--wall:before{left:44%;right:0;border-radius:0 6px 6px 0}.rwgm__room button.wall-smart.join-left.join-right .rwgm__furn--wall:before{left:0;right:0;border-radius:5px}.rwgm__room button.wall-smart.join-up .rwgm__furn--wall:after,.rwgm__room button.wall-smart.join-down .rwgm__furn--wall:after{display:block;left:50%;width:18px;transform:translateX(-50%);background:repeating-linear-gradient(0deg,#a77a52 0 11px,#7c573b 11px 14px)}.rwgm__room button.wall-smart.join-up:not(.join-down) .rwgm__furn--wall:after{top:0;height:56%;border-radius:6px 6px 0 0}.rwgm__room button.wall-smart.join-down:not(.join-up) .rwgm__furn--wall:after{top:44%;bottom:0;border-radius:0 0 6px 6px}.rwgm__room button.wall-smart.join-up.join-down .rwgm__furn--wall:after{top:0;bottom:0;border-radius:5px}
/* Layered exhaust and braking feedback. */
.rwgm__vehicle-smoke{top:74%;width:34px;height:54px}.rwgm__vehicle-smoke i{width:10px;height:10px;background:radial-gradient(circle,rgba(222,225,217,.64),rgba(104,112,109,.25) 65%,transparent 70%);filter:blur(.7px)}.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i{animation:rwgm-exhaust-smoke-v3 1.35s cubic-bezier(.2,.7,.3,1) infinite}.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(2){animation-delay:.23s;margin-left:-7px}.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(3){animation-delay:.46s;margin-left:7px}.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(4){animation-delay:.69s;margin-left:-3px}.rwgm__player-marker--vehicle.is-driving .rwgm__vehicle-smoke i:nth-child(5){animation-delay:.92s;margin-left:5px}@keyframes rwgm-exhaust-smoke-v3{0%{opacity:0;transform:translate(-50%,0) scale(.45)}18%{opacity:.6}100%{opacity:0;transform:translate(calc(-50% + 7px),37px) scale(2.2)}}
.rwgm__tire-marks{position:absolute;z-index:-2;left:50%;top:55%;width:42px;height:70px;opacity:0;transform:translateX(-50%);pointer-events:none}.rwgm__tire-marks i{position:absolute;top:22px;width:5px;height:58px;border-radius:50%;background:linear-gradient(rgba(25,22,18,.75),rgba(25,22,18,0));filter:blur(.4px)}.rwgm__tire-marks i:first-child{left:7px}.rwgm__tire-marks i:last-child{right:7px}.rwgm__player-marker--vehicle.is-braking .rwgm__tire-marks{opacity:.82;animation:rwgm-skid .25s linear infinite alternate}@keyframes rwgm-skid{to{transform:translateX(-50%) scaleY(1.14)}}
.rwgm__remote-player{position:relative;display:grid;place-items:center;min-width:58px;padding:0;border:0;background:transparent;color:#fff;filter:drop-shadow(0 4px 4px rgba(0,0,0,.45));cursor:pointer}.rwgm__remote-avatar{display:grid;place-items:center;width:32px;height:36px;border:3px solid #ebca77;border-radius:50% 50% 44% 44%;background:#3d82bc;color:#fff;font-weight:900}.rwgm__remote-player.is-driving .rwgm__remote-avatar{width:46px;border-radius:13px;background:#925b35}.rwgm__remote-player strong,.rwgm__remote-player small{max-width:100px;padding:2px 6px;border-radius:7px;background:rgba(24,16,11,.88);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rwgm__remote-player strong{margin-top:2px;color:#ffe9ae;font-size:9px}.rwgm__remote-player small{color:#b8d7c4;font-size:8px}.rwgm__remote-speaking{position:absolute;z-index:4;left:50%;top:-23px;display:none;width:26px;height:26px;border-radius:50%;background:#65c986;place-items:center;transform:translateX(-50%);box-shadow:0 0 0 0 rgba(101,201,134,.7)}.rwgm__remote-player.is-speaking .rwgm__remote-speaking{display:grid;animation:rwgm-speaking-pulse 1s infinite}@keyframes rwgm-speaking-pulse{70%{box-shadow:0 0 0 10px rgba(101,201,134,0)}}
.rwgm__voice{position:absolute;z-index:50;right:12px;bottom:12px;color:#f8eccd}.rwgm__voice-tab{min-height:45px;padding:0 15px;border:2px solid #9d6b3c;border-radius:15px;background:linear-gradient(#4a3424,#2a1c14);color:#ffe5a4;font-weight:900;box-shadow:0 5px 0 #160d08}.rwgm__voice-panel{position:absolute;right:0;bottom:54px;width:330px;max-height:min(560px,calc(100vh - 120px));padding:12px;overflow:auto;border:3px solid #8f6038;border-radius:17px;background:linear-gradient(160deg,#26352f,#131d19);box-shadow:0 24px 70px rgba(0,0,0,.62),inset 0 0 0 2px rgba(255,225,162,.06)}.rwgm__voice-panel[hidden]{display:none}.rwgm__voice-panel header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #705039;padding-bottom:9px}.rwgm__voice-panel header span{display:grid}.rwgm__voice-panel header b{color:#f3cc70;font-family:Georgia,serif;font-size:12px}.rwgm__voice-panel header small{color:#a9bba9;font-size:9px}.rwgm__voice-panel header button{width:32px;height:32px;border:1px solid #705039;border-radius:8px;background:#2b2019;color:#f5dfad}.rwgm__voice-enable{width:100%;min-height:42px;margin:10px 0;border:2px solid #6ead76;border-radius:10px;background:#284f35;color:#dff6d9;font-weight:900}.rwgm__voice-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.rwgm__voice-modes button{min-height:38px;border:2px solid #604932;border-radius:9px;background:#221a15;color:#cbbd9b}.rwgm__voice-modes button.is-active{border-color:#e1b755;background:#4b3820;color:#ffe4a2}.rwgm__voice-panel>label{display:grid;grid-template-columns:1fr 120px;align-items:center;gap:8px;margin:10px 0;color:#cfc2a6;font-size:10px}.rwgm__voice-peers{display:grid;gap:5px;margin:8px 0}.rwgm__voice-peers>div{display:grid;grid-template-columns:22px 1fr auto auto 70px;align-items:center;gap:5px;padding:6px;border:1px solid #526353;border-radius:9px;background:#18231f}.rwgm__voice-peers b{font-size:9px}.rwgm__voice-peers small{font-size:8px;color:#99bba2}.rwgm__voice-peers button{min-height:28px;border:1px solid #76553a;border-radius:7px;background:#2c2119;color:#e7d8b7;font-size:8px}.rwgm__voice-peers .is-speaking{color:#71dc8e}.rwgm__ptt{width:100%;min-height:78px;border:3px solid #715238;border-radius:18px;background:linear-gradient(#3a2a20,#241913);color:#d7c7a8;touch-action:none}.rwgm__ptt span{font-size:24px}.rwgm__ptt b,.rwgm__ptt small{display:block}.rwgm__ptt.is-talking,.rwgm.is-voice-active .rwgm__ptt{border-color:#7de092;background:linear-gradient(#3b754a,#244a31);color:#fff;box-shadow:0 0 24px rgba(101,211,127,.36)}
@media(max-width:680px){.rwgm__map-look{top:12px}.rwgm__map-look-grid{grid-template-columns:repeat(2,1fr)}.rwgm__voice{position:fixed;z-index:1000030;right:10px;bottom:12px}.rwgm__voice-panel{position:fixed;left:10px;right:10px;bottom:70px;width:auto;max-height:72vh}.rwgm__voice-tab{min-width:112px;min-height:54px}.rwgm__ptt{min-height:96px}.rwgm__voice-peers>div{grid-template-columns:22px 1fr auto auto}.rwgm__voice-peers input{grid-column:2/5;width:100%}}
.rwgm__room button.wall-smart.join-left.join-right:not(.join-up):not(.join-down) .rwgm__furn--wall i:first-child,.rwgm__room button.wall-smart.join-up.join-down:not(.join-left):not(.join-right) .rwgm__furn--wall i:first-child{display:none}
@media(min-width:681px){.rwgm__voice{left:12px;right:auto}.rwgm__voice-panel{left:0;right:auto}}

/* v3.1 gameplay polish fixes */
.rwgm__floor-list[hidden],.rwgm__furniture-list[hidden]{display:none!important}
.rwgm__vehicle-driver-head{position:absolute!important;left:50%!important;width:25px!important;height:25px!important;border:2px solid rgba(244,238,215,.95)!important;background:#25333a!important;box-shadow:0 2px 7px rgba(0,0,0,.58)!important}
.rwgm__vehicle-driver-head svg{width:34px!important;height:37px!important;transform:translateY(3px)!important;filter:saturate(1.12) contrast(1.08)}
.rwgm__interior-player.is-sleep{transform:translate(-50%,-50%) rotate(var(--rwgm-sleep-rotation,0deg)) scale(.82)!important;transform-origin:center}
.rwgm__tire-marks{z-index:0!important;top:52%!important;width:54px!important;height:132px!important;mix-blend-mode:multiply}
.rwgm__tire-marks i{top:24px!important;width:7px!important;height:112px!important;background:linear-gradient(rgba(20,17,13,.94),rgba(20,17,13,.72) 45%,rgba(20,17,13,0))!important;filter:blur(.25px)!important}
.rwgm__tire-marks i:first-child{left:8px!important}.rwgm__tire-marks i:last-child{right:8px!important}
.rwgm__player-marker--vehicle.is-braking .rwgm__tire-marks{opacity:1!important}
.rwgm__vehicle-sway,.rwgm__vehicle-svg,.rwgm__vehicle-headlights{position:relative;z-index:2}.rwgm__vehicle-driver-head{z-index:3}
.rwgm__voice-power{display:grid;grid-template-columns:1fr auto;gap:7px;margin:10px 0}.rwgm__voice-power .rwgm__voice-enable{margin:0}.rwgm__voice-power [data-voice-disable]{min-width:78px;border:2px solid #7a4a3d;border-radius:10px;background:#47271f;color:#ffd8cc;font-weight:900}.rwgm__voice-power [data-voice-disable]:disabled{opacity:.4}
.rwgm__tree-marker{width:70px!important;height:76px!important;border:0!important;background:transparent!important;filter:drop-shadow(0 8px 5px rgba(0,0,0,.35))}.rwgm__tree-crown{position:relative;display:block;width:64px;height:64px;border:4px solid #315c34;border-radius:48% 52% 46% 54%;background:radial-gradient(circle at 32% 28%,#8dc96f 0 13%,transparent 14%),radial-gradient(circle at 68% 32%,#6fb657 0 18%,transparent 19%),radial-gradient(circle at 48% 62%,#4e984b 0 34%,#34763c 58%,#275d31 100%);box-shadow:inset 0 4px 8px rgba(255,255,255,.18)}.rwgm__tree-crown i{position:absolute;width:16px;height:16px;border-radius:50%;background:#bf3944;box-shadow:0 2px 2px rgba(0,0,0,.3)}.rwgm__tree-crown i:nth-child(1){left:14px;top:22px}.rwgm__tree-crown i:nth-child(2){right:12px;top:17px}.rwgm__tree-crown i:nth-child(3){left:30px;bottom:10px}.rwgm__tree-marker.is-tree-oak .rwgm__tree-crown i{background:#83562f}.rwgm__tree-marker.is-tree-pine .rwgm__tree-crown{border-radius:50%;background:conic-gradient(from 15deg,#2f7145,#5aa665,#2b6841,#79b86e,#2f7145)}.rwgm__tree-marker.is-tree-pine .rwgm__tree-crown i{background:#765135}.rwgm__tree-marker.is-tree-mango .rwgm__tree-crown i{background:#efb34b}.rwgm__tree-marker.is-tree-palm .rwgm__tree-crown{border-radius:50%;background:repeating-conic-gradient(#3d8d4d 0 12deg,#70b85f 12deg 24deg,#2f783f 24deg 36deg)}.rwgm__tree-marker.is-tree-palm .rwgm__tree-crown i{background:#704626}.rwgm__tree-marker small{position:absolute;left:50%;bottom:-2px;max-width:100px;padding:2px 6px;border-radius:7px;background:rgba(35,22,13,.9);color:#ffe5a7;font-size:8px;white-space:nowrap;transform:translateX(-50%)}.rwgm__tree-stump{display:block;width:42px;height:42px;border:6px solid #54351f;border-radius:50%;background:radial-gradient(circle,#bd8955 0 22%,#8e5d35 24% 44%,#c4945f 46% 58%,#70472b 60%);box-shadow:0 6px 0 rgba(0,0,0,.22)}
.rwgm__blueprint[data-blueprint^="tree-"]>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle,#77ba61,#347943);color:#f7e5a7;font-size:7px;font-weight:900;box-shadow:inset 0 0 0 4px #2f6036}
.rwgm__current-location{width:100%;min-height:44px;margin:0 0 12px;border:2px solid #5f9671;border-radius:11px;background:linear-gradient(#315d40,#244832);color:#ecffe9;font-weight:900}.rwgm__phone{position:fixed;z-index:1000040;inset:0;display:grid;place-items:center;padding:12px;background:rgba(7,11,10,.72);backdrop-filter:blur(6px)}.rwgm__phone[hidden]{display:none}.rwgm__phone-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(390px,calc(100vw - 20px));height:min(760px,calc(100vh - 24px));overflow:hidden;border:7px solid #201812;border-radius:38px;background:#18251f;color:#f6e9c6;box-shadow:0 32px 90px rgba(0,0,0,.75),inset 0 0 0 2px #7f5a39}.rwgm__phone header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 10px;background:linear-gradient(#3b291d,#271b14)}.rwgm__phone header span{display:grid}.rwgm__phone header b{color:#f4c968;font-family:Georgia,serif;letter-spacing:.08em}.rwgm__phone header small{color:#c6b590}.rwgm__phone header button{width:34px;height:34px;border:1px solid #765337;border-radius:50%;background:#1e1712;color:#f5e4ba}.rwgm__phone nav{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:6px;background:#241a14}.rwgm__phone nav button{display:grid;place-items:center;gap:2px;min-height:54px;border:1px solid transparent;border-radius:10px;background:transparent;color:#9d927d;font-size:18px}.rwgm__phone nav button small{font-size:8px;font-weight:900}.rwgm__phone nav button.is-active{border-color:#d4a951;background:#4d3823;color:#ffe29a}.rwgm__phone main{min-height:0;overflow:auto;padding:12px}.rwgm__phone main>section{display:grid;align-content:start;gap:10px}.rwgm__phone main>section[hidden]{display:none}.rwgm__phone input{width:100%;min-height:42px;padding:8px 10px;border:2px solid #4e614f;border-radius:10px;background:#101a16;color:#f4ead0}.rwgm__phone form{display:grid;grid-template-columns:1fr auto;gap:7px}.rwgm__phone form button,.rwgm__phone main button{min-height:38px;padding:6px 10px;border:2px solid #765337;border-radius:9px;background:#38281d;color:#f5dfad;font-weight:900}.rwgm__phone-friends{display:flex;gap:5px;overflow:auto}.rwgm__phone-friends button{white-space:nowrap}.rwgm__phone-friends button.is-active{border-color:#e4bd61;background:#614723}.rwgm__phone-thread{display:grid;align-content:start;gap:6px;min-height:310px;max-height:390px;overflow:auto;padding:8px;border:1px solid #455449;border-radius:11px;background:#111a17}.rwgm__phone-thread>div{justify-self:start;max-width:82%;padding:8px 10px;border-radius:12px 12px 12px 3px;background:#344a3c}.rwgm__phone-thread>div.is-mine{justify-self:end;border-radius:12px 12px 3px 12px;background:#6b4f29}.rwgm__phone-thread small{display:block;color:#c8bb9b;font-size:8px}.rwgm__phone-person{display:grid;grid-template-columns:35px 1fr auto auto;align-items:center;gap:6px;padding:7px;border:1px solid #46574a;border-radius:10px;background:#111b17}.rwgm__phone-person>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#477b59}.rwgm__phone-person b{display:grid;font-size:10px}.rwgm__phone-person small{color:#9cb2a1;font-size:8px}.rwgm__phone h4{margin:9px 0 0;color:#e5bc63;font-family:Georgia,serif}.rwgm__internet-placeholder{display:grid;place-items:center;min-height:420px;padding:30px;text-align:center}.rwgm__internet-placeholder>span{font-size:70px}.rwgm__internet-placeholder b{font-size:24px}.rwgm__internet-placeholder p{color:#aebaaa;line-height:1.6}.rwgm__phone footer{display:flex;align-items:center;justify-content:center;gap:12px;height:30px;background:#201712}.rwgm__phone footer span{width:90px;height:5px;border-radius:4px;background:#8d765b}.rwgm__phone footer i{width:6px;height:6px;border-radius:50%;background:#5c4a39}
@media(max-width:430px){.rwgm__phone{padding:0}.rwgm__phone-shell{width:100vw;height:100vh;border-width:0;border-radius:0}.rwgm__phone-thread{min-height:260px}}
.rwgm__audio{position:absolute;z-index:49;left:12px;bottom:70px;color:#f7e7bf}.rwgm__audio>button{min-height:40px;padding:0 12px;border:2px solid #8c603b;border-radius:12px;background:#34241a;color:#f5d990;font-weight:900}.rwgm__audio>div{position:absolute;left:0;bottom:48px;width:280px;padding:12px;border:3px solid #8c603b;border-radius:15px;background:linear-gradient(#26352f,#141e1a);box-shadow:0 20px 55px rgba(0,0,0,.62)}.rwgm__audio>div[hidden]{display:none}.rwgm__audio header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#f1c96e}.rwgm__audio header button{width:30px;height:30px;border:1px solid #765337;border-radius:8px;background:#271b14;color:#f5e6c0}.rwgm__audio label{display:grid;grid-template-columns:75px 1fr;align-items:center;gap:7px;margin:8px 0;font-size:10px}.rwgm__audio [data-audio-mute]{width:100%;min-height:36px;border:2px solid #6f5036;border-radius:9px;background:#38271d;color:#f3dfb0}.rwgm__audio small{display:block;margin-top:8px;color:#9eb0a1;line-height:1.4}@media(max-width:680px){.rwgm__audio{position:fixed;z-index:1000025;left:10px;bottom:76px}.rwgm__audio>div{position:fixed;left:10px;right:10px;bottom:130px;width:auto}}
/* v3.2 rebuilt player hub, fullscreen and collapsible dashboard */
.rwgm__empty[hidden],.rwgm__playerpanel[hidden],.rwgm__hub-panel[hidden]{display:none!important}.rwgm__workspace{transition:grid-template-columns .2s ease}.rwgm.is-sidebar-hidden .rwgm__workspace{grid-template-columns:minmax(0,1fr) 0}.rwgm.is-sidebar-hidden .rwgm__gamepanel{width:0;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none}.rwgm:fullscreen,.rwgm.is-pseudo-fullscreen{position:fixed!important;z-index:2147483000!important;inset:0!important;width:100vw!important;height:100vh!important;margin:0!important;background:#0b1411}.rwgm:fullscreen .rwgm__workspace,.rwgm.is-pseudo-fullscreen .rwgm__workspace{height:calc(100vh - 70px)}.rwgm:fullscreen .rwgm__stage,.rwgm:fullscreen .rwgm__gamepanel,.rwgm.is-pseudo-fullscreen .rwgm__stage,.rwgm.is-pseudo-fullscreen .rwgm__gamepanel{height:100%;max-height:none}.rwgm__gamepanel{display:flex;flex-direction:column;gap:12px;padding:14px!important;transition:width .2s ease,opacity .2s ease}.rwgm__panelhead{flex:0 0 auto;margin:0;padding:0 0 12px}.rwgm__panelhead h3{margin:0;font-size:22px}.rwgm__playerpanel{display:grid;align-content:start;gap:12px;margin:0!important;min-height:0}.rwgm__playerhead{display:grid!important;grid-template-columns:48px minmax(0,1fr) 36px;min-height:68px;margin:0!important;padding:9px!important;border:2px solid #705036!important;border-radius:14px!important;background:linear-gradient(135deg,#302218,#1a251f)!important}.rwgm__avatar-button{width:48px!important;height:48px!important}.rwgm__hub-focus{width:34px;height:34px;border:1px solid #765437;border-radius:9px;background:#2b2018;color:#f3cf77}.rwgm__hub-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;border:1px solid #60442f;border-radius:12px;background:#111b17}.rwgm__hub-tabs button{min-height:36px;padding:5px;border:0;border-radius:8px;background:transparent;color:#9d9b88;font-size:9px;font-weight:900}.rwgm__hub-tabs button.is-active{background:linear-gradient(#684a2b,#44301f);color:#ffe3a0;box-shadow:inset 0 0 0 1px #d0a154}.rwgm__hub-panel{display:grid;align-content:start;gap:10px;min-height:0;animation:rwgm-hub-in .18s ease}.rwgm__hub-panel.is-active{display:grid}@keyframes rwgm-hub-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.rwgm__hub-status{display:grid;grid-template-columns:1fr 1.25fr;gap:7px}.rwgm__hub-status>span{display:grid;gap:2px;min-width:0;padding:10px;border:2px solid #60442f;border-radius:11px;background:#17231e}.rwgm__hub-status small,.rwgm__location-grid dt{color:#75cbd7;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.rwgm__hub-status strong{overflow:hidden;color:#f5d37d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.rwgm__location-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}.rwgm__location-grid>div{min-width:0;padding:9px;border:1px solid #4d5c4e;border-radius:10px;background:#13201b}.rwgm__location-grid dd{overflow:hidden;margin:3px 0 0;color:#edf1df;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.rwgm__coordinates{border:1px solid #536052;border-radius:10px;background:#111a17;color:#b9b59f}.rwgm__coordinates summary{padding:9px;cursor:pointer;font-size:9px;font-weight:900}.rwgm__coordinates>div{display:grid;gap:5px;padding:0 9px 9px}.rwgm__coordinates span{display:flex;justify-content:space-between;font-size:9px}.rwgm__hub-main-action{width:100%;min-height:44px}.rwgm__hub-panel h4{margin:5px 0 -3px;color:#e6bd65;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.rwgm__hub-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rwgm__hub-action-grid button{min-height:44px;padding:7px;border:2px solid #62452f;border-radius:11px;background:linear-gradient(#34261d,#221813);color:#eeddb8;font-size:10px;font-weight:900;box-shadow:0 2px 0 #100b08}.rwgm__hub-action-grid button:hover{border-color:#d1a553;background:#4b3622}.rwgm__inventory-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rwgm__inventory-cards article{display:grid;place-items:center;min-height:120px;padding:12px;border:2px solid #6f4c32;border-radius:15px;background:radial-gradient(circle at 50% 15%,#384c3d,#19241f)}.rwgm__inventory-cards article>span{font-size:34px}.rwgm__inventory-cards article small{color:#b5ab91}.rwgm__inventory-cards article strong{color:#f3cf71;font-size:24px}.rwgm__hub-help{color:#9ba99d;font-size:10px;line-height:1.5}.rwgm__empty{place-items:center!important;margin:4px 0!important;padding:22px 16px!important;border:2px dashed #61715f!important;border-radius:15px!important;text-align:center}.rwgm__empty-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:50%;background:#3f6549;color:#fff0b3;font-size:28px}.rwgm__empty .rwgm__player-spawn-btn{margin:5px 0 0}.rwgm__vehicle-hud{margin:0!important}.rwgm__wasd{margin-top:4px}
@media(max-width:680px){.rwgm.is-sidebar-hidden .rwgm__workspace{grid-template-columns:1fr}.rwgm.is-sidebar-hidden .rwgm__gamepanel{display:none}.rwgm__gamepanel{max-height:none}.rwgm__hub-panel{min-height:360px}.rwgm__hub-action-grid{grid-template-columns:repeat(2,1fr)}}
/* Correctly anchored headlights: keep lamps inside the rotating vehicle coordinate system. */
.rwgm__vehicle-headlights{position:absolute!important;z-index:1!important;left:50%!important;top:12%!important;width:31px!important;height:7px!important;transform:translateX(-50%)!important}.rwgm__vehicle-headlights.type-scooter,.rwgm__vehicle-headlights.type-motorcycle{top:18%!important;width:16px!important}.rwgm__vehicle-headlights.type-rickshaw{top:13%!important;width:18px!important}.rwgm__vehicle-headlights.type-lorry,.rwgm__vehicle-headlights.type-bus{top:8%!important;width:38px!important}.rwgm__vehicle-headlights.model-crew-pickup,.rwgm__vehicle-headlights.model-adventure-suv,.rwgm__vehicle-headlights.model-regent-r8,.rwgm__vehicle-headlights.model-titan-g63,.rwgm__vehicle-headlights.model-trailhawk-j9{top:10%!important;width:34px!important}.rwgm__vehicle-headlights i{flex:0 0 auto}.rwgm__vehicle-headlights i:before{bottom:3px!important;height:76px!important;width:32px!important;filter:blur(2px)!important;opacity:.72}.rwgm__vehicle-headlights.is-single i:before{width:38px!important}.rwgm__vehicle-headlights.is-laser i:before{height:100px!important}.rwgm__vehicle-sway,.rwgm__vehicle-svg{position:relative;z-index:2}
/* Animated indoor water for powered sinks and showers. */
.rwgm__room button.is-powered .rwgm__furn--sink:after{content:"";position:absolute;left:28%;right:28%;top:20%;height:58%;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ecfbff 0 7%,transparent 8%),repeating-radial-gradient(circle,#6ed4f4 0 3px,#3aa6d0 4px 6px);opacity:.9;animation:rwgm-sink-water .75s linear infinite}.rwgm__room button.is-powered .rwgm__furn--shower{background:linear-gradient(rgba(93,193,225,.36),rgba(191,235,247,.58)),repeating-linear-gradient(45deg,rgba(190,226,238,.7) 0 7px,rgba(128,184,203,.55) 7px 14px);box-shadow:inset 0 0 18px rgba(78,190,229,.62)}.rwgm__room button.is-powered .rwgm__furn--shower i{display:block;top:20%;width:5px;height:13px;border-radius:50%;background:linear-gradient(#dff9ff,#48b9e2);opacity:.85;animation:rwgm-shower-drop .72s linear infinite}.rwgm__room button.is-powered .rwgm__furn--shower i:nth-child(1){left:25%}.rwgm__room button.is-powered .rwgm__furn--shower i:nth-child(2){left:48%;animation-delay:.22s}.rwgm__room button.is-powered .rwgm__furn--shower i:nth-child(3){right:20%;animation-delay:.43s}@keyframes rwgm-sink-water{to{transform:rotate(360deg)}}@keyframes rwgm-shower-drop{0%{transform:translateY(0) scaleY(.7);opacity:0}20%{opacity:1}100%{transform:translateY(28px) scaleY(1.3);opacity:0}}
@media(prefers-reduced-motion:reduce){.rwgm__room button.is-powered .rwgm__furn--sink:after,.rwgm__room button.is-powered .rwgm__furn--shower i{animation:none}}

/* v3.3 survival, storage garages and refined construction art */
.rwgm__needs{display:grid;gap:8px;margin:10px 0;padding:10px;border:1px solid #60452f;border-radius:12px;background:rgba(9,21,17,.55)}
.rwgm__needs>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;color:#ead9b6;font:700 10px/1.2 var(--rwgm-font-sans,system-ui)}
.rwgm__needs i,.rwgm__inventory-summary i{grid-column:1/-1;height:7px;border:1px solid #4d4031;border-radius:999px;background:#101915;overflow:hidden}.rwgm__needs i b,.rwgm__inventory-summary i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d18746,#f0c663)}.rwgm__needs>div:last-child i b{background:linear-gradient(90deg,#3da883,#76d5a2)}
.rwgm__inventory-summary{display:grid;gap:8px;padding:12px;border:1px solid #755134;border-radius:12px;background:#14211c}.rwgm__inventory-summary span{display:flex;justify-content:space-between;gap:10px}.rwgm__inventory-summary small{color:#9fae9f;text-transform:uppercase;letter-spacing:.12em}.rwgm__inventory-summary strong{color:#ffe29d}.rwgm__inventory-filters{display:flex;gap:6px;overflow:auto;padding:10px 0}.rwgm__inventory-filters button{padding:7px 10px;border:1px solid #594431;border-radius:999px;background:#1b2923;color:#d9c9ab;font:700 10px var(--rwgm-font-sans,system-ui);white-space:nowrap}.rwgm__inventory-filters button.is-active{border-color:#e4b75e;background:#5a4125;color:#fff2c5}.rwgm__inventory-list{display:grid;gap:7px;max-height:280px;overflow:auto}.rwgm__inventory-list article{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:9px;border:1px solid #3c4e43;border-radius:10px;background:#14201c}.rwgm__inventory-list article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#24372e;font-size:20px}.rwgm__inventory-list article div{display:grid}.rwgm__inventory-list article small{color:#8fa298;font-size:9px}.rwgm__inventory-list article>b{color:#f2cd76}.rwgm__inventory-empty{color:#9eaa9e;font-size:11px;text-align:center}
.rwgm__body-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.rwgm__body-dimensions label{display:grid;grid-template-columns:1fr auto;gap:7px;padding:12px;border:1px solid #33464f;border-radius:12px;background:#121e24;color:#e4eced;font-weight:800}.rwgm__body-dimensions output{color:#70cfdc;font-size:10px}.rwgm__body-dimensions input{grid-column:1/-1;width:100%;accent-color:#e9bd61}
.rwgm__player-marker.is-running .rwgm__avatar-slot{animation-duration:.28s!important}.rwgm__player-marker.is-running .rwgm__limb{animation-duration:.28s!important}
.rwgm__parked-vehicle{display:grid;place-items:center;width:64px;height:86px;border:0;background:transparent;filter:drop-shadow(0 8px 7px rgba(0,0,0,.38));cursor:pointer}.rwgm__parked-vehicle .rwgm__vehicle-rotor{display:grid;place-items:center;width:58px;height:72px;transform:rotate(var(--rwgm-vehicle-bearing,0deg))}.rwgm__parked-vehicle .rwgm__vehicle-art-svg{width:54px;height:72px}.rwgm__parked-vehicle small{position:absolute;bottom:-4px;padding:2px 7px;border:1px solid #d8ab57;border-radius:999px;background:#271c13;color:#ffe8ab;font:800 8px var(--rwgm-font-sans,system-ui)}
/* Dock the editor beside the floor instead of floating over it. */
.rwgm__interior-shell:not(.is-exploring){grid-template-columns:320px minmax(0,1fr)!important;align-items:start!important;width:100%!important;max-width:none!important;margin:0!important;padding:16px!important;gap:14px!important}.rwgm__interior-shell:not(.is-exploring)>aside{position:sticky;top:12px;left:0;width:320px!important;max-width:none!important;max-height:calc(100vh - 180px)!important;border-radius:14px}.rwgm__interior-shell>main{min-width:0!important;overflow:auto!important}.rwgm__room-frame{margin-inline:auto!important}
/* Bathing state: player stays centred in the fixture while water and steam animate. */
.rwgm__interior-player.is-bathe{transform:translate(-50%,-50%) scale(.74)!important;filter:drop-shadow(0 3px 3px rgba(0,0,0,.35))}.rwgm__interior-player.is-bathe:before,.rwgm__interior-player.is-bathe:after{content:"";position:absolute;z-index:3;border-radius:50%;pointer-events:none}.rwgm__interior-player.is-bathe:before{inset:28% 12% 15%;border:4px solid rgba(142,225,250,.8);background:radial-gradient(circle at 30% 25%,#fff 0 6%,transparent 7%),radial-gradient(circle at 70% 45%,#fff 0 8%,transparent 9%),rgba(78,177,218,.32);animation:rwgm-bath-water .8s ease-in-out infinite alternate}.rwgm__interior-player.is-bathe:after{left:25%;top:-25%;width:50%;height:55%;background:radial-gradient(circle,rgba(255,255,255,.55),transparent 65%);animation:rwgm-steam 1.5s ease-in-out infinite}
.rwgm__room button.is-occupied:has(.rwgm__furn--bathtub).is-powered:after,.rwgm__room button.is-occupied:has(.rwgm__furn--shower).is-powered:after{content:"";position:absolute;inset:15%;border-radius:35%;background:repeating-radial-gradient(circle at 30% 20%,rgba(255,255,255,.75) 0 2px,transparent 3px 9px),rgba(63,177,218,.38);animation:rwgm-bath-water .75s linear infinite}
@keyframes rwgm-bath-water{to{transform:scale(1.05);filter:hue-rotate(8deg)}}@keyframes rwgm-steam{0%,100%{opacity:.25;transform:translateY(5px)}50%{opacity:.75;transform:translateY(-8px)}}
/* Newly drawn species-specific, top-down tree crowns. */
.rwgm__tree-marker{width:82px!important;height:86px!important}.rwgm__tree-crown{width:72px!important;height:72px!important;border:0!important;overflow:visible;background:radial-gradient(circle at 50% 54%,#744824 0 10%,#a06a35 11% 14%,transparent 15%),radial-gradient(circle at 25% 28%,#83c966 0 23%,transparent 24%),radial-gradient(circle at 72% 29%,#6db455 0 25%,transparent 26%),radial-gradient(circle at 26% 72%,#559b49 0 25%,transparent 26%),radial-gradient(circle at 72% 70%,#3f833f 0 28%,transparent 29%),radial-gradient(circle,#4d9847 0 58%,#2c6534 75%,transparent 77%)!important;box-shadow:inset 0 5px 8px rgba(255,255,255,.18),0 7px 0 rgba(35,55,29,.3)!important;transform:rotate(-4deg)}.rwgm__tree-marker.is-tree-oak .rwgm__tree-crown{border-radius:42% 58% 46% 54%/55% 43% 57% 45%;background:radial-gradient(circle at 50% 50%,#8d5a2b 0 9%,transparent 10%),radial-gradient(circle at 28% 27%,#8cc86f 0 23%,transparent 24%),radial-gradient(circle at 70% 25%,#72b55a 0 25%,transparent 26%),radial-gradient(circle at 22% 72%,#55994a 0 28%,transparent 29%),radial-gradient(circle at 72% 72%,#3f7f40 0 28%,transparent 29%),#4f9448!important}.rwgm__tree-marker.is-tree-pine .rwgm__tree-crown{border-radius:50%;background:repeating-conic-gradient(from 8deg,#285c3b 0 10deg,#4b8d50 10deg 19deg,#72b461 19deg 25deg)!important;clip-path:polygon(50% 0,61% 28%,86% 14%,73% 40%,100% 50%,72% 59%,86% 87%,60% 74%,50% 100%,40% 74%,13% 87%,28% 59%,0 50%,28% 40%,14% 14%,39% 28%)}.rwgm__tree-marker.is-tree-palm .rwgm__tree-crown{border-radius:50%;background:radial-gradient(circle,#8f5a2d 0 10%,transparent 11%),repeating-conic-gradient(from 7deg,#2d753f 0 7deg,#76b75c 7deg 13deg,transparent 13deg 19deg)!important;box-shadow:none!important}.rwgm__tree-marker.is-tree-apple .rwgm__tree-crown i{background:#df3c4b!important;border:2px solid #ff8c87}.rwgm__tree-marker.is-tree-mango .rwgm__tree-crown i{background:#f0a92f!important;border:2px solid #ffd56b}.rwgm__tree-crown i{width:12px!important;height:12px!important;border:2px solid rgba(74,46,28,.65);box-shadow:0 2px 3px rgba(0,0,0,.35)!important}
@media(max-width:760px){.rwgm__interior-shell:not(.is-exploring){grid-template-columns:1fr!important;padding:10px!important}.rwgm__interior-shell:not(.is-exploring)>aside{position:relative;top:auto;width:100%!important;max-height:none!important;order:1}.rwgm__body-dimensions{grid-template-columns:1fr}.rwgm__inventory-list{max-height:none}}

/* v3.4 specialised top-view commercial furniture */
.rwgm__furn--checkout-counter,.rwgm__furn--reception-desk,.rwgm__furn--restaurant-counter,.rwgm__furn--bank-counter{width:92%;height:55%;border:4px solid #4d3929;border-radius:5px;background:linear-gradient(180deg,#d3af72 0 28%,#89623f 29%)}
.rwgm__furn--checkout-counter:after,.rwgm__furn--fuel-register:after{content:"";position:absolute;right:10%;top:12%;width:22%;height:34%;border:2px solid #1b2b31;border-radius:3px;background:#83c5c9}
.rwgm__furn--display-shelf,.rwgm__furn--pallet-rack{width:90%;height:58%;border:4px solid #4b3d2f;background:repeating-linear-gradient(90deg,#d7bd78 0 12px,#69905d 12px 20px,#c66c4c 20px 27px,#4b3d2f 27px 31px)}
.rwgm__furn--shop-fridge{width:70%;height:78%;border:5px solid #4f6b74;border-radius:5px;background:linear-gradient(90deg,#d6f2f5,#7eb6c3);box-shadow:inset 0 0 0 6px rgba(255,255,255,.35)}
.rwgm__furn--hospital-bed,.rwgm__furn--hotel-bed{width:68%;height:88%;border:4px solid #6f858e;border-radius:5px;background:linear-gradient(#f8fbfa 0 27%,#82b7cf 28% 100%)}.rwgm__furn--hospital-bed:after{content:"+";position:absolute;right:7%;bottom:6%;color:#d85252;font:900 16px/1 sans-serif}
.rwgm__furn--exam-table{width:60%;height:86%;border:5px solid #506871;border-radius:16px;background:#a8ced4}.rwgm__furn--medicine-cabinet,.rwgm__furn--filing-cabinet,.rwgm__furn--parts-cabinet,.rwgm__furn--locker{width:72%;height:72%;border:5px solid #4f5f63;border-radius:4px;background:repeating-linear-gradient(0deg,#829398 0 14px,#4f5f63 14px 17px)}
.rwgm__furn--privacy-screen{width:94%;height:24%;border:4px solid #58717a;border-radius:12px;background:repeating-linear-gradient(90deg,#acd9de 0 12px,#77afb7 12px 15px)}
.rwgm__furn--office-desk,.rwgm__furn--classroom-desk,.rwgm__furn--tool-bench{width:88%;height:60%;border:5px solid #57412f;background:linear-gradient(#b88a57 0 65%,#4d6570 66%)}
.rwgm__furn--waiting-chair{width:58%;height:62%;border:4px solid #405966;border-radius:8px;background:#7699a8}.rwgm__furn--commercial-oven{width:74%;height:74%;border:5px solid #4a5052;background:radial-gradient(circle at 30% 30%,#181d1f 0 12%,transparent 13%),radial-gradient(circle at 70% 30%,#181d1f 0 12%,transparent 13%),#899295}
.rwgm__furn--safe{width:72%;height:72%;border:7px solid #293237;border-radius:7px;background:radial-gradient(circle,#b7c0c2 0 8%,#4e5c62 9% 28%,transparent 29%),#76858a}.rwgm__furn--fuel-register{width:70%;height:68%;border:5px solid #67452d;border-radius:5px;background:#ce6749}
.rwgm__furn--treadmill{width:62%;height:90%;border:5px solid #343c40;border-radius:16px;background:repeating-linear-gradient(0deg,#242b2e 0 8px,#4e5a5f 8px 11px)}.rwgm__furn--weight-bench{width:46%;height:86%;border:5px solid #343d42;border-radius:9px;background:#7a5960}.rwgm__furn--weight-bench:before{content:"";position:absolute;left:-35%;right:-35%;top:15%;height:10%;border-radius:5px;background:#252b2e}
.rwgm__room button.is-powered .rwgm__furn--treadmill{animation:rwgm-treadmill .42s linear infinite}@keyframes rwgm-treadmill{to{background-position:0 11px}}

/* v3.5 custom art and unclipped avatar heads */
.rwgm__avatar-button{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.rwgm__avatar-preview{display:grid!important;place-items:center;width:52px!important;height:52px!important;overflow:visible!important}.rwgm__avatar-preview .rwgm__avatar-head{width:52px!important;height:56px!important;overflow:visible!important;filter:drop-shadow(0 4px 4px rgba(0,0,0,.36))}
.rwgm__vehicle-driver-head{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.rwgm__vehicle-driver-head svg{filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))!important}
.rwgm__land-owner>span{overflow:visible!important;border-radius:0!important;background:transparent!important}.rwgm__land-owner>span svg{filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}
.rwgm__ui-custom-icon{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-right:6px}.rwgm__custom-icon,.rwgm__blueprint-custom-icon,.rwgm__inventory-custom-icon{display:block;width:100%;height:100%;object-fit:contain}.rwgm__blueprint-custom-icon{width:38px;height:38px;margin:auto}.rwgm__building-custom-icon{display:block;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(0,0,0,.35))}.rwgm__building-marker.has-custom-icon{width:82px;height:88px;border:0;background:transparent}.rwgm__building-marker.has-custom-icon small{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%)}.rwgm__furn--custom{width:82%!important;height:82%!important;border:0!important;background:transparent!important;box-shadow:none!important}.rwgm__furn-custom{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px rgba(0,0,0,.3))}.rwgm__inventory-custom-icon{width:30px;height:30px}
.rwgm__floor-custom-icon{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}


/* v4.5.0 unified responsive interface and phone landscape play mode */
.rwgm{--rwgm-surface-0:#07100e;--rwgm-surface-1:#0e1916;--rwgm-surface-2:#17251f;--rwgm-line:#5e4933;--rwgm-gold:#f0cc74;--rwgm-cyan:#74d5de;--rwgm-green:#70c998;--rwgm-safe-top:env(safe-area-inset-top,0px);--rwgm-safe-right:env(safe-area-inset-right,0px);--rwgm-safe-bottom:env(safe-area-inset-bottom,0px);--rwgm-safe-left:env(safe-area-inset-left,0px)}
.rwgm__mobile-commandbar,.rwgm__rotate-coach{display:none}
.rwgm__context-actions{display:grid;grid-template-columns:1fr;gap:7px;min-width:190px;padding:7px}
.rwgm__context-actions button{min-height:40px;padding:8px 11px;border:1px solid rgba(240,204,116,.28);border-radius:10px;background:linear-gradient(180deg,#26372f,#15221d);color:#f6ead0;font-weight:850;text-align:left;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.rwgm__context-actions button.is-primary,.rwgm__context-actions .rwgm__map-action-move{border-color:#d6ad55;background:linear-gradient(180deg,#6d502b,#4a341e);color:#fff1bd}
.rwgm-action-popup .maplibregl-popup-content{padding:0!important;border:2px solid #79583a!important;border-radius:14px!important;background:rgba(12,22,18,.97)!important;box-shadow:0 18px 48px rgba(0,0,0,.55)!important;backdrop-filter:blur(14px)}
.rwgm-action-popup .maplibregl-popup-tip{border-top-color:#79583a!important;border-bottom-color:#79583a!important}
.rwgm__toast-region{display:block;position:absolute;z-index:70;right:18px;bottom:18px;max-width:min(420px,calc(100% - 36px));padding:12px 16px;border:1px solid rgba(255,255,255,.32);border-radius:8px;background:#25332d;color:#fff;font-size:12px;font-weight:800;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease;box-shadow:0 16px 40px rgba(0,0,0,.42)}
.rwgm__toast-region.is-visible{opacity:1;transform:translateY(0)}.rwgm__toast-region[data-state="ok"]{border-color:rgba(112,201,152,.65)}.rwgm__toast-region[data-state="error"]{border-color:#f08a8a;background:#8b2d2d;color:#fff}
.rwgm.rwgm.is-immersive,.rwgm.rwgm.is-pseudo-fullscreen{height:var(--rwgm-viewport-height,100dvh)!important;max-height:var(--rwgm-viewport-height,100dvh)!important;overflow:hidden!important;overscroll-behavior:none;touch-action:manipulation}
html.rwgm-immersive-open,html.rwgm-immersive-open body{overflow:hidden!important;overscroll-behavior:none!important}
.rwgm.is-immersive .rwgm__toolbar,.rwgm.is-pseudo-fullscreen .rwgm__toolbar{padding-top:max(7px,var(--rwgm-safe-top));padding-right:max(10px,var(--rwgm-safe-right));padding-left:max(10px,var(--rwgm-safe-left))}
.rwgm.is-immersive .rwgm__workspace,.rwgm.is-pseudo-fullscreen .rwgm__workspace{height:calc(var(--rwgm-viewport-height,100dvh) - 58px)!important}
.rwgm.is-immersive .rwgm__stage,.rwgm.is-pseudo-fullscreen .rwgm__stage{min-height:0!important}

@media(hover:none) and (pointer:coarse){
 .rwgm__btn,.rwgm__primary,.rwgm__secondary,.rwgm__hub-tabs button,.rwgm__hub-action-grid button{min-height:44px}
 .rwgm__mobile-commandbar{position:absolute;z-index:46;left:50%;bottom:max(10px,var(--rwgm-safe-bottom));display:grid;grid-template-columns:repeat(6,minmax(52px,1fr));width:min(520px,calc(100% - 20px));padding:6px;border:1px solid rgba(240,204,116,.34);border-radius:16px;background:rgba(12,24,19,.92);box-shadow:0 16px 45px rgba(0,0,0,.55),inset 0 1px rgba(255,255,255,.06);transform:translateX(-50%);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .rwgm__mobile-commandbar button{display:grid;place-items:center;gap:2px;min-width:0;min-height:48px;padding:4px 2px;border:0;border-radius:11px;background:transparent;color:#b9c9bd;touch-action:manipulation}
 .rwgm__mobile-commandbar button span{font-size:17px;line-height:1}.rwgm__mobile-commandbar button small{font-size:8px;font-weight:900;letter-spacing:.04em}
 .rwgm__mobile-commandbar button[aria-pressed="true"],.rwgm__mobile-commandbar button:active{background:linear-gradient(180deg,#72522c,#45311d);color:#ffe9a9;box-shadow:inset 0 0 0 1px #c5964f}
 .rwgm__country{bottom:78px;max-width:230px;padding:9px 11px}.rwgm__country-name{font-size:15px}.rwgm__country-meta{font-size:10px}
 .rwgm__coords{bottom:78px}.rwgm__joystick{bottom:82px}
 .rwgm__rotate-coach{position:absolute;z-index:90;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;background:radial-gradient(circle at center,rgba(34,56,46,.98),rgba(5,12,10,.99));text-align:center}
 .rwgm__rotate-coach[hidden]{display:none}.rwgm__rotate-device{display:grid;width:74px;height:46px;place-items:center;border:3px solid #f0cc74;border-radius:10px;color:#f0cc74;font-size:28px;animation:rwgm-rotate-device 1.8s ease-in-out infinite}.rwgm__rotate-coach strong{font-size:21px}.rwgm__rotate-coach small{max-width:310px;color:#afc0b4;line-height:1.5}.rwgm__rotate-coach button{min-height:46px;padding:0 18px;border:1px solid #e0b65a;border-radius:12px;background:#674a29;color:#fff0b5;font-weight:900}
}

@media(hover:none) and (pointer:coarse) and (orientation:landscape){
 .rwgm.is-phone-landscape{position:relative;min-height:320px;background:#07100e}
 .rwgm.is-phone-landscape .rwgm__toolbar{position:absolute;z-index:60;inset:0 0 auto;min-height:46px;height:46px;padding:5px max(8px,var(--rwgm-safe-right)) 5px max(8px,var(--rwgm-safe-left));border-width:0 0 1px;background:linear-gradient(180deg,rgba(18,29,24,.96),rgba(8,16,13,.92));backdrop-filter:blur(14px)}
 .rwgm.is-phone-landscape .rwgm__brand strong{font-size:10px}.rwgm.is-phone-landscape .rwgm__brand span{display:none}
 .rwgm.is-phone-landscape .rwgm__actions{display:flex;width:auto;flex-wrap:nowrap;gap:5px;margin-left:auto;overflow-x:auto;scrollbar-width:none}.rwgm.is-phone-landscape .rwgm__actions::-webkit-scrollbar{display:none}
 .rwgm.is-phone-landscape .rwgm__actions .rwgm__btn{width:auto;min-height:34px;height:34px;padding:0 9px;border-radius:9px;font-size:9px;white-space:nowrap}
 .rwgm.is-phone-landscape .rwgm__actions .rwgm__btn:not(.rwgm__btn--immersive):nth-of-type(n+4){display:none}
 .rwgm.is-phone-landscape .rwgm__workspace,.rwgm.is-phone-landscape.is-immersive .rwgm__workspace,.rwgm.is-phone-landscape.is-pseudo-fullscreen .rwgm__workspace{display:block;height:var(--rwgm-viewport-height,100dvh)!important;padding-top:46px}
 .rwgm.is-phone-landscape .rwgm__stage{width:100%;height:100%!important;min-height:0!important;border:0}
 .rwgm.is-phone-landscape .rwgm__gamepanel{position:absolute;z-index:55;top:46px;right:max(0px,var(--rwgm-safe-right));bottom:0;width:min(360px,46vw)!important;height:auto!important;min-height:0!important;padding:10px 12px max(78px,var(--rwgm-safe-bottom))!important;border:0;border-left:2px solid #725238;border-radius:16px 0 0 0;overflow:auto!important;opacity:1;background:linear-gradient(160deg,rgba(35,51,43,.98),rgba(12,23,18,.98));box-shadow:-18px 0 50px rgba(0,0,0,.48);transform:translateX(0);transition:transform .18s ease,opacity .18s ease}
 .rwgm.is-phone-landscape.is-sidebar-hidden .rwgm__gamepanel{display:flex;width:min(360px,46vw)!important;opacity:0;pointer-events:none;transform:translateX(104%)}
 .rwgm.is-phone-landscape .rwgm__panelhead{position:sticky;z-index:2;top:-10px;margin:0 -12px;padding:9px 12px;background:rgba(19,31,26,.97)}.rwgm.is-phone-landscape .rwgm__panelhead h3{font-size:16px}
 .rwgm.is-phone-landscape .rwgm__playerhead{grid-template-columns:40px minmax(0,1fr) 34px;min-height:54px}.rwgm.is-phone-landscape .rwgm__avatar-button{width:40px!important;height:40px!important}
 .rwgm.is-phone-landscape .rwgm__hub-tabs{position:sticky;z-index:2;top:44px}.rwgm.is-phone-landscape .rwgm__hub-tabs button{min-height:34px}
 .rwgm.is-phone-landscape .rwgm__hub-panel{min-height:0;gap:7px}.rwgm.is-phone-landscape .rwgm__location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rwgm.is-phone-landscape .rwgm__mobile-commandbar{position:absolute;z-index:58;left:50%;right:auto;bottom:max(7px,var(--rwgm-safe-bottom));grid-template-columns:repeat(6,58px);width:auto;max-width:calc(100% - 150px);padding:4px;transform:translateX(-50%)}
 .rwgm.is-phone-landscape .rwgm__mobile-commandbar button{min-height:42px}.rwgm.is-phone-landscape .rwgm__mobile-commandbar button span{font-size:15px}.rwgm.is-phone-landscape .rwgm__mobile-commandbar button small{font-size:7px}
 .rwgm.is-phone-landscape .rwgm__joystick{left:max(12px,var(--rwgm-safe-left));bottom:max(12px,var(--rwgm-safe-bottom))}.rwgm.is-phone-landscape .rwgm__joystick-base{width:96px;height:96px}.rwgm.is-phone-landscape .rwgm__joystick-knob{left:28px;top:28px;width:40px;height:40px}
 .rwgm.is-phone-landscape .rwgm__country{left:max(10px,var(--rwgm-safe-left));bottom:auto;top:56px;width:190px;padding:7px 9px;border-radius:9px}.rwgm.is-phone-landscape .rwgm__country-kicker{font-size:7px}.rwgm.is-phone-landscape .rwgm__country-name{font-size:13px}.rwgm.is-phone-landscape .rwgm__country-meta{display:none}.rwgm.is-phone-landscape .rwgm__coords{display:none}
 .rwgm.is-phone-landscape .rwgm__mode,.rwgm.is-phone-landscape .rwgm__loading{top:54px;max-width:55%;font-size:9px}.rwgm.is-phone-landscape .rwgm__build-dock{top:54px;max-width:58%}
 .rwgm.is-phone-landscape .rwgm__toast-region{display:block;top:54px;font-size:10px}
 .rwgm.is-phone-landscape .rwgm__modal{padding:max(8px,var(--rwgm-safe-top)) max(8px,var(--rwgm-safe-right)) max(8px,var(--rwgm-safe-bottom)) max(8px,var(--rwgm-safe-left));align-items:center;overflow:auto}
 .rwgm.is-phone-landscape .rwgm__modalcard,.rwgm.is-phone-landscape .rwgm__garagecard,.rwgm.is-phone-landscape .rwgm__buildcard{width:min(900px,96vw);max-height:94vh;overflow:auto}
 .rwgm.is-phone-landscape .rwgm__spawncard{width:min(760px,96vw)}.rwgm.is-phone-landscape .rwgm__avatarcard{width:min(980px,96vw)}
 .rwgm.is-phone-landscape .rwgm__map-look{top:52px;right:max(8px,var(--rwgm-safe-right));max-height:calc(100vh - 62px);overflow:auto}
 .rwgm.is-phone-landscape .rwgm__audio{left:max(112px,var(--rwgm-safe-left));bottom:max(10px,var(--rwgm-safe-bottom))}.rwgm.is-phone-landscape .rwgm__voice{right:max(10px,var(--rwgm-safe-right));bottom:max(10px,var(--rwgm-safe-bottom))}
 .rwgm.is-phone-landscape .maplibregl-ctrl-top-right{top:48px}.rwgm.is-phone-landscape .maplibregl-ctrl-bottom-right{bottom:64px}
}

@media(hover:none) and (pointer:coarse) and (orientation:portrait){
 .rwgm.is-phone-portrait.is-immersive .rwgm__rotate-coach,.rwgm.is-phone-portrait.is-pseudo-fullscreen .rwgm__rotate-coach{display:grid}
 .rwgm.is-phone-portrait .rwgm__mobile-commandbar{grid-template-columns:repeat(6,minmax(42px,1fr));width:calc(100% - 12px);bottom:max(6px,var(--rwgm-safe-bottom))}
}

@media(prefers-reduced-motion:reduce){.rwgm__toast-region,.rwgm.is-phone-landscape .rwgm__gamepanel{transition:none}.rwgm__rotate-device{animation:none}}
@media(forced-colors:active){.rwgm__mobile-commandbar,.rwgm__gamepanel,.rwgm-action-popup .maplibregl-popup-content{border:2px solid CanvasText}.rwgm__mobile-commandbar button[aria-pressed="true"]{outline:2px solid Highlight}}
@keyframes rwgm-rotate-device{0%,100%{transform:rotate(0)}45%,70%{transform:rotate(90deg)}}

.rwgm__rotate-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.rwgm__rotate-actions button+button{border-color:#63736a;background:#18241f;color:#dce9e0}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){
 .rwgm.is-phone-landscape .rwgm__workspace,.rwgm.is-phone-landscape.is-immersive .rwgm__workspace,.rwgm.is-phone-landscape.is-pseudo-fullscreen .rwgm__workspace{padding-top:46px!important}
 .rwgm.is-phone-landscape .rwgm__stage{height:calc(100% - 46px)!important}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){.rwgm.is-phone-landscape .rwgm__stage{height:100%!important}}

/* v5.0.0 shared world, weather, terrain and essential public services */
.rwgm__atmosphere{position:absolute;z-index:3;inset:0;overflow:hidden;pointer-events:none;transition:background .8s ease,opacity .8s ease;mix-blend-mode:multiply}
.rwgm[data-world-phase="night"] .rwgm__atmosphere{background:rgba(6,14,36,.48);mix-blend-mode:multiply}.rwgm[data-world-phase="dawn"] .rwgm__atmosphere{background:linear-gradient(180deg,rgba(220,112,78,.22),rgba(54,70,105,.10));mix-blend-mode:screen}.rwgm[data-world-phase="dusk"] .rwgm__atmosphere{background:linear-gradient(180deg,rgba(177,82,62,.28),rgba(29,27,64,.22));mix-blend-mode:multiply}.rwgm[data-world-phase="day"] .rwgm__atmosphere{background:rgba(255,237,183,.035);mix-blend-mode:screen}
.rwgm__atmosphere span{display:none;position:absolute;top:-20%;width:2px;height:18px;background:rgba(205,229,245,.72);transform:rotate(16deg);animation:rwgm-weather-fall 1s linear infinite}.rwgm__atmosphere span:nth-child(1){left:9%;animation-delay:-.2s}.rwgm__atmosphere span:nth-child(2){left:25%;animation-delay:-.7s}.rwgm__atmosphere span:nth-child(3){left:42%;animation-delay:-.4s}.rwgm__atmosphere span:nth-child(4){left:59%;animation-delay:-.9s}.rwgm__atmosphere span:nth-child(5){left:76%;animation-delay:-.1s}.rwgm__atmosphere span:nth-child(6){left:91%;animation-delay:-.6s}
.rwgm[data-world-weather="rain"] .rwgm__atmosphere span,.rwgm[data-world-weather="storm"] .rwgm__atmosphere span,.rwgm[data-world-weather="snow"] .rwgm__atmosphere span{display:block}.rwgm[data-world-weather="storm"] .rwgm__atmosphere{background:rgba(14,22,36,.35)}.rwgm[data-world-weather="storm"] .rwgm__atmosphere span{height:26px;animation-duration:.65s}.rwgm[data-world-weather="snow"] .rwgm__atmosphere span{width:6px;height:6px;border-radius:50%;background:#fff;animation-duration:3.4s;transform:none}
@keyframes rwgm-weather-fall{from{translate:0 -20vh}to{translate:14vw 130vh}}
.rwgm__world-hud{position:absolute;z-index:10;top:12px;left:12px;display:grid;grid-template-columns:auto auto minmax(130px,1fr);align-items:center;gap:0;max-width:min(680px,calc(100% - 100px));min-height:54px;padding:0;border:1px solid rgba(240,204,116,.35);border-radius:14px;background:rgba(8,20,16,.90);color:#edf4ec;box-shadow:0 12px 36px rgba(0,0,0,.35);overflow:hidden;backdrop-filter:blur(14px);text-align:left;cursor:pointer}
.rwgm__world-hud>span{display:grid;align-content:center;gap:2px;min-width:0;min-height:54px;padding:8px 13px;border-right:1px solid rgba(255,255,255,.09)}.rwgm__world-hud>span:last-child{border-right:0}.rwgm__world-hud strong{color:#f3d276;font-size:18px;line-height:1;font-variant-numeric:tabular-nums}.rwgm__world-hud b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rwgm__world-hud small{overflow:hidden;color:#9fb2a7;font-size:8px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.rwgm__public-service{display:grid;width:38px;height:38px;place-items:center;padding:0;border:2px solid #eef7f1;border-radius:10px;background:color-mix(in srgb,var(--service-color) 78%,#172019);color:#08100c;box-shadow:0 5px 15px rgba(0,0,0,.45),0 0 0 3px color-mix(in srgb,var(--service-color) 30%,transparent);cursor:pointer}.rwgm__public-service span{font-size:13px;font-weight:1000}.rwgm__public-service small{position:absolute;top:40px;left:50%;max-width:120px;padding:3px 5px;border-radius:5px;background:rgba(8,16,13,.88);color:#eef5ef;font-size:7px;font-weight:900;opacity:0;pointer-events:none;transform:translateX(-50%);white-space:nowrap}.rwgm__public-service:hover small,.rwgm__public-service:focus-visible small{opacity:1}
.rwgm__service-popup{display:grid;gap:7px}.rwgm__service-popup em{color:#9fc8ae;font-size:10px;font-style:normal}.rwgm__worldcard{width:min(820px,100%);max-height:min(760px,92vh);overflow:auto}.rwgm__world-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rwgm__world-summary article{display:grid;gap:5px;min-width:0;padding:13px;border:1px solid #4b5f50;border-radius:12px;background:#15241d}.rwgm__world-summary small,.rwgm__forecast small{color:#77cbd4;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.rwgm__world-summary strong{color:#f2d07a;font-size:15px}.rwgm__world-summary span{color:#aab9ae;font-size:10px;line-height:1.4}.rwgm__forecast{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.rwgm__forecast>span{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:9px;border:1px solid #374b40;border-radius:10px;background:#0f1b16}.rwgm__forecast b{font-size:10px}.rwgm__forecast em{color:#eecb74;font-size:11px;font-style:normal;font-weight:900}.rwgm__service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.rwgm__service-list button{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 9px;min-height:76px;padding:10px;border:1px solid #4e5d50;border-radius:12px;background:#14231c;color:#edf3ee;text-align:left;cursor:pointer}.rwgm__service-list button>span{grid-row:1/4;display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:var(--service-color);color:#09110d;font-weight:1000}.rwgm__service-list b{font-size:11px}.rwgm__service-list small{color:#aebbb1;font-size:9px}.rwgm__service-list em{color:#7fc197;font-size:8px;font-style:normal;font-weight:800}.rwgm__world-rule{padding:11px;border-left:3px solid #e9c768;background:rgba(233,199,104,.07);color:#b9c4bb;font-size:10px;line-height:1.5}.rwgm__world-rule strong{color:#f0d27c}
@media(max-width:760px){.rwgm__world-hud{grid-template-columns:auto auto;max-width:calc(100% - 24px)}.rwgm__world-terrain{display:none!important}.rwgm__world-summary{grid-template-columns:1fr}.rwgm__service-list{grid-template-columns:1fr}}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){.rwgm.is-phone-landscape .rwgm__world-hud{top:54px;left:max(10px,var(--rwgm-safe-left));grid-template-columns:auto auto;max-width:310px;min-height:42px;border-radius:11px}.rwgm.is-phone-landscape .rwgm__world-hud>span{min-height:42px;padding:6px 9px}.rwgm.is-phone-landscape .rwgm__world-hud strong{font-size:14px}.rwgm.is-phone-landscape .rwgm__world-hud b{font-size:9px}.rwgm.is-phone-landscape .rwgm__world-hud small{font-size:7px}.rwgm.is-phone-landscape .rwgm__country{top:104px}.rwgm.is-phone-landscape .rwgm__public-service{width:32px;height:32px;border-radius:9px}.rwgm.is-phone-landscape .rwgm__worldcard{width:min(900px,96vw);max-height:92vh}.rwgm.is-phone-landscape .rwgm__world-summary{grid-template-columns:repeat(3,1fr)}.rwgm.is-phone-landscape .rwgm__service-list{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.rwgm__atmosphere span{animation:none!important}.rwgm__atmosphere{transition:none}}

/* v6.0.0 authoritative body, health and recovery interface */
.rwgm__hub-tabs{grid-template-columns:repeat(4,1fr)}
.rwgm__needs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rwgm__needs>div{min-width:0}
.rwgm__needs i b[data-level="warning"]{background:#e7b95d!important}.rwgm__needs i b[data-level="critical"]{background:#e56b6b!important}
.rwgm__health-panel{gap:10px!important}.rwgm__health-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:2px solid #6c4d32;border-radius:13px;background:linear-gradient(135deg,#2d2118,#17251f)}.rwgm__health-head>div{display:grid;gap:2px}.rwgm__health-head small{color:#7ed0d8;font-size:8px;font-weight:900;letter-spacing:.12em}.rwgm__health-head strong{color:#f0d17b;font-size:18px}.rwgm__health-head>span{padding:5px 8px;border:1px solid #496254;border-radius:999px;color:#9ed5b0;font-size:8px;font-weight:900}.rwgm__health-head>span[data-level="warning"]{border-color:#b7853d;color:#f0c06b}.rwgm__health-head>span[data-level="critical"]{border-color:#bd5555;color:#ff9999}
.rwgm__body-vitals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rwgm__body-vitals article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:9px;border:1px solid #45584b;border-radius:10px;background:#14211b}.rwgm__body-vitals article>span{display:grid;min-width:0}.rwgm__body-vitals b{font-size:9px}.rwgm__body-vitals small{overflow:hidden;color:#8fa298;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.rwgm__body-vitals strong{color:#dce9df;font-size:10px}.rwgm__body-vitals i{grid-column:1/-1;height:4px;border-radius:999px;background:#26372f;overflow:hidden}.rwgm__body-vitals em{display:block;height:100%;background:#72c890}.rwgm__body-vitals article[data-level="warning"] em{background:#dfae55}.rwgm__body-vitals article[data-level="critical"] em{background:#df6666}
.rwgm__condition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.rwgm__condition-grid span{display:grid;place-items:center;gap:3px;padding:8px 4px;border:1px solid #405449;border-radius:9px;background:#101d17}.rwgm__condition-grid small{color:#8fa398;font-size:7px}.rwgm__condition-grid strong{font-size:11px}.rwgm__condition-grid span[data-level="warning"]{border-color:#aa7c3c}.rwgm__condition-grid span[data-level="critical"]{border-color:#b94f4f;color:#ff9696}
.rwgm__active-care{display:flex;align-items:center;justify-content:space-between;padding:10px;border:1px solid #59936f;border-radius:11px;background:rgba(80,154,105,.12)}.rwgm__active-care[hidden]{display:none}.rwgm__active-care span{display:grid}.rwgm__active-care small{color:#75cbd7;font-size:7px;font-weight:900}.rwgm__active-care strong{text-transform:capitalize}.rwgm__active-care button{min-height:34px;border:1px solid #719c7e;border-radius:8px;background:#294334;color:#e8f4eb;font-size:9px;font-weight:900}
.rwgm__health-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.rwgm__health-actions button{min-height:42px;padding:7px;border:2px solid #684a32;border-radius:10px;background:linear-gradient(#35271d,#211812);color:#eeddb8;font-size:9px;font-weight:900}.rwgm__health-actions button:hover{border-color:#d1a553}
.rwgm.is-incapacitated .rwgm__stage:after{content:"INCAPACITATED · REQUIRES HOSPITAL CARE";position:absolute;z-index:45;left:50%;bottom:82px;padding:10px 14px;border:2px solid #d45f5f;border-radius:12px;background:rgba(55,10,10,.92);color:#ffd7d7;font-size:10px;font-weight:1000;letter-spacing:.08em;transform:translateX(-50%);pointer-events:none}.rwgm.is-incapacitated .rwgm__joystick{opacity:.35;filter:grayscale(1)}
@media(max-width:420px){.rwgm__body-vitals{grid-template-columns:1fr}.rwgm__condition-grid{grid-template-columns:repeat(2,1fr)}}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){.rwgm.is-phone-landscape .rwgm__body-vitals{grid-template-columns:repeat(2,1fr)}.rwgm.is-phone-landscape .rwgm__health-actions{grid-template-columns:repeat(2,1fr)}.rwgm.is-phone-landscape.is-incapacitated .rwgm__stage:after{bottom:68px}}
.rwgm__crafting-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.rwgm__crafting-actions button,.rwgm__inventory-list [data-equip-item]{min-height:36px;border:1px solid #6b5438;border-radius:9px;background:#2c2118;color:#efd797;font-size:8px;font-weight:900}.rwgm__inventory-list [data-equip-item]{min-height:26px;margin-top:4px;padding:2px 8px}.rwgm__service-popup em{line-height:1.45}
/* v8 economy and player-business dashboard */
.rwgm__hub-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.rwgm__economy-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rwgm__economy-balances>span{display:grid;gap:2px;padding:10px;border:1px solid #5e4b35;border-radius:10px;background:#14211c}.rwgm__economy-balances small,.rwgm__business-list small,.rwgm__business-register>small{color:#75cbd7;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.rwgm__economy-balances strong{color:#f5d37d;font-size:14px}.rwgm__money-entry{display:grid;grid-template-columns:1fr 110px;align-items:center;gap:8px;color:#c8c5b2;font-size:10px}.rwgm__money-entry input{width:100%;min-height:38px;padding:7px;border:1px solid #654a33;border-radius:8px;background:#0e1814;color:#ffe09a}.rwgm__economy-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.rwgm__economy-actions button,.rwgm__business-list button,.rwgm__economy-history button{min-height:38px;padding:7px;border:1px solid #6b5438;border-radius:9px;background:linear-gradient(#35271d,#211812);color:#efd797;font-size:9px;font-weight:900}.rwgm__business-list,.rwgm__economy-history{display:grid;gap:7px;max-height:230px;overflow:auto}.rwgm__business-list article,.rwgm__economy-history article{display:grid;gap:7px;padding:9px;border:1px solid #3f5146;border-radius:10px;background:#14201c}.rwgm__business-list article header,.rwgm__economy-history article{grid-template-columns:minmax(0,1fr) auto;align-items:center}.rwgm__business-list article header{display:grid}.rwgm__business-list article header span{display:grid}.rwgm__business-list article header b{padding:4px 7px;border-radius:999px;background:#4b2f25;color:#e6ad84;font-size:8px}.rwgm__business-list article header b[data-open="yes"]{background:#234d35;color:#9ce1b0}.rwgm__business-list article p{margin:0;color:#9ead9f;font-size:9px}.rwgm__business-register{display:grid;gap:6px}.rwgm__economy-history article span{display:grid}.rwgm__economy-history small{color:#8fa298;font-size:8px}.rwgm__economy-history b{color:#f0c977;font-size:10px}
@media(max-width:520px){.rwgm__hub-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.rwgm__hub-tabs button{font-size:8px;padding-inline:2px}}
/* v10 authoritative structural plans */
.rwgm__room{position:relative}.rwgm__detected-room{position:absolute;z-index:1;pointer-events:none;background:rgba(84,165,142,.10);box-shadow:inset 0 0 0 1px rgba(120,224,192,.28)}.rwgm__detected-room small{position:absolute;left:4px;top:4px;padding:2px 4px;border-radius:4px;background:rgba(7,18,14,.72);color:#9fe6c6;font:700 7px system-ui}.rwgm__structural-wall{position:absolute;z-index:5;pointer-events:none;background:#4b3326;box-shadow:0 0 0 1px #b88955,0 2px 5px #0008}.rwgm__structural-wall.is-horizontal{height:5px!important;transform:translateY(-2px)}.rwgm__structural-wall.is-vertical{width:5px!important;transform:translateX(-2px)}.rwgm__structural-wall b{position:absolute;width:18px;height:10px;transform:translate(-50%,-25%);background:#1c2b25;border:1px solid #dfb86c}.rwgm__structural-wall.is-vertical b{width:10px;height:18px;transform:translate(-25%,-50%)}.rwgm__structural-wall b.is-window{background:#79c8dd;border-color:#d9f6ff}
/* v11 player institutions and careers */
.rwgm__hub-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.rwgm__career-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rwgm__career-summary>span{display:grid;gap:2px;padding:9px;border:1px solid #4b594d;border-radius:10px;background:#14211c}.rwgm__career-summary small,.rwgm__institution-list small,.rwgm__active-shift-card small{color:#75cbd7;font-size:8px;font-weight:900;letter-spacing:.1em}.rwgm__career-summary strong{color:#f4d27b}.rwgm__active-shift-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:10px;border:2px solid #4e8960;border-radius:11px;background:#183224}.rwgm__active-shift-card span{display:grid}.rwgm__institution-list{display:grid;gap:8px;max-height:300px;overflow:auto}.rwgm__institution-list article{display:grid;gap:7px;padding:9px;border:1px solid #405247;border-radius:10px;background:#14201c}.rwgm__institution-list header{display:grid;grid-template-columns:1fr auto;align-items:center}.rwgm__institution-list header span{display:grid}.rwgm__institution-list header b{padding:4px 7px;border-radius:999px;background:#4d2e26;color:#e8ae8b;font-size:8px}.rwgm__institution-list header b[data-open="yes"]{background:#245039;color:#9fe1b2}.rwgm__institution-list p{margin:0;color:#99a99e;font-size:9px}.rwgm__institution-list article>div,.rwgm__career-roles,.rwgm__institution-register{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.rwgm__institution-list button,.rwgm__active-shift-card button{min-height:36px;padding:6px;border:1px solid #665039;border-radius:8px;background:#2d2118;color:#efd797;font-size:8px;font-weight:900}.rwgm__institution-register small{grid-column:1/-1}
@media(max-width:520px){.rwgm__hub-tabs{grid-template-columns:repeat(3,1fr)}}

/* v16 field-kit interface: a flat, illustrated 2D game HUD */
.rwgm{
  --rwgm-forest-0:#0b1511;
  --rwgm-forest-1:#12231b;
  --rwgm-forest-2:#1b3226;
  --rwgm-leather-0:#25170f;
  --rwgm-leather-1:#3a2618;
  --rwgm-leather-2:#604329;
  --rwgm-brass:#e2b75d;
  --rwgm-brass-hi:#ffe08a;
  --rwgm-paper:#ead9ae;
  --rwgm-mint:#78c69a;
  --rwgm-ember:#de7c54;
  --rwgm-line:#745333;
  --rwgm-notch:polygon(0 8px,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px));
}
.rwgm__toolbar{
  min-height:64px;
  padding:8px 10px;
  border:2px solid #8b6339;
  border-bottom-color:#4c321f;
  background:#25190f;
  box-shadow:inset 0 3px 0 rgba(255,220,145,.08),inset 0 -4px 0 #120c08;
}
.rwgm__brand{align-items:center;gap:9px}
.rwgm__brand-mark{
  display:grid;width:42px;height:42px;place-items:center;flex:0 0 42px;
  clip-path:polygon(50% 0,88% 16%,100% 55%,72% 100%,28% 100%,0 55%,12% 16%);
  background:#d9ae56;color:#24160d;font:900 20px Georgia,serif;
  box-shadow:inset 0 0 0 4px #795226;
}
.rwgm__brand>span:last-child{display:grid;gap:1px}
.rwgm__brand strong{color:#f5d787;font-size:13px;letter-spacing:.2em}
.rwgm__brand small{color:#a99472;font-size:10px;letter-spacing:.04em}
.rwgm__actions{align-items:center;gap:6px}
.rwgm__toolbar .rwgm__btn{
  display:grid;grid-template-columns:24px auto;align-items:center;gap:6px;min-width:105px;min-height:44px;padding:6px 10px;
  clip-path:var(--rwgm-notch);border:0;border-radius:0;background:#39271a;color:#ebd7aa;
  box-shadow:inset 0 0 0 2px #69482c,inset 0 -4px 0 #1b120c;
}
.rwgm__toolbar .rwgm__btn:hover,.rwgm__toolbar .rwgm__btn[aria-expanded="true"]{background:#523820;color:#ffe6a1;box-shadow:inset 0 0 0 2px #c89445,inset 0 -4px 0 #25170e}
.rwgm__toolbar .rwgm__btn>span{color:#f2c565;font-size:19px;text-align:center}
.rwgm__toolbar .rwgm__btn>small{font-size:10px;font-weight:900;letter-spacing:.045em;text-align:left}
.rwgm__map-menu-wrap{position:relative}
.rwgm__map-menu{
  position:absolute;z-index:90;top:calc(100% + 10px);right:0;width:270px;padding:8px;
  clip-path:var(--rwgm-notch);background:#18281f;box-shadow:0 12px 0 rgba(0,0,0,.24),inset 0 0 0 2px #6d5132;
}
.rwgm__menu-title{display:flex;align-items:center;justify-content:space-between;padding:5px 7px 9px;color:#e9c56f;font-size:9px;font-weight:900;letter-spacing:.18em}
.rwgm__menu-title button{width:28px;height:28px;border:0;background:#352318;color:#d9c7a1;font-size:19px}
.rwgm__map-menu>button{
  display:grid;grid-template-columns:34px 1fr;gap:0 8px;width:100%;min-height:54px;padding:8px;border:0;border-top:1px solid #354b3d;background:transparent;color:#ecdfbd;text-align:left
}
.rwgm__map-menu>button:hover{background:#223a2c}
.rwgm__map-menu>button>span{grid-row:1/3;align-self:center;color:#e1b65d;font-size:22px;text-align:center}
.rwgm__map-menu>button>b{font-size:11px}.rwgm__map-menu>button>small{color:#8fa491;font-size:9px}

.rwgm__workspace{grid-template-columns:minmax(0,1fr) 360px}
.rwgm__gamepanel{
  padding:12px!important;border-left:2px solid #7e5834;background:#0d1813;
  background-image:linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px);
  background-size:16px 16px;
}
.rwgm__panelhead{padding:2px 2px 10px;border-bottom:1px solid #3f4b3f}
.rwgm__panelhead .rwgm__eyebrow{color:#d7ad5a;letter-spacing:.2em}
.rwgm__panelhead h3{color:#f2e4bd;font-family:Georgia,serif;font-size:21px}
.rwgm__save{padding:5px 7px;clip-path:polygon(6px 0,100% 0,100% 100%,0 100%,0 6px);background:#1b2c22;color:#92a992}
.rwgm__playerhead{
  grid-template-columns:50px minmax(0,1fr) 38px!important;min-height:70px!important;padding:9px!important;
  clip-path:var(--rwgm-notch);border:0!important;border-radius:0!important;background:#2c1f16!important;
  box-shadow:inset 0 0 0 2px #6c4a2c,inset 0 -5px 0 #17100b!important;
}
.rwgm__avatar-button{clip-path:polygon(50% 0,95% 22%,95% 78%,50% 100%,5% 78%,5% 22%);border-radius:0!important;background:#1c3527!important}
.rwgm__hub-focus{clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);border:0;border-radius:0;background:#49331f;box-shadow:inset 0 0 0 1px #9a6b35}
.rwgm__hub-tabs{
  grid-template-columns:repeat(4,1fr)!important;gap:4px;padding:5px;border:0;border-radius:0;
  background:#09110d;box-shadow:inset 0 0 0 1px #354338;
}
.rwgm__hub-tabs button{
  display:grid;place-items:center;gap:1px;min-height:58px;padding:5px 2px;border:0;border-radius:0!important;background:#14241c;color:#89998a;font-size:9px;
  clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
}
.rwgm__hub-tabs button span{font-size:19px;line-height:1}.rwgm__hub-tabs button small{font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.rwgm__hub-tabs button.is-active{background:#624426;color:#ffe092;box-shadow:inset 0 0 0 2px #d5a84f,inset 0 -5px 0 #342313}
.rwgm__section-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px;padding:3px;background:#0b130f;border-bottom:2px solid #614326}
.rwgm__section-tabs button{min-height:36px;border:0;background:#17271e;color:#8fa091;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.rwgm__section-tabs button.is-active{background:#4c351f;color:#f6d787;box-shadow:inset 0 -3px 0 #d2a44f}

.rwgm__inventory-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;clip-path:var(--rwgm-notch);background:#2d2016;box-shadow:inset 0 0 0 2px #6f4c2e}
.rwgm__inventory-head>div{display:grid}.rwgm__inventory-head small{color:#d3a956;font-size:8px;font-weight:900;letter-spacing:.18em}.rwgm__inventory-head strong{color:#f1dfb5;font-family:Georgia,serif;font-size:17px}.rwgm__inventory-head>span{color:#e4bc69;font-size:25px}
.rwgm__inventory-summary{grid-template-columns:1fr auto;align-items:center;gap:7px;padding:10px 12px;border:0;border-radius:0;clip-path:var(--rwgm-notch);background:#172a20;box-shadow:inset 0 0 0 1px #4a614f}
.rwgm__inventory-summary span:first-child{display:grid;gap:2px}.rwgm__inventory-summary small{color:#82ad91;font-size:8px}.rwgm__inventory-summary strong{color:#f8da83;font-size:18px}.rwgm__inventory-summary strong em{color:#a0a88f;font-size:10px;font-style:normal}
.rwgm__capacity-rune{display:grid!important;width:38px;height:38px;place-items:center;clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);background:#37523d;color:#f1d58a;font-size:9px;font-weight:900}
.rwgm__inventory-summary i{grid-column:1/-1;height:8px;border:0;border-radius:0;background:#0a110d;box-shadow:inset 0 0 0 1px #53604b}
.rwgm__inventory-summary i b{border-radius:0;background:linear-gradient(90deg,#62a47a,#e4b95d)}
.rwgm__inventory-search{display:grid;grid-template-columns:34px 1fr;align-items:center;min-height:44px;background:#0b1511;box-shadow:inset 0 0 0 1px #415044}
.rwgm__inventory-search>span{color:#cda454;font-size:20px;text-align:center}.rwgm__inventory-search input{width:100%;min-height:44px;padding:8px 10px 8px 0;border:0;background:transparent;color:#efe4c7;outline:0}.rwgm__inventory-search input::placeholder{color:#718277}
.rwgm__inventory-filters{gap:4px;padding:1px 0 5px;scrollbar-width:thin}
.rwgm__inventory-filters button{min-height:34px;padding:6px 10px;border:0;border-radius:0;clip-path:polygon(5px 0,100% 0,100% 100%,0 100%,0 5px);background:#1b2b22;color:#94a697;font-size:9px;box-shadow:inset 0 0 0 1px #3f5044}
.rwgm__inventory-filters button.is-active{background:#5b4025;color:#ffe09a;box-shadow:inset 0 0 0 1px #d1a14b,inset 0 -3px 0 #2b1d12}
.rwgm__inventory-list{gap:5px;max-height:330px;padding-right:2px}
.rwgm__inventory-list article{
  grid-template-columns:52px 1fr 34px;gap:9px;padding:8px;border:0;border-radius:0;clip-path:var(--rwgm-notch);
  background:#14241c;box-shadow:inset 0 0 0 1px #405247,inset 5px 0 0 #263d2e;
}
.rwgm__inventory-list article:hover{background:#1a2e23;box-shadow:inset 0 0 0 1px #9a7541,inset 5px 0 0 #b98941}
.rwgm__inventory-list .rwgm__item-slot{display:grid;width:48px;height:48px;place-items:center;border-radius:0;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);background:#20382a;box-shadow:inset 0 0 0 2px #4b6451}
.rwgm__inventory-list article>div{gap:2px}.rwgm__inventory-list article>div>strong{color:#f0e1ba;font-size:11px}.rwgm__inventory-list article small{color:#849889;font-size:8px}
.rwgm__item-count{display:grid;width:30px;height:30px;place-items:center;align-self:start;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#614426;color:#ffe29a!important;font-size:10px}
.rwgm__condition{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:6px;margin-top:2px}.rwgm__condition>i{height:4px;background:#0a110d}.rwgm__condition>i>b{display:block;height:100%;background:#72b98b}
.rwgm__item-actions{display:flex!important;gap:4px;margin-top:4px}.rwgm__item-actions button{min-height:28px!important;margin:0!important;padding:3px 9px!important;border:0!important;border-radius:0!important;background:#4a341f!important;color:#efd28a!important;box-shadow:inset 0 0 0 1px #956b35}
.rwgm__inventory-empty{display:grid;place-items:center;gap:3px;padding:28px 12px;clip-path:var(--rwgm-notch);background:#101d17;color:#819287}.rwgm__inventory-empty>span{color:#b28a45;font-size:28px}.rwgm__inventory-empty strong{color:#d8cbaa;font-family:Georgia,serif}.rwgm__inventory-empty small{font-size:9px}
.rwgm__crafting-drawer{clip-path:var(--rwgm-notch);background:#21170f;box-shadow:inset 0 0 0 1px #6f4b2c}
.rwgm__crafting-drawer summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:8px 11px;cursor:pointer;list-style:none}.rwgm__crafting-drawer summary::-webkit-details-marker{display:none}.rwgm__crafting-drawer summary>span{display:grid}.rwgm__crafting-drawer summary b{color:#efcf7e;font-size:10px}.rwgm__crafting-drawer summary small{color:#9d8c70;font-size:8px}.rwgm__crafting-drawer summary>i{color:#d6aa54;font-size:18px;font-style:normal}.rwgm__crafting-drawer[open] summary>i{transform:rotate(45deg)}
.rwgm__crafting-actions{padding:0 8px 8px}.rwgm__crafting-actions button{display:grid;grid-template-columns:22px 1fr;align-items:center;min-height:40px!important;border:0!important;border-radius:0!important;background:#39271a!important;color:#e9d5a8!important;box-shadow:inset 0 0 0 1px #715033}.rwgm__crafting-actions button span{color:#e2b75d;font-size:16px}

.rwgm__action-sheet{position:absolute;z-index:75;inset:auto 10px 76px;padding:12px;clip-path:var(--rwgm-notch);background:#17271e;box-shadow:0 14px 28px rgba(0,0,0,.45),inset 0 0 0 2px #886039}
.rwgm__action-sheet-close{position:absolute;right:9px;top:9px;width:34px;height:34px;border:0;background:#352319;color:#ddc590;font-size:21px}
.rwgm__action-sheet-head{display:grid;gap:2px;padding:3px 42px 12px 3px}.rwgm__action-sheet-head small{color:#d7ab55;font-size:8px;font-weight:900;letter-spacing:.18em}.rwgm__action-sheet-head strong{color:#f0e1bb;font-family:Georgia,serif;font-size:17px}
.rwgm__action-sheet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.rwgm__action-sheet-grid button{display:grid;grid-template-columns:34px 1fr;align-items:center;min-height:52px;padding:8px;border:0;background:#2f2117;color:#ead7ac;text-align:left;box-shadow:inset 0 0 0 1px #76502e,inset 0 -4px 0 #17100b}.rwgm__action-sheet-grid span{color:#e2b65b;font-size:21px;text-align:center}.rwgm__action-sheet-grid b{font-size:10px}

@media(min-width:681px){.rwgm__action-sheet{display:none!important}}
@media(max-width:680px){
  .rwgm__toolbar{min-height:56px;align-items:center;flex-direction:row;flex-wrap:nowrap}
  .rwgm__brand{flex-direction:row;flex:1 1 auto;min-width:0}
  .rwgm__actions{display:flex;grid-template-columns:none;flex:0 0 auto;flex-wrap:nowrap}
  .rwgm__brand small{display:none}.rwgm__brand-mark{width:36px;height:36px;flex-basis:36px}
  .rwgm__toolbar .rwgm__btn{min-width:44px;width:44px;grid-template-columns:1fr;padding:4px}.rwgm__toolbar .rwgm__btn small{display:none}
  .rwgm__map-menu{position:fixed;top:66px;right:10px;left:10px;width:auto}
  .rwgm__workspace{grid-template-columns:minmax(0,1fr)}
  .rwgm__gamepanel{width:100%;padding:10px!important;border-left:1px solid var(--rwgm-line)}
  .rwgm__hub-tabs{position:sticky;z-index:5;top:0}
  .rwgm__hub-tabs button{min-height:54px}
}
@media(prefers-reduced-motion:reduce){.rwgm__crafting-drawer summary>i{transition:none}}
@media(forced-colors:active){.rwgm__toolbar .rwgm__btn,.rwgm__hub-tabs button,.rwgm__inventory-list article,.rwgm__action-sheet{border:1px solid ButtonText;clip-path:none}}

/* v17 regional vehicle fleet, garage filters and service effects */
.rwgm__garagecard{width:min(1180px,calc(100vw - 24px));max-height:min(92vh,900px)}
.rwgm__vehicle-filters{
  display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(420px,3fr) auto;align-items:end;gap:10px;
  padding:0 20px 14px;overflow:visible;
}
.rwgm__vehicle-filters label{display:grid;gap:5px;min-width:0}
.rwgm__vehicle-filters label>span{color:#c69d50;font-size:8px;font-weight:900;letter-spacing:.15em}
.rwgm__vehicle-filters input,.rwgm__vehicle-filters select{
  width:100%;min-height:42px;padding:0 11px;border:0;border-radius:0;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  background:#0c1612;color:#ece0bd;box-shadow:inset 0 0 0 1px #46574a;font-size:10px;font-weight:800;
}
.rwgm__vehicle-filters input:focus,.rwgm__vehicle-filters select:focus{outline:2px solid #d2a650;outline-offset:2px}
.rwgm__vehicle-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.rwgm__vehicle-filters>strong{align-self:end;padding:0 0 12px;color:#8ea093;font-size:9px;white-space:nowrap}
.rwgm__vehicle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rwgm__vehicle-card{
  min-height:194px;border-radius:0;clip-path:var(--rwgm-notch);background:#101b16;
  box-shadow:inset 0 0 0 1px #3c4d41,inset 5px 0 0 #243b2c;
}
.rwgm__vehicle-card:hover{background:#16251d;box-shadow:inset 0 0 0 1px #a57b3d,inset 5px 0 0 #b68842,0 10px 22px rgba(0,0,0,.24)}
.rwgm__vehicle-card[data-service-role="Police"]{box-shadow:inset 0 0 0 1px #445f74,inset 5px 0 0 #3979b7}
.rwgm__vehicle-card[data-service-role="Medical"]{box-shadow:inset 0 0 0 1px #416f6b,inset 5px 0 0 #43a8a5}
.rwgm__vehicle-card[data-service-role="Fire"]{box-shadow:inset 0 0 0 1px #74443c,inset 5px 0 0 #c94b3d}
.rwgm__vehicle-card[data-service-role="Command"],.rwgm__vehicle-card[data-service-role="Roadside"]{box-shadow:inset 0 0 0 1px #79613b,inset 5px 0 0 #d49e42}
.rwgm__vehicle-art{height:170px;border-radius:0;background:radial-gradient(circle at 50% 44%,rgba(216,190,120,.10),rgba(255,255,255,.015) 68%)}
.rwgm__vehicle-art .rwgm__vehicle-image-wrap{max-width:148px;height:150px}
.rwgm__vehicle-image{max-width:100%;max-height:100%;object-fit:contain}
.rwgm__vehicle-maker{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-bottom:5px;border-bottom:1px solid #34443a}
.rwgm__vehicle-maker span{overflow:hidden;color:#ddb65f;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap}
.rwgm__vehicle-maker small{color:#7f9184;font-size:8px;white-space:nowrap}
.rwgm__vehicle-name strong{color:#f0e2bc;font-family:Georgia,serif;font-size:15px}
.rwgm__vehicle-specs{grid-template-columns:repeat(3,1fr)}
.rwgm__vehicle-specs>span:last-child{display:grid}
.rwgm__vehicle-specs>span{border-radius:0;background:#14231b;box-shadow:inset 0 0 0 1px #33443a}
.rwgm__vehicle-meta{flex-wrap:wrap;row-gap:2px;white-space:normal}
.rwgm__vehicle-enter{border-radius:0;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);background:#332417;color:#f0cf7a;box-shadow:inset 0 0 0 1px #825c32,inset 0 -3px 0 #17100b}
.rwgm__vehicle-enter:hover,.rwgm__vehicle-enter[aria-pressed="true"]{background:#d3a850;color:#21160c;box-shadow:inset 0 -3px 0 #815f2a}
.rwgm__vehicle-empty{grid-column:1/-1;display:grid;place-items:center;gap:4px;min-height:220px;padding:24px;clip-path:var(--rwgm-notch);background:#101b16;color:#849488;box-shadow:inset 0 0 0 1px #3e4e43}
.rwgm__vehicle-empty>span{color:#c89d4d;font-size:32px}.rwgm__vehicle-empty>strong{color:#e4d5ad;font-family:Georgia,serif;font-size:17px}.rwgm__vehicle-empty>small{font-size:9px;text-align:center}

.rwgm__emergency-beacon{
  position:absolute;z-index:5;left:50%;top:41%;display:flex;width:34px;height:9px;justify-content:space-between;
  opacity:0;transform:translate(-50%,-50%);pointer-events:none;
}
.rwgm__emergency-beacon i{width:15px;height:7px;border-radius:2px;background:#4b92ff;box-shadow:0 0 5px #4b92ff,0 0 13px #2375ff}
.rwgm__emergency-beacon i+ i{background:#ff5252;box-shadow:0 0 5px #ff5252,0 0 13px #ff2b2b}
.rwgm__emergency-beacon.role-medical i{background:#52cfff;box-shadow:0 0 6px #52cfff,0 0 13px #34a7dd}
.rwgm__emergency-beacon.role-medical i+ i{background:#70e4d0;box-shadow:0 0 6px #70e4d0,0 0 13px #30bba3}
.rwgm__emergency-beacon.role-fire i{background:#ff4b3e;box-shadow:0 0 6px #ff4b3e,0 0 14px #db251c}
.rwgm__emergency-beacon.role-fire i+ i{background:#ffbf3d;box-shadow:0 0 6px #ffbf3d,0 0 14px #e89712}
.rwgm__emergency-beacon.role-command i,.rwgm__emergency-beacon.role-command i+ i,.rwgm__emergency-beacon.role-roadside i,.rwgm__emergency-beacon.role-roadside i+ i{background:#ffc13b;box-shadow:0 0 6px #ffc13b,0 0 15px #dd8f13}
.rwgm__player-marker--vehicle.lights-on .rwgm__emergency-beacon{opacity:1}
.rwgm__player-marker--vehicle.lights-on .rwgm__emergency-beacon i{animation:rwgm-beacon-left .58s steps(2,end) infinite}
.rwgm__player-marker--vehicle.lights-on .rwgm__emergency-beacon i+ i{animation:rwgm-beacon-right .58s steps(2,end) infinite}
@keyframes rwgm-beacon-left{0%,48%{opacity:1;transform:scale(1.12)}50%,100%{opacity:.13;transform:scale(.82)}}
@keyframes rwgm-beacon-right{0%,48%{opacity:.13;transform:scale(.82)}50%,100%{opacity:1;transform:scale(1.12)}}

@media(max-width:900px){
  .rwgm__vehicle-filters{grid-template-columns:1fr}
  .rwgm__vehicle-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rwgm__vehicle-filters>strong{padding:0}
  .rwgm__vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .rwgm__vehicle-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rwgm__vehicle-grid{grid-template-columns:1fr}
  .rwgm__vehicle-card{grid-template-columns:116px minmax(0,1fr)}
  .rwgm__vehicle-art{height:154px}.rwgm__vehicle-art .rwgm__vehicle-image-wrap{height:138px}
}
@media(max-width:390px){
  .rwgm__vehicle-filters{padding-inline:10px}
  .rwgm__vehicle-filter-grid{grid-template-columns:1fr 1fr}
  .rwgm__vehicle-card{grid-template-columns:100px minmax(0,1fr)}
  .rwgm__vehicle-name strong{font-size:13px}
  .rwgm__vehicle-specs{grid-template-columns:1fr 1fr}
  .rwgm__vehicle-specs>span:last-child{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.rwgm__player-marker--vehicle.lights-on .rwgm__emergency-beacon i{animation:none}}

/* v12 transport overhaul */
.rwgm__transport-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.rwgm__transport-summary>span,.rwgm__active-transport-job,.rwgm__transport-fleet article{border:1px solid var(--rwgm-line,#39483d);background:rgba(8,20,17,.72);border-radius:12px;padding:10px}.rwgm__transport-summary small,.rwgm__transport-summary strong{display:block}.rwgm__transport-summary small{font-size:9px;letter-spacing:.12em;text-transform:uppercase;opacity:.72}.rwgm__transport-summary strong{margin-top:4px}.rwgm__active-transport-job{display:flex;align-items:center;gap:8px;margin-bottom:12px;border-color:#a8792d}.rwgm__active-transport-job span{flex:1}.rwgm__active-transport-job small,.rwgm__active-transport-job strong{display:block}.rwgm__transport-fleet{display:grid;gap:8px}.rwgm__transport-fleet article header{display:flex;justify-content:space-between;gap:10px}.rwgm__transport-fleet article header span small,.rwgm__transport-fleet article header span strong{display:block}.rwgm__transport-fleet article p{margin:8px 0;font-size:11px;opacity:.82}.rwgm__transport-fleet article div,.rwgm__transport-actions{display:flex;gap:6px;flex-wrap:wrap}.rwgm__transport-fleet button,.rwgm__transport-actions button,.rwgm__active-transport-job button{min-height:38px;border:1px solid #755825;border-radius:9px;background:#19241f;color:#f4e9cf;padding:7px 9px}.rwgm__transport-actions{margin-bottom:12px}@media(max-width:760px){.rwgm__transport-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__active-transport-job{align-items:stretch;flex-wrap:wrap}.rwgm__transport-panel{padding-bottom:90px}}
/* v13 WorldNet mobile internet ecosystem */
.rwgm__phone--worldnet .rwgm__phone-shell{width:min(980px,calc(100vw - 24px));height:min(760px,calc(100vh - 24px))}.rwgm__phone--worldnet [data-phone-panel="internet"]{height:100%;min-height:0}.rwgm__worldnet{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;height:100%;min-height:480px}.rwgm__worldnet>aside{display:grid;align-content:start;gap:5px;max-height:100%;overflow:auto;padding-right:4px}.rwgm__worldnet>aside button{display:grid;grid-template-columns:24px 1fr;align-items:center;text-align:left;gap:5px;min-height:42px;padding:5px;border-width:1px}.rwgm__worldnet>aside button b{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#192c24;color:#e9bf64}.rwgm__worldnet>aside button small{font-size:9px}.rwgm__worldnet>aside button.is-active{border-color:#dfb75b;background:#5b4225}.rwgm__worldnet>article{min-width:0;max-height:100%;overflow:auto;padding:2px 4px 28px}.rwgm__worldnet>article>header{position:sticky;z-index:2;top:-2px;display:block;margin-bottom:10px;padding:10px;border:1px solid #4d5f51;border-radius:12px;background:linear-gradient(135deg,#182c24,#312319)}.rwgm__worldnet>article>header small{color:#dcb760;font-size:8px;font-weight:900;letter-spacing:.14em}.rwgm__worldnet>article>header h3{margin:3px 0;color:#fff0bd;font:700 20px Georgia,serif}.rwgm__worldnet>article>header p{margin:4px 0;color:#b7c5b9;font-size:10px}.rwgm__net-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.rwgm__net-stats span{display:grid;gap:2px;min-width:0;padding:10px;border:1px solid #4b5c50;border-radius:10px;background:#101b17}.rwgm__net-stats small{color:#9eb0a1;font-size:8px;text-transform:uppercase}.rwgm__net-stats b{overflow:hidden;color:#f3d886;text-overflow:ellipsis}.rwgm__net-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.rwgm__net-grid button{display:grid;place-items:center;gap:6px;min-height:90px}.rwgm__net-grid button b{font-size:24px;color:#edc76c}.rwgm__net-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;margin-bottom:6px;padding:9px;border:1px solid #46594b;border-radius:10px;background:#111c18}.rwgm__net-card>span{display:grid;min-width:0}.rwgm__net-card strong{overflow:hidden;color:#f5e4b1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rwgm__net-card small{color:#9caf9f;font-size:9px;line-height:1.4}.rwgm__net-price{display:grid;grid-template-columns:auto minmax(100px,180px);align-items:center;gap:8px;margin:8px 0;color:#e6c46f;font-weight:900}.rwgm__net-order{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.rwgm__net-primary{width:100%;margin-bottom:10px;border-color:#d3aa50!important;background:#5a4225!important}.rwgm__net-empty{padding:18px;border:1px dashed #536456;border-radius:10px;color:#9eb0a1;text-align:center}.rwgm__phone nav button{position:relative}.rwgm__phone nav button>i{position:absolute;top:3px;right:16%;display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:8px;background:#b94335;color:#fff;font:700 8px Arial}.rwgm__phone header em{color:#7fcf99;font-style:normal}.rwgm__phone--worldnet main{overflow:hidden}
@media(max-width:700px){.rwgm__phone--worldnet .rwgm__phone-shell{width:100vw;height:100vh;max-height:none;border:0;border-radius:0}.rwgm__worldnet{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);min-height:0}.rwgm__worldnet>aside{display:flex;overflow-x:auto;padding:0 0 5px}.rwgm__worldnet>aside button{grid-template-columns:24px auto;flex:0 0 auto;min-width:78px}.rwgm__net-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__net-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__net-card{grid-template-columns:minmax(0,1fr) auto}.rwgm__net-card button+button{grid-column:2}.rwgm__phone--worldnet main{padding:8px}}
@media(orientation:landscape) and (max-height:500px){.rwgm__phone--worldnet .rwgm__phone-shell{grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:100vw;height:100vh;max-height:none;border:0;border-radius:0}.rwgm__phone--worldnet header{grid-column:1;padding:10px}.rwgm__phone--worldnet nav{grid-column:1;grid-row:2;grid-template-columns:1fr;align-content:start}.rwgm__phone--worldnet main{grid-column:2;grid-row:1/3}.rwgm__phone--worldnet footer{display:none}.rwgm__worldnet{min-height:calc(100vh - 16px)}}
/* v14 society, contracts, progression and safety */
.rwgm__net-form{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.rwgm__net-form input{flex:1 1 130px}.rwgm__net-group{margin-bottom:10px;padding:10px;border:1px solid #526758;border-radius:12px;background:linear-gradient(135deg,#122019,#211b15)}.rwgm__net-group>header{display:flex;justify-content:space-between;gap:8px}.rwgm__net-group>header span{display:grid}.rwgm__net-group>header small{color:#cfae64;font-size:8px;text-transform:uppercase}.rwgm__net-group>p{color:#aab8ad;font-size:9px}.rwgm__net-channel{max-height:210px;overflow:auto;padding:8px;border:1px solid #394a3e;border-radius:9px;background:#0d1713}.rwgm__net-channel>p{margin:4px 0;padding:5px 7px;border-radius:7px;background:#1a2921;font-size:10px}.rwgm__net-channel>p b{color:#ebc66d}.rwgm__net-contract-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px;padding:10px;border:1px solid #4f6254;border-radius:12px;background:#101b17}.rwgm__net-contract-form textarea{grid-column:1/-1;min-height:72px;padding:9px;border:2px solid #4e614f;border-radius:10px;background:#101a16;color:#f4ead0;resize:vertical}.rwgm__net-contract-form button{grid-column:1/-1}.rwgm__net-contract-form select{min-height:42px;padding:8px;border:2px solid #4e614f;border-radius:10px;background:#101a16;color:#f4ead0}@media(max-width:520px){.rwgm__net-contract-form{grid-template-columns:1fr}.rwgm__net-contract-form textarea,.rwgm__net-contract-form button{grid-column:1}}

/* v15 content platform, Audex typography and adaptive rendering */
@font-face{font-family:"Audex";src:url("fonts/Audex-Regular.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"Audex";src:url("fonts/Audex-Italic.ttf") format("truetype");font-style:italic;font-weight:100 900;font-display:swap}
.rwgm,.rwgm__phone{font-family:var(--rwgm-font-family,"Audex","Trebuchet MS",Verdana,sans-serif)}
.rwgm h1,.rwgm h2,.rwgm h3,.rwgm h4,.rwgm__brand strong,.rwgm__eyebrow,.rwgm__phone header b,.rwgm__phone h4{font-family:inherit}
.rwgm.is-low-power *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
.rwgm.is-low-power .rwgm__atmosphere,.rwgm.is-low-power .rwgm__weather-layer{display:none!important}
.rwgm.is-low-power .rwgm__phone,.rwgm.is-low-power .rwgm__modal,.rwgm.is-low-power .rwgm__voice-panel{backdrop-filter:none!important}
.rwgm.is-low-power .rwgm__phone-shell,.rwgm.is-low-power .rwgm__modal-card,.rwgm.is-low-power .rwgm__voice-panel{box-shadow:0 8px 24px rgba(0,0,0,.5)!important}

/* v18 aligned utilities, intelligent inventory and phone dispatch */
.rwgm__map-phone{
  position:absolute;z-index:49;left:12px;bottom:126px;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;
  border:2px solid #8c603b;border-radius:12px;background:#34241a;color:#f5d990;font-weight:900;box-shadow:0 5px 0 #160d08;
}
.rwgm__map-phone span{color:#e8ba5b;font-size:18px}
.rwgm__map-phone:hover{background:#4a3422}
@media(max-width:680px){.rwgm__map-phone{position:fixed;z-index:1000024;left:10px;bottom:140px;min-width:112px;min-height:48px}}
.rwgm.is-phone-landscape .rwgm__map-phone{left:max(216px,var(--rwgm-safe-left));bottom:max(10px,var(--rwgm-safe-bottom))}

.rwgm__inventory-list article.is-selected{background:#213528;box-shadow:inset 0 0 0 2px #d5aa50,inset 6px 0 0 #d5aa50}
.rwgm__inventory-inspector{display:grid;gap:9px;padding:10px;clip-path:var(--rwgm-notch);background:#2a1d13;box-shadow:inset 0 0 0 2px #74502e}
.rwgm__inventory-inspector[hidden]{display:none}
.rwgm__inventory-inspector header{display:grid;grid-template-columns:48px 1fr 32px;align-items:center;gap:9px}
.rwgm__inventory-inspector header>div{display:grid}.rwgm__inventory-inspector header small{color:#d4aa58;font-size:8px;font-weight:900;letter-spacing:.14em}.rwgm__inventory-inspector header strong{color:#f3dfae;font:700 16px Georgia,serif}.rwgm__inventory-inspector header em{color:#9d927d;font-size:8px;font-style:normal}
.rwgm__inventory-inspector header>button{width:32px;height:32px;border:0;background:#18100b;color:#d8c39b;font-size:18px}
.rwgm__inventory-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.rwgm__inventory-action-grid button{min-height:38px;border:0;background:#49331f;color:#f1d28a;box-shadow:inset 0 0 0 1px #946a36;font-size:9px;font-weight:900}
.rwgm__inventory-action-grid button.is-drop{background:#44231d;color:#ffc0ae;box-shadow:inset 0 0 0 1px #98584a}
.rwgm__inventory-inspector>label{display:grid;grid-template-columns:1fr 76px;align-items:center;gap:8px;color:#b9aa8d;font-size:9px}.rwgm__inventory-inspector input{width:100%;min-height:36px;padding:5px 7px;border:1px solid #695039;background:#130e0a;color:#f4dfad}.rwgm__inventory-inspector>p{margin:0;color:#918675;font-size:8px;line-height:1.45}

.rwgm__ground-drop{display:grid;place-items:center;min-width:48px;padding:5px;border:2px solid #c79a48;clip-path:var(--rwgm-notch);background:#1e2e24;color:#f4d98e;box-shadow:0 8px 18px rgba(0,0,0,.4)}
.rwgm__ground-drop>span{display:grid;width:31px;height:31px;place-items:center}.rwgm__ground-drop small{max-width:76px;overflow:hidden;font-size:7px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.rwgm__dispatch-vehicle{display:grid;place-items:center;width:72px;height:94px;border:0;background:transparent;filter:drop-shadow(0 8px 7px rgba(0,0,0,.42))}
.rwgm__dispatch-vehicle>span{display:grid;width:64px;height:72px;place-items:center}.rwgm__dispatch-vehicle .rwgm__vehicle-image-wrap{width:64px;height:72px}.rwgm__dispatch-vehicle small{padding:3px 6px;background:#25180f;color:#f4c963;font-size:7px;font-weight:900}
.rwgm__dispatch-vehicle.is-police small,.rwgm__dispatch-vehicle.is-ambulance small,.rwgm__dispatch-vehicle.is-fire small{background:#7a2d28;color:#fff}

.rwgm__phone--worldnet .rwgm__phone-shell{width:min(1120px,calc(100vw - 24px));height:min(820px,calc(100vh - 24px))}
.rwgm__phone-shell>header{display:flex!important;align-items:center!important;justify-content:space-between!important}
.rwgm__phone-shell>nav{display:grid!important;grid-template-columns:repeat(4,1fr)!important}
.rwgm__worldnet{grid-template-columns:170px minmax(0,1fr);gap:12px;min-height:0}
.rwgm__worldnet>aside{gap:4px;padding:2px 6px 8px 0;overflow-x:hidden}
.rwgm__worldnet>aside button{grid-template-columns:32px minmax(0,1fr);min-height:46px;padding:6px 8px;border-radius:0;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.rwgm__worldnet>aside button b{width:30px;height:30px;border-radius:0}.rwgm__worldnet>aside button small{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__worldnet>article{padding:2px 8px 28px}
.rwgm__worldnet>article>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:13px 14px;border-radius:0;clip-path:var(--rwgm-notch)}
.rwgm__worldnet>article>header small,.rwgm__worldnet>article>header h3,.rwgm__worldnet>article>header p{grid-column:1}
.rwgm__worldnet>article>header button{grid-column:2;grid-row:1/4;width:auto!important;height:auto!important;min-height:38px;padding:7px 12px!important;border-radius:0!important}
.rwgm__net-card{grid-template-columns:minmax(0,1fr) repeat(3,auto);gap:7px;padding:10px 12px;border-radius:0;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.rwgm__net-card button{width:auto!important;height:auto!important;min-height:36px;border-radius:0!important}
.rwgm__dispatch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rwgm__dispatch-grid button{display:grid;place-items:center;gap:4px;min-height:150px;border-radius:0!important}.rwgm__dispatch-grid button b{font-size:30px;color:#ef8a68}.rwgm__dispatch-grid button span{font-size:13px}.rwgm__dispatch-grid button small{color:#a69b83;font-size:8px}
.rwgm__net-emergency-head{background:linear-gradient(135deg,#43251f,#201814)!important}

@media(max-width:700px){
  .rwgm__worldnet{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .rwgm__worldnet>aside{display:flex;gap:5px;overflow-x:auto;padding:0 0 6px}
  .rwgm__worldnet>aside button{grid-template-columns:26px auto;min-width:92px}
  .rwgm__worldnet>article{padding-inline:2px}
  .rwgm__dispatch-grid{grid-template-columns:1fr}
  .rwgm__dispatch-grid button{min-height:82px;grid-template-columns:38px 1fr;justify-items:start;text-align:left}.rwgm__dispatch-grid button b{grid-row:1/3}
}

/* v18.2 realistic world scale, smooth dispatch and ride booking */
.rwgm__player-marker:not(.rwgm__player-marker--vehicle){width:38px!important;height:64px!important}
.rwgm__player-marker:not(.rwgm__player-marker--vehicle) .rwgm__avatar-slot{left:1px!important;width:36px!important;height:62px!important}
.rwgm__player-marker:not(.rwgm__player-marker--vehicle) .rwgm__player-shadow{left:8px!important;width:22px!important;height:6px!important}
.rwgm__parked-vehicle{width:56px!important;height:72px!important}
.rwgm__parked-vehicle .rwgm__vehicle-rotor{width:52px!important;height:64px!important}
.rwgm__parked-vehicle .rwgm__vehicle-art-svg{width:48px!important;height:64px!important}
.rwgm__dispatch-vehicle{width:58px!important;height:76px!important;will-change:transform}
.rwgm__dispatch-vehicle>span{width:54px!important;height:64px!important}
.rwgm__dispatch-vehicle .rwgm__vehicle-image-wrap{width:52px!important;height:64px!important}
.rwgm__dispatch-rotor{transform:rotate(var(--rwgm-dispatch-bearing,0deg));transition:transform .12s linear;transform-origin:50% 50%;will-change:transform}
.rwgm__dispatch-vehicle.is-driving .rwgm__veh-wheel{animation:rwgm-wheel-spin .3s linear infinite}
.rwgm__dispatch-vehicle small{position:absolute;bottom:-1px;border-radius:5px;white-space:nowrap}

.rwgm__taxi-booker{display:grid;gap:10px}
.rwgm__taxi-booker>label{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;padding:10px;background:#15231d;color:#b9ad94;font-size:9px;font-weight:900;letter-spacing:.08em}
.rwgm__taxi-booker select,.rwgm__taxi-booker input{min-height:42px;border:1px solid #66503a;background:#0f1915;color:#f1e3be;padding:8px 10px}
.rwgm__taxi-stop{display:grid;grid-template-columns:24px minmax(0,1fr) 54px;align-items:center;gap:8px;padding:8px 9px;border:1px solid #4d5d50;background:#101c17}
.rwgm__taxi-stop>span{color:#72c88d;font-size:14px;text-align:center}.rwgm__taxi-stop.is-destination>span{color:#e1b65b}
.rwgm__taxi-stop>[data-taxi-search-kind]{display:grid!important;gap:2px;min-width:0!important;min-height:46px!important;padding:5px 8px!important;border:0!important;background:transparent!important;text-align:left!important}
.rwgm__taxi-stop>[data-taxi-search-kind].is-active{box-shadow:inset 3px 0 #e4b659}
.rwgm__taxi-stop small{color:#8f9d91;font-size:7px;letter-spacing:.12em}.rwgm__taxi-stop strong{overflow:hidden;color:#f0e5ca;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__taxi-stop>[data-net-action]{min-height:36px!important;padding:5px!important}
.rwgm__taxi-booker form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.rwgm__taxi-results{display:grid;gap:2px;max-height:260px;margin-top:-10px;overflow:auto;border:1px solid #6d563b;border-top:0;background:#0d1713;box-shadow:0 14px 30px rgba(0,0,0,.48);z-index:4}
.rwgm__taxi-results:empty{display:none}
.rwgm__taxi-results button{display:grid!important;gap:2px;min-height:52px!important;padding:8px 10px!important;border:1px solid #445449!important;background:#14241d!important;text-align:left!important}
.rwgm__taxi-results strong{color:#f2d888}.rwgm__taxi-results small{overflow:hidden;color:#a9b3aa;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__ride-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rwgm__ride-types button{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:6px;min-height:72px!important;padding:8px!important;text-align:left!important}
.rwgm__ride-types b{font-size:24px}.rwgm__ride-types span{display:grid;color:#f2d88c;font-weight:900}.rwgm__ride-types small{color:#9fa99f;font-size:7px;font-weight:700}
.rwgm__taxi-live{display:grid;gap:10px}.rwgm__taxi-progress{height:8px;overflow:hidden;background:#26342d}.rwgm__taxi-progress i{display:block;width:var(--progress,0%);height:100%;background:linear-gradient(90deg,#62bb7e,#e2bb61);transition:width 1s linear}
.rwgm__phone-friends button{display:grid!important;gap:2px;text-align:left!important}
.rwgm__phone-friends button>b{color:#73c88f;font-size:7px}.rwgm__phone-friends button>small{max-width:180px;overflow:hidden;color:#978f7f;font-size:7px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__phone-thread>div>span{display:block}.rwgm__phone-thread .is-received{border-left:3px solid #66b985;background:#172a20}
@media(max-width:700px){.rwgm__ride-types{grid-template-columns:1fr}.rwgm__taxi-stop{grid-template-columns:20px minmax(0,1fr) 48px}}
@media(prefers-reduced-motion:reduce){.rwgm__dispatch-rotor,.rwgm__taxi-progress i{transition:none}.rwgm__dispatch-vehicle.is-driving .rwgm__veh-wheel{animation:none}}

/* v18.3 full workbench */
.rwgm__craft-open{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:2px 9px;width:100%;min-height:62px;padding:10px 12px;border:2px solid #8a6234;background:linear-gradient(135deg,#3d2918,#24180f);color:#f4d278;text-align:left;box-shadow:0 4px 0 #120b07}
.rwgm__craft-open>span{grid-row:1/3;display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#6e4b26;font-size:18px}.rwgm__craft-open>b{font-size:12px}.rwgm__craft-open>small{color:#b6a486;font-size:8px}
.rwgm__craft-modal{z-index:1000060!important}.rwgm__craft-card{width:min(980px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 28px));overflow:auto}
.rwgm__craft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rwgm__craft-grid article{display:grid;align-content:start;gap:12px;min-height:260px;padding:16px;border:2px solid #685038;background:linear-gradient(145deg,#17251f,#111a16)}
.rwgm__craft-grid article.is-ready{border-color:#4fa873;box-shadow:inset 0 4px 0 #4fa873}.rwgm__craft-grid article.is-missing{border-color:#9b4e47;box-shadow:inset 0 4px 0 #9b4e47}
.rwgm__craft-grid article>header{display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:0!important;background:transparent!important}
.rwgm__craft-grid article>header>span{display:grid;width:64px;height:64px;place-items:center;border:1px solid #775b38;background:#2c2118;font-size:34px}
.rwgm__craft-grid article>header div{display:grid;align-content:start;gap:3px}.rwgm__craft-grid article>header small{color:#69c58a;font-size:8px;font-weight:900;letter-spacing:.1em}.rwgm__craft-grid article.is-missing>header small{color:#e0766e}.rwgm__craft-grid article>header strong{color:#f4d98e;font-size:18px}.rwgm__craft-grid article>header p{margin:2px 0 0;color:#aeb8af;font-size:10px;line-height:1.45}
.rwgm__ingredient-list{display:grid;gap:6px}.rwgm__ingredient-list>span{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:7px 10px;border:1px solid}.rwgm__ingredient-list b{font-size:10px}.rwgm__ingredient-list small{font-size:10px;font-weight:900}.rwgm__ingredient-list .has-item{border-color:#3c8d61;background:#173526;color:#8be0aa}.rwgm__ingredient-list .needs-item{border-color:#8f4741;background:#351c1a;color:#ff9f95}
.rwgm__craft-grid article>button{min-height:46px;border:0;background:#427e58;color:#f0fff4;font-weight:900}.rwgm__craft-grid article>button:disabled{background:#552c28;color:#d99a94;cursor:not-allowed}
@media(max-width:700px){.rwgm__craft-grid{grid-template-columns:1fr}.rwgm__craft-grid article{min-height:0}.rwgm__craft-card{padding:12px}}

/* v18.4 visible equipment */
.rwgm__equipped-hand{position:absolute;z-index:5;right:-8px;top:47%;display:grid;width:24px;height:34px;place-items:center;font-size:23px;line-height:1;filter:drop-shadow(0 3px 2px rgba(0,0,0,.5));transform:rotate(-24deg);transform-origin:50% 80%;pointer-events:none}
.rwgm__player-marker.is-walking .rwgm__equipped-hand{animation:rwgm-equipped-swing .34s ease-in-out infinite alternate}
.rwgm__equipped-hand[hidden],.rwgm__player-marker--vehicle .rwgm__equipped-hand{display:none!important}
@keyframes rwgm-equipped-swing{from{transform:rotate(-34deg)}to{transform:rotate(-10deg)}}
@media(prefers-reduced-motion:reduce){.rwgm__player-marker.is-walking .rwgm__equipped-hand{animation:none}}

/* v18.4 banking and investments */
.rwgm__bank-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #526255;background:#111e18}.rwgm__bank-controls label{display:grid;gap:5px;color:#a9b2a8;font-size:8px;font-weight:900}.rwgm__bank-controls input,.rwgm__bank-controls select{min-height:40px;padding:7px;border:1px solid #6d573c;background:#0c1511;color:#f2dfb1}.rwgm__bank-controls button{min-height:42px}
.rwgm__bank-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rwgm__bank-account{display:grid;gap:8px;padding:12px;border:1px solid #526255;background:#14231c}.rwgm__bank-account.is-active{border-color:#d1a956;box-shadow:inset 4px 0 #d1a956}.rwgm__bank-account header{display:flex!important;justify-content:space-between!important;padding:0!important;background:transparent!important}.rwgm__bank-account header span{display:grid}.rwgm__bank-account header small{color:#72c48c;font-size:7px}.rwgm__bank-account header strong{color:#f2d98e}.rwgm__bank-account header>b{color:#71c893}.rwgm__bank-account p{min-height:30px;margin:0;color:#aeb6ad;font-size:9px}.rwgm__bank-account>div{display:grid;gap:7px}.rwgm__bank-account>div small{color:#9c907b;font-size:8px}.rwgm__bank-account button{min-height:36px}
.rwgm__stock-list{display:grid;gap:5px}.rwgm__stock-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:10px;border:1px solid #45564b;background:#101c17}.rwgm__stock-row>span{display:grid}.rwgm__stock-row strong{color:#edd185;font-size:10px}.rwgm__stock-row small{color:#9faaa1;font-size:8px}.rwgm__stock-row button{min-height:34px!important}
@media(max-width:700px){.rwgm__bank-controls,.rwgm__bank-accounts{grid-template-columns:1fr}.rwgm__stock-row{grid-template-columns:minmax(0,1fr) auto}.rwgm__stock-row button+button{grid-column:2}}


/* v18.5 regional transit, growth and Foodie */
.rwgm__player-marker{z-index:99999!important}
.rwgm__tree-marker.is-sapling .rwgm__tree-crown{transform:scale(.38)!important;transform-origin:center bottom;filter:saturate(.75)}
.rwgm__tree-marker.is-tree .rwgm__tree-crown{transform:scale(.78)!important;transform-origin:center bottom}
.rwgm__tree-marker.is-flowered .rwgm__tree-crown{filter:drop-shadow(0 0 5px #ffd6df)}
.rwgm__tree-marker.is-flowered .rwgm__tree-crown i{background:#ffd2e5!important;border-color:#fff!important}
.rwgm__tree-marker:not(.is-fruit) .rwgm__tree-crown i{opacity:.75}
.rwgm__tree-growth{margin:7px 0;padding:7px;border:1px solid #55715d;background:#12251b;color:#b9dfb9;font-size:11px}
.rwgm__ride-types{grid-template-columns:repeat(4,minmax(0,1fr))}
.rwgm__nearby-depots,.rwgm__bus-plan,.rwgm__foodie-group{display:grid;gap:7px;margin:10px 0;padding:10px;border:1px solid #536a59;background:#102017}
.rwgm__nearby-depots>button{display:flex!important;justify-content:space-between;min-height:38px!important;text-align:left!important}.rwgm__nearby-depots>button.is-active{border-color:#f0c45c!important;background:#26331f!important}
.rwgm__bus-plan header{display:grid;gap:3px}.rwgm__bus-plan header b{color:#f2d888}.rwgm__bus-plan header span,.rwgm__bus-plan p{color:#aebaae;font-size:10px}.rwgm__bus-plan>div{display:flex;gap:6px}.rwgm__bus-plan time{padding:5px 8px;border:1px solid #7b6540;background:#241b11;color:#ffe29a;font-weight:800}
.rwgm__foodie-cart{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px;border:2px solid #d89d3b;background:#18271d;box-shadow:0 8px 18px rgba(0,0,0,.35)}.rwgm__foodie-cart b{color:#ffe49a}.rwgm__foodie-cart span{font-size:10px;color:#b7c1b7}
.rwgm__foodie-group h4{margin:0;color:#f2d888}.rwgm__foodie-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.rwgm__foodie-group article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px;padding:8px;border:1px solid #425648;background:#14271c}.rwgm__foodie-group article span{display:grid}.rwgm__foodie-group article small{color:#aeb9ad}
@media(max-width:700px){.rwgm__ride-types,.rwgm__foodie-group>div{grid-template-columns:1fr}.rwgm__foodie-cart{grid-template-columns:1fr auto}}

/* v18.6 banking, inventory, mobile and road alignment */
.rwgm__save{display:inline-grid!important;width:12px!important;height:12px!important;min-width:12px!important;padding:0!important;border:2px solid #23372c;border-radius:50%!important;clip-path:none!important;background:#788176!important;color:transparent!important;font-size:0!important;box-shadow:0 0 0 3px rgba(120,129,118,.12)}
.rwgm__save[data-state="busy"],.rwgm__save[data-state="idle"]{background:#e4b94f!important;box-shadow:0 0 0 3px rgba(228,185,79,.16)}
.rwgm__save[data-state="ok"]{background:#60c77b!important;box-shadow:0 0 0 3px rgba(96,199,123,.16)}
.rwgm__save[data-state="error"]{background:#d96658!important;box-shadow:0 0 0 3px rgba(217,102,88,.16)}
.rwgm__inventory-summary{grid-template-columns:minmax(0,1fr) 46px!important;align-items:center!important;padding:12px 14px!important}
.rwgm__capacity-copy{display:grid!important;grid-template-columns:1fr!important;align-content:center;gap:4px!important;min-width:0}.rwgm__capacity-copy strong{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.rwgm__capacity-copy strong>b{font-size:22px;line-height:1}.rwgm__capacity-copy strong>em{font-size:10px!important}.rwgm__capacity-rune{justify-self:end}
.rwgm__quantity-slider{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:9px;border:1px solid #5c4c3b;background:#17110d}.rwgm__quantity-slider>span{display:flex;justify-content:space-between;color:#e7cb84!important}.rwgm__quantity-slider output{color:#72cd8e;font-weight:900}.rwgm__quantity-slider input[type="range"]{min-height:24px!important;padding:0!important;accent-color:#e3b95b}
.rwgm__drop-picker{gap:6px!important}.rwgm__drop-choice{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:7px;text-align:left!important}.rwgm__drop-choice>span{font-size:20px}.rwgm__drop-choice>small{color:#e6c76e!important}
.rwgm__player-marker.is-hammering .rwgm__equipped-hand{animation:rwgm-hammer-use .56s cubic-bezier(.25,.8,.35,1)}.rwgm__player-marker.is-chopping .rwgm__equipped-hand{animation:rwgm-axe-use .56s cubic-bezier(.25,.8,.35,1)}.rwgm__player-marker.is-consuming .rwgm__equipped-hand,.rwgm__player-marker.is-drinking .rwgm__equipped-hand,.rwgm__player-marker.is-treating .rwgm__equipped-hand{display:block!important;animation:rwgm-consume-use .56s ease-in-out}.rwgm__player-marker.is-using-item .rwgm__avatar-slot{animation:rwgm-use-body .28s ease-in-out 2 alternate}
@keyframes rwgm-hammer-use{0%{transform:rotate(-30deg) translateY(0)}45%{transform:rotate(75deg) translate(6px,8px)}100%{transform:rotate(-18deg)}}@keyframes rwgm-axe-use{0%{transform:rotate(-65deg) translate(-4px,-8px)}55%{transform:rotate(85deg) translate(8px,10px)}100%{transform:rotate(-25deg)}}@keyframes rwgm-consume-use{0%,100%{transform:translate(0,0) rotate(0)}45%,70%{transform:translate(-8px,-24px) rotate(-20deg)}}@keyframes rwgm-use-body{to{transform:rotate(4deg) translateY(2px)}}
.rwgm__bank-nav{position:sticky;top:78px;z-index:3;display:flex!important;grid-template-columns:none!important;gap:6px;overflow-x:auto;margin:0 0 10px;padding:7px!important;border:1px solid #536357;background:#0c1712}.rwgm__bank-nav button{flex:0 0 auto;min-width:96px;min-height:38px!important}.rwgm__bank-nav button.is-active{border-color:#e2b95d!important;background:#5b4225!important;color:#fff0bb!important}.rwgm__bank-notice{padding:14px;border-left:4px solid #6ac98a;background:#15271d}.rwgm__bank-notice b{color:#8bd9a3}.rwgm__bank-notice p{margin:5px 0 0;color:#b4c0b5;font-size:10px}
.rwgm__dispatch-vehicle{width:58px!important;height:64px!important}.rwgm__dispatch-vehicle>span{position:absolute;inset:0;width:58px!important;height:64px!important}.rwgm__dispatch-vehicle .rwgm__vehicle-image-wrap{width:54px!important;height:64px!important}.rwgm__dispatch-vehicle small{bottom:0!important;transform:translateY(100%)}
@media(max-width:700px){.rwgm__phone--worldnet main{padding:5px!important}.rwgm__worldnet{gap:6px!important}.rwgm__worldnet>aside{display:grid!important;grid-template-columns:repeat(4,minmax(74px,1fr));gap:5px!important;max-height:116px;overflow-y:auto!important;overflow-x:hidden!important;padding:3px!important;border:1px solid #3e5045;background:#0c1511}.rwgm__worldnet>aside button{grid-template-columns:24px minmax(0,1fr)!important;min-width:0!important;min-height:48px!important;padding:5px!important}.rwgm__worldnet>aside button small{font-size:8px!important}.rwgm__worldnet>article{padding:0 2px 24px!important}.rwgm__worldnet>article>header{position:relative!important;top:auto!important}.rwgm__bank-nav{top:0}.rwgm__bank-accounts{grid-template-columns:1fr!important}}
@media(max-width:430px){.rwgm__worldnet>aside{grid-template-columns:repeat(3,minmax(82px,1fr));max-height:110px}.rwgm__phone-shell>header{padding:10px 12px!important}.rwgm__phone-shell>nav{min-height:48px}.rwgm__phone nav button{min-height:44px!important}.rwgm__net-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rwgm__net-grid button{min-height:72px!important}}
.rwgm__stock-card{grid-template-columns:minmax(180px,1fr) 150px 120px auto 120px auto!important}.rwgm__stock-spark{width:145px;height:42px;overflow:visible}.rwgm__stock-spark polyline{fill:none;stroke-width:3;vector-effect:non-scaling-stroke}.rwgm__stock-spark.is-up polyline{stroke:#5ed184}.rwgm__stock-spark.is-down polyline{stroke:#e46659}.rwgm__stock-card label{display:grid;gap:3px;color:#aeb8ae;font-size:8px}.rwgm__stock-card input{min-height:34px;padding:5px;border:1px solid #66513b;background:#0b1510;color:#f5dfab}
@media(max-width:800px){.rwgm__stock-card{grid-template-columns:minmax(0,1fr) auto!important}.rwgm__stock-card .rwgm__stock-spark{grid-column:1/-1;width:100%}.rwgm__stock-card label{grid-column:1}.rwgm__stock-card label+button{grid-column:2}}
.rwgm__nearby-drivers,.rwgm__driver-work,.rwgm__meds-order{display:grid;gap:7px;margin:9px 0;padding:10px;border:1px solid #4b6152;background:#112019}.rwgm__nearby-drivers>small,.rwgm__driver-work>small{color:#8fc79f;font-size:8px;font-weight:900}.rwgm__nearby-drivers>button{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;text-align:left!important}.rwgm__nearby-drivers>button.is-active{border-color:#e5ba5b!important;background:#523d24!important}.rwgm__nearby-drivers em{color:#93a89a;font-size:8px}.rwgm__driver-work>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.rwgm__meds-order{grid-template-columns:48px minmax(0,1fr) 110px auto;align-items:center}.rwgm__meds-order>span{font-size:32px}.rwgm__meds-order>div{display:grid}.rwgm__meds-order small{color:#9eafa2}.rwgm__meds-order label{display:grid;gap:3px;font-size:8px}.rwgm__meds-order input{min-height:38px}
@media(max-width:700px){.rwgm__driver-work>div{grid-template-columns:repeat(2,1fr)}.rwgm__meds-order{grid-template-columns:42px 1fr}.rwgm__meds-order label,.rwgm__meds-order>button{grid-column:1/-1}}
/* v18.7 service, tuning and health overlays */
.rwgm__fuel-control{display:grid;gap:7px;padding:10px;border:1px solid #7d6847;background:#15251d;color:#eee1bd}.rwgm__fuel-control span{display:flex;justify-content:space-between}.rwgm__fuel-control input{width:100%;accent-color:#e8ba5b}.rwgm__fuel-control small{color:#8fd6a8;font-weight:800}.rwgm__fuel-control button{min-height:38px;background:#4a3422;color:#ffe1a1;border:1px solid #a27744}
.rwgm__workshop-modal,.rwgm__health-progress-modal{position:fixed;inset:0;z-index:1000060;background:#07100ddd;display:grid;place-items:center;padding:18px}.rwgm__workshop-modal[hidden],.rwgm__health-progress-modal[hidden]{display:none}.rwgm__workshop-modal>section,.rwgm__health-progress-modal>section{width:min(760px,96vw);max-height:88vh;overflow:auto;background:#0c1a14;border:2px solid #a27744;box-shadow:0 24px 80px #000b;padding:16px;color:#eee1bd}.rwgm__workshop-modal>section>header,.rwgm__health-progress-modal>section>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #395443;padding-bottom:12px}.rwgm__workshop-modal h3,.rwgm__health-progress-modal h3{margin:2px 0;font-size:25px}.rwgm__workshop-modal header button,.rwgm__health-progress-modal header button{width:42px;height:42px;background:#301d14;border:1px solid #80593a;color:#fff;font-size:24px}.rwgm__workshop-modal article,.rwgm__health-progress-modal article{margin-top:12px;padding:13px;border:1px solid #395443;background:#12261c}.rwgm__workshop-modal article header{display:flex;justify-content:space-between}.rwgm__tune-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.rwgm__tune-grid button{display:flex;justify-content:space-between;gap:6px;min-height:42px;padding:8px;background:#2c2117;border:1px solid #80593a;color:#f7d78b}.rwgm__health-progress-modal article i{display:block;height:10px;background:#08100c;margin:10px 0}.rwgm__health-progress-modal article i em{display:block;height:100%;background:linear-gradient(90deg,#53b47a,#d5bd5b)}.rwgm__health-progress-modal p{color:#b8c8bb;line-height:1.55}
.rwgm__public-service.is-workshop span{font-size:18px}.rwgm__map-phone span{font-size:22px;filter:drop-shadow(0 2px 2px #0008)}
@media(max-width:680px){.rwgm__tune-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwgm__workshop-modal,.rwgm__health-progress-modal{padding:6px}.rwgm__workshop-modal>section,.rwgm__health-progress-modal>section{width:100%;max-height:94vh;padding:12px}}


/* v18.7.1 map HUD cleanup and booking-only taxi work */
.rwgm__coords,.rwgm .maplibregl-ctrl-attrib{display:none!important}
.rwgm__save{display:inline-flex;max-width:190px;align-items:center;justify-content:flex-end;white-space:normal;text-align:right;line-height:1.25}
.rwgm__save:not([data-state="error"]){width:9px;height:9px;border-radius:50%;background:#d8ad48;font-size:0}
.rwgm__save[data-state="ok"]{background:#62c58c}.rwgm__save[data-state="error"]{padding:6px 8px;border:1px solid #a74949;border-radius:8px;background:#35191b;color:#ffd0d0;font-size:10px;font-weight:800}
.rwgm__vehicle-hud--map{position:absolute;z-index:48;right:12px;bottom:12px;width:min(260px,calc(100% - 24px));padding:10px;border:1px solid #9a7744;border-radius:12px;background:rgba(12,24,19,.94);box-shadow:0 12px 34px #0008;backdrop-filter:blur(12px)}
.rwgm__vehicle-hud--map[hidden]{display:none}.rwgm__vehicle-hud--map .rwgm__vehicle-hud-title{display:flex;justify-content:space-between;gap:10px}.rwgm__vehicle-hud--map .rwgm__vehicle-hud-title>span:first-child{display:grid}.rwgm__vehicle-hud--map small{color:#a9b9ae}.rwgm__vehicle-hud--map .rwgm__speedometer{display:flex;align-items:baseline;gap:4px}.rwgm__vehicle-hud--map .rwgm__speedometer strong{font-size:25px;color:#f3d27d}.rwgm__vehicle-hud--map .rwgm__speed-track,.rwgm__vehicle-hud--map .rwgm__energy-track{height:5px;margin:6px 0;background:#07100d}.rwgm__vehicle-hud--map .rwgm__speed-track span,.rwgm__vehicle-hud--map .rwgm__energy-track span{display:block;height:100%;background:#d9ad50}.rwgm__vehicle-hud--map .rwgm__vehicle-telemetry,.rwgm__vehicle-hud--map .rwgm__energy-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px}.rwgm__vehicle-hud--map .rwgm__light-toggle{min-height:28px;padding:3px 7px}
.rwgm.is-android .rwgm__mobile-commandbar{display:none!important}.rwgm.is-android .rwgm__map-phone{bottom:max(12px,var(--rwgm-safe-bottom))!important}
.rwgm.is-android .rwgm__joystick{bottom:max(74px,var(--rwgm-safe-bottom))!important}
@media(max-width:680px){.rwgm__vehicle-hud--map{right:8px;bottom:8px;width:210px;padding:8px}.rwgm__vehicle-hud--map .rwgm__vehicle-hud-title>span:first-child{display:none}.rwgm__vehicle-hud--map .rwgm__vehicle-telemetry{display:none}.rwgm.is-android .rwgm__vehicle-hud--map{bottom:max(8px,var(--rwgm-safe-bottom))}}

.rwgm__taxi-map-notice{position:absolute;z-index:52;left:50%;bottom:14px;transform:translateX(-50%);min-height:44px;padding:9px 15px;border:2px solid #d6ad55;border-radius:13px;background:#3e2b1c;color:#ffe8a6;font-weight:900;box-shadow:0 10px 30px #0009}.rwgm__taxi-map-notice[hidden]{display:none}.rwgm__taxi-order{display:grid;gap:6px;margin-top:8px;padding:10px;border:1px solid #b98b48;background:#1e2d24}.rwgm__taxi-order small{color:#b9c7bc}.rwgm__driver-work button.is-active{outline:2px solid #f0cc74;background:#604526}

/* v18.8 interface foundation */
.rwgm{--rwgm-space-1:4px;--rwgm-space-2:8px;--rwgm-space-3:12px;--rwgm-space-4:16px;--rwgm-space-5:24px;--rwgm-radius-sm:8px;--rwgm-radius-lg:14px;--rwgm-touch:44px;--rwgm-layer-hud:20;--rwgm-layer-panel:40;--rwgm-layer-modal:80;--rwgm-safe-top:env(safe-area-inset-top,0px);--rwgm-safe-right:env(safe-area-inset-right,0px);--rwgm-safe-bottom:env(safe-area-inset-bottom,0px);--rwgm-safe-left:env(safe-area-inset-left,0px);line-height:1.45;isolation:isolate}
.rwgm button,.rwgm [role="button"]{min-inline-size:var(--rwgm-touch);min-block-size:var(--rwgm-touch)}
.rwgm [hidden]{display:none!important}.rwgm__sr-status{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rwgm__stage{min-height:min(72dvh,760px);max-height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 24px)}
.rwgm[data-viewport="compact"] .rwgm__toolbar{padding:calc(var(--rwgm-space-2) + var(--rwgm-safe-top)) calc(var(--rwgm-space-2) + var(--rwgm-safe-right)) var(--rwgm-space-2) calc(var(--rwgm-space-2) + var(--rwgm-safe-left));gap:var(--rwgm-space-2)}
.rwgm[data-viewport="compact"] .rwgm__brand span{display:none}.rwgm[data-viewport="compact"] .rwgm__actions{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.rwgm[data-pointer="coarse"] input[type="range"]{min-height:var(--rwgm-touch)}
@media(max-width:680px){.rwgm__workspace{grid-template-columns:1fr}.rwgm__sidebar{max-height:min(38dvh,360px);overflow:auto;overscroll-behavior:contain}.rwgm__stage{height:62dvh;min-height:420px}.rwgm__modal,.rwgm__sheet{max-width:calc(100vw - var(--rwgm-safe-left) - var(--rwgm-safe-right) - 16px);max-height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 16px);overflow:auto}}
@media(max-height:520px) and (orientation:landscape){.rwgm__stage{height:calc(100dvh - 8px);min-height:320px}.rwgm__toolbar{position:absolute;inset:var(--rwgm-safe-top) var(--rwgm-safe-right) auto var(--rwgm-safe-left);z-index:var(--rwgm-layer-hud);background:linear-gradient(180deg,rgba(8,13,18,.96),rgba(8,13,18,.72))}.rwgm__sidebar{position:absolute;right:var(--rwgm-safe-right);top:64px;bottom:calc(var(--rwgm-safe-bottom) + 8px);width:min(330px,42vw);z-index:var(--rwgm-layer-panel);overflow:auto}}
@media(prefers-reduced-motion:reduce){.rwgm *,.rwgm *::before,.rwgm *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* v18.9 reliable interaction states */
.rwgm [aria-busy="true"],.rwgm[data-action-state="pending"] [data-action-state]{cursor:progress}.rwgm .is-pending{opacity:.76;pointer-events:none}.rwgm .is-success{outline:2px solid #69d69d}.rwgm .is-failure{outline:2px solid var(--rwgm-danger)}.rwgm button:disabled{cursor:not-allowed;opacity:.48}.rwgm__status-error{color:#ffd1d1;background:#531f27;border:1px solid #a84552;padding:var(--rwgm-space-3);border-radius:var(--rwgm-radius-sm)}

/* v18.11 cross-system HUD feedback */
.rwgm__system-strip{display:flex;gap:var(--rwgm-space-2);overflow-x:auto;padding:var(--rwgm-space-2);scroll-snap-type:x proximity}.rwgm__system-strip>*{scroll-snap-align:start;flex:0 0 auto}.rwgm[data-transaction-state="failure"] .rwgm__wallet{animation:rwgm-error-pulse .28s ease-out}@keyframes rwgm-error-pulse{50%{box-shadow:0 0 0 3px rgba(239,141,141,.55)}}

/* v18.13 integrated contextual objective */
.rwgm__objective{position:absolute;left:calc(var(--rwgm-safe-left) + 12px);bottom:calc(var(--rwgm-safe-bottom) + 12px);z-index:var(--rwgm-layer-hud);display:grid;grid-template-columns:1fr auto;gap:2px 12px;max-width:min(360px,calc(100% - 24px));padding:10px 12px;border:1px solid var(--rwgm-border);border-radius:var(--rwgm-radius-lg);background:rgba(10,16,22,.9);backdrop-filter:blur(8px)}.rwgm__objective span{grid-column:1;color:var(--rwgm-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.rwgm__objective strong{grid-column:1}.rwgm__objective button{grid-column:2;grid-row:1/3;background:transparent;color:var(--rwgm-ink);border:0}@media(max-width:680px){.rwgm__objective{bottom:calc(var(--rwgm-safe-bottom) + 72px)}}

/* v18.14 performance, accessibility and release hardening */
.rwgm[data-runtime="hidden"] canvas{visibility:hidden}.rwgm[data-low-power="true"]{--rwgm-panel:rgba(12,18,24,.98)}.rwgm[data-low-power="true"] *{backdrop-filter:none!important;box-shadow:none!important}.rwgm :focus-visible{outline:3px solid var(--rwgm-accent);outline-offset:3px}.rwgm [aria-disabled="true"]{pointer-events:none;opacity:.5}@media(forced-colors:active){.rwgm button,.rwgm input,.rwgm select{border:1px solid ButtonText}.rwgm :focus-visible{outline:3px solid Highlight}}


/* 18.14.4: explicit overlay hierarchy and safe-area containment. */
.rwgm{isolation:isolate}.rwgm__phone{z-index:1000040;padding:max(12px,var(--rwgm-safe-top)) max(12px,var(--rwgm-safe-right)) max(12px,var(--rwgm-safe-bottom)) max(12px,var(--rwgm-safe-left));overscroll-behavior:contain}.rwgm__phone-shell{max-width:calc(100vw - var(--rwgm-safe-left) - var(--rwgm-safe-right) - 24px);max-height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 24px)}
@media(max-width:430px){.rwgm__phone{padding:var(--rwgm-safe-top) var(--rwgm-safe-right) var(--rwgm-safe-bottom) var(--rwgm-safe-left)}.rwgm__phone-shell{width:calc(100vw - var(--rwgm-safe-left) - var(--rwgm-safe-right));height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom));max-width:none;max-height:none}}
@media(orientation:landscape) and (max-height:500px){.rwgm__phone--worldnet .rwgm__phone-shell{width:calc(100vw - var(--rwgm-safe-left) - var(--rwgm-safe-right));height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom));max-width:none;max-height:none}.rwgm__worldnet{min-height:calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 16px)}}

/* 18.14.5: Android soft-keyboard viewport recovery. */
.rwgm__phone-shell{max-height:min(calc(100dvh - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 24px),calc(var(--rwgm-visual-height,100dvh) - var(--rwgm-safe-top) - var(--rwgm-safe-bottom) - 24px))}
@media(max-width:430px){.rwgm__phone-shell{height:calc(var(--rwgm-visual-height,100dvh) - var(--rwgm-safe-top) - var(--rwgm-safe-bottom));max-height:none}}

/* 18.14.6: keep keyboard focus visible above mobile keyboards and nested phone scrollers. */
.rwgm__phone :focus{scroll-margin:14px}
.rwgm__phone main,.rwgm__worldnet>article{overscroll-behavior:contain;scroll-padding:14px}

.rwgm__player-direction{position:absolute;z-index:56;width:46px;height:46px;display:grid;place-items:center;border:2px solid #f0cc74;border-radius:50%;background:#352516;color:#ffe39a;font-size:23px;line-height:1;box-shadow:0 7px 20px rgba(0,0,0,.5);cursor:pointer}.rwgm__player-direction[hidden]{display:none}
.rwgm__taxi-subnav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}.rwgm__taxi-subnav button{min-height:46px;border:1px solid #725134;border-radius:10px;background:#2d2119;color:#e8d5ad;font-weight:900}.rwgm__taxi-subnav button.is-active{border-color:#e2b758;background:#5a4022;color:#fff1bd}

/* Android: keep the map phone control unobstructed; the former bottom command bar is intentionally retired. */
.rwgm__mobile-commandbar{display:none!important}

/* v18.15 organized builder */
.rwgm__objective{display:none!important}
.rwgm__blueprint-categories{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:thin}.rwgm__blueprint-categories button{min-height:42px;padding:8px 13px;border:1px solid #42554d;border-radius:999px;background:#13201c;color:#bfcac3;font-weight:850;white-space:nowrap}.rwgm__blueprint-categories button.is-active{border-color:#e2b85f;background:#624722;color:#fff1bd}.rwgm__blueprints{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;max-height:min(44vh,430px)!important}.rwgm__blueprint{grid-template-columns:52px 1fr!important;min-height:70px!important}.rwgm__blueprint>span{width:48px!important;height:48px!important;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#244e32,#183124);font-size:27px!important}.rwgm__blueprint strong{font-size:13px}.rwgm__blueprint small{font-size:9px}

.rwgm__property-owner{position:absolute;left:50%;top:-34px;display:flex;align-items:center;gap:5px;max-width:150px;padding:4px 7px;border:1px solid #d7ae59;border-radius:999px;background:#211810;color:#ffe4a2;font:800 9px var(--rwgm-font-sans,system-ui);white-space:nowrap;transform:translateX(-50%)}.rwgm__property-owner span{display:grid;width:22px;height:22px;place-items:center;overflow:visible}.rwgm__property-owner svg{width:22px;height:24px}

/* v18.15 organized construction, logistics, storage and contracts */
.rwgm__market-subnav{display:flex;gap:6px;overflow-x:auto;margin:0 0 10px;padding:4px;border:1px solid #485b4d;background:#101b17}.rwgm__market-subnav button{flex:1 0 130px;min-height:42px}.rwgm__market-subnav button.is-active{border-color:#e7bd59;background:#5a4225;color:#fff0bd}.rwgm__delivery-target{display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:10px;margin:8px 0;padding:10px;border:1px solid #485b4d}.rwgm__public-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rwgm__public-catalog article{display:grid;grid-template-columns:34px minmax(0,1fr) 70px auto;align-items:center;gap:7px;padding:9px;border:1px solid #46594b;background:#111c18}.rwgm__public-catalog article>span{font-size:24px}.rwgm__public-catalog article>div{display:grid}.rwgm__public-catalog small{color:#9caf9f}.rwgm__storage-location{margin:8px 0;padding:10px;border:1px solid #46594b;background:#101b17}.rwgm__storage-location>header{display:flex;justify-content:space-between;color:#f5e4b1}.rwgm__storage-location article{display:grid;grid-template-columns:minmax(110px,1fr) minmax(140px,1fr) auto;gap:7px;align-items:center;margin-top:7px}.rwgm__lease-form{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:6px}.rwgm__lease-form button{grid-column:1/-1}.rwgm__logistics-truck{display:grid;place-items:center;min-width:54px;padding:3px 6px;border:1px solid #d8ad53!important;border-radius:10px!important;background:#2c2118!important;box-shadow:0 3px 10px #0008;color:#fff!important}.rwgm__logistics-truck span{font-size:24px}.rwgm__logistics-truck small{font-size:8px;line-height:1.2}.rwgm__property-owner{display:flex;align-items:center;gap:3px;max-width:130px;padding:2px 5px;border-radius:8px;background:#111d;color:#fff;font:700 8px Arial}.rwgm__property-owner span{display:grid;width:16px;height:16px;overflow:hidden;border-radius:50%}.rwgm__property-owner svg{width:16px;height:16px}
@media(max-width:700px){.rwgm__public-catalog{grid-template-columns:1fr}.rwgm__public-catalog article{grid-template-columns:32px minmax(0,1fr) 64px}.rwgm__public-catalog article button{grid-column:2/-1}.rwgm__storage-location article{grid-template-columns:1fr}.rwgm__lease-form{grid-template-columns:1fr}.rwgm__delivery-target{grid-template-columns:1fr}}
.rwgm__remote-property{display:grid;grid-template-columns:24px auto;grid-template-rows:auto auto;align-items:center;gap:0 5px;max-width:170px;padding:4px 7px!important;border:1px solid #d6ad53!important;border-radius:9px!important;background:#171d19e8!important;box-shadow:0 3px 10px #0008;color:#fff!important;text-align:left!important}.rwgm__remote-property>span{grid-row:1/3;display:grid;place-items:center;width:24px;height:24px;overflow:hidden;border-radius:50%;background:#5a4225}.rwgm__remote-property img{width:100%;height:100%;object-fit:cover}.rwgm__remote-property strong,.rwgm__remote-property small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rwgm__remote-property strong{font-size:9px}.rwgm__remote-property small{font-size:7px;color:#e8ca82}

/* v18.15.1 property action wheel and visible site state */
.rwgm__building-marker{position:relative}.rwgm__build-phase{position:absolute;top:-9px;right:-9px;display:grid;place-items:center;min-width:25px;height:20px;padding:0 4px;border:2px solid #20150d;border-radius:10px;background:#e9b94f;color:#21170d;font:900 9px Arial}.rwgm__site-resources{position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);padding:2px 5px;border-radius:7px;background:#101916e8;color:#e9d28b;font:700 8px Arial;white-space:nowrap}
.rwgm__recipient-picker,.rwgm__transfer-composer,.rwgm__neft{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:8px 0;padding:10px;border:1px solid #536456;background:#101b17}.rwgm__recipient-picker label,.rwgm__transfer-composer label,.rwgm__transfer-composer h4,.rwgm__neft>p,.rwgm__neft>strong{grid-column:1/-1}.rwgm__recipient-picker>button[data-player-result]{grid-column:1/-1;display:grid;grid-template-columns:32px 1fr;text-align:left}.rwgm__recipient-picker img{width:28px;height:28px;border-radius:50%;object-fit:cover}.rwgm__neft>button[data-player-result]{display:grid;text-align:left}.rwgm__transfer-composer>button[data-net-action]{grid-column:1/-1}

.rwgm__logistics-truck img{display:block;width:48px;height:30px;object-fit:contain}.rwgm__logistics-truck span{font-size:0}


/* v18.15.2 live trip progress and shared vehicle presence */
.rwgm__dispatch-trip-stats,.rwgm__vehicle-trip-stats{position:absolute;left:calc(100% + 8px);top:50%;z-index:6;display:block;min-width:max-content;padding:5px 7px;border:1px solid #b58a42;border-radius:6px;background:rgba(22,15,10,.94);color:#fff2c4;font:900 8px/1.25 system-ui,sans-serif;letter-spacing:.025em;white-space:nowrap;box-shadow:0 5px 12px rgba(0,0,0,.35);transform:translateY(-50%);pointer-events:none}
.rwgm__vehicle-trip-stats[hidden]{display:none}
.rwgm__remote-player.is-taxi .rwgm__remote-avatar{background:#d6a51f;color:#1d1810}.rwgm__remote-player.is-bus .rwgm__remote-avatar{background:#347f9b}
@media(max-width:700px){.rwgm__dispatch-trip-stats,.rwgm__vehicle-trip-stats{left:50%;top:auto;bottom:-18px;transform:translateX(-50%);font-size:7px}}

.rwgm__remote-avatar img{display:block;width:44px;height:52px;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}

/* v18.16.0 concept-driven world interface overhaul */
.rwgm{
  --rwgm-canvas:#061510;--rwgm-surface:#0a2119;--rwgm-surface-2:#102a21;--rwgm-raised:#173428;
  --rwgm-gold:#f1c967;--rwgm-gold-2:#b87932;--rwgm-mint:#6de6b0;--rwgm-cyan:#8edbd8;
  --rwgm-text:#fff7df;--rwgm-text-2:#b6c9c2;--rwgm-line:rgba(92,216,164,.34);
  --rwgm-danger-2:#ee766b;--rwgm-shadow:0 12px 30px rgba(0,0,0,.34);
  color:var(--rwgm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--rwgm-canvas);
}
.rwgm__toolbar{min-height:72px;padding:10px 18px;border:1px solid #75491f;border-bottom-color:#9f692c;background:linear-gradient(180deg,#2b1a0f,#160e09);box-shadow:0 3px 12px rgba(0,0,0,.38)}
.rwgm__brand{gap:12px}.rwgm__brand:before{content:"W";display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:2px solid #ffc95f;clip-path:polygon(25% 2%,75% 2%,98% 50%,75% 98%,25% 98%,2% 50%);background:linear-gradient(145deg,#ffd876,#a86d25);color:#38200d;font-weight:1000;font-size:20px;box-shadow:0 0 0 4px rgba(65,36,14,.8)}
.rwgm__brand strong{color:var(--rwgm-gold);font-size:16px;letter-spacing:.12em}.rwgm__brand span{color:#c8b79e;font-size:12px}
.rwgm__actions{gap:10px}.rwgm__actions button,.rwgm__toolbar button{min-height:46px!important;padding:10px 16px!important;border:1px solid #925d2d!important;border-radius:8px!important;background:linear-gradient(180deg,#3a2416,#24150d)!important;color:#fff0c5!important;box-shadow:inset 0 0 0 1px rgba(255,211,120,.07),0 4px 10px rgba(0,0,0,.24);font-weight:800}
.rwgm__workspace{grid-template-columns:minmax(0,1fr) minmax(360px,430px);background:#071510}
.rwgm__stage{border-color:#5a3b20;box-shadow:inset 0 0 0 1px rgba(240,194,103,.12)}
.rwgm__gamepanel{padding:18px;border-color:#2d6d54;background-color:#051812;background-image:linear-gradient(rgba(80,190,145,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(80,190,145,.045) 1px,transparent 1px);background-size:24px 24px;box-shadow:inset 1px 0 0 rgba(98,228,171,.17)}
.rwgm__panelhead{padding:4px 2px 16px;border-bottom:1px solid var(--rwgm-line)}
.rwgm__panelhead h3,.rwgm__playerhead h3,.rwgm__modal h3{color:var(--rwgm-text);font-size:28px;line-height:1.05;letter-spacing:.01em}
.rwgm__eyebrow,.rwgm__panelhead small,.rwgm__modal header small{color:var(--rwgm-gold);font-size:11px;font-weight:900;letter-spacing:.16em}
.rwgm__playerhead{margin:14px 0;padding:14px;border:1px solid #8b5729;border-radius:12px;background:linear-gradient(105deg,#3a2315,#17110c 72%);box-shadow:var(--rwgm-shadow)}
.rwgm__hub-tabs,.rwgm__player-tabs,.rwgm__life-tabs{gap:8px;padding:8px;border:1px solid var(--rwgm-line);border-radius:12px;background:rgba(5,29,22,.86)}
.rwgm__hub-tabs button,.rwgm__player-tabs button,.rwgm__life-tabs button{min-height:52px!important;border:1px solid #236b50!important;border-radius:9px!important;background:#082a20!important;color:#b7d2c8!important;font-weight:900!important;letter-spacing:.04em}
.rwgm__hub-tabs button.is-active,.rwgm__player-tabs button.is-active,.rwgm__life-tabs button.is-active{border-color:#ffd36e!important;background:linear-gradient(145deg,#7c5228,#4a2d18)!important;color:#ffe89e!important;box-shadow:inset 0 -3px #ffd36e,0 5px 14px rgba(0,0,0,.24)}
.rwgm__section,.rwgm__panel,.rwgm__card,.rwgm__stat,.rwgm__need,.rwgm__inventory-row,.rwgm__fleet article,.rwgm__career-card,.rwgm__business-card,.rwgm__worldnet>article>section{border:1px solid var(--rwgm-line)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(14,47,36,.96),rgba(6,28,21,.96))!important;box-shadow:0 7px 18px rgba(0,0,0,.18)}
.rwgm__statgrid,.rwgm__needs-grid,.rwgm__transport-stats{gap:12px}.rwgm__stat,.rwgm__need{padding:14px!important}.rwgm__stat strong,.rwgm__need strong{color:#fff6d9;font-size:20px}.rwgm__stat small,.rwgm__need small{color:#a7c6bb;font-size:11px}
.rwgm input,.rwgm select,.rwgm textarea{min-height:44px;border:1px solid #2b7c5d!important;border-radius:8px!important;background:#061b14!important;color:#f8f1dc!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.rwgm input:focus,.rwgm select:focus,.rwgm textarea:focus{border-color:var(--rwgm-gold)!important;outline:2px solid rgba(241,201,103,.22)!important;outline-offset:1px}
.rwgm button:not(.maplibregl-ctrl button){min-height:44px}.rwgm button:focus-visible{outline:3px solid var(--rwgm-gold)!important;outline-offset:2px}
.rwgm__primary,.rwgm [data-state="ready"] button,.rwgm button.is-primary{border-color:#eab751!important;background:linear-gradient(180deg,#775027,#4a2c18)!important;color:#fff1bd!important;box-shadow:inset 0 -2px #e6b94f,0 6px 14px rgba(0,0,0,.22)}
.rwgm__modal{padding:24px;background:rgba(2,8,6,.76);backdrop-filter:blur(5px)}
.rwgm__modalcard,.rwgm__modal>section{border:1px solid #b77b36!important;border-radius:14px!important;background-color:#071c15!important;background-image:linear-gradient(rgba(79,192,145,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(79,192,145,.045) 1px,transparent 1px)!important;background-size:22px 22px!important;box-shadow:0 28px 80px rgba(0,0,0,.58),inset 0 0 0 1px rgba(255,208,101,.08)}
.rwgm__modalhead,.rwgm__modal>section>header{padding:16px 18px!important;border-bottom:1px solid #8d5a2a!important;background:linear-gradient(110deg,#3a2417,#19120d)!important}
.rwgm__inventory-list,.rwgm__fleet,.rwgm__career-list{display:grid;gap:10px}.rwgm__inventory-row{padding:12px!important}.rwgm__inventory-row:hover{border-color:#5fcf9e!important;background:#103b2c!important}
.rwgm__capacity-track,.rwgm__need-track,.rwgm__energy-track{overflow:hidden;border-radius:99px;background:#1d4033!important}.rwgm__capacity-track>i,.rwgm__need-track>i,.rwgm__energy-track>i{background:linear-gradient(90deg,#43d998,#b6f18c)!important}
.rwgm__worldnet{border:1px solid #286c53;background:#061710}.rwgm__worldnet>aside button{border:1px solid #6d4527!important;background:#2d1c12!important;color:#ecd9ae!important}.rwgm__worldnet>aside button.is-active{border-color:#f2c25e!important;background:#6b4925!important;color:#fff0ae!important}
.rwgm__net-card{border:1px solid var(--rwgm-line)!important;border-radius:10px!important;background:#0b281e!important}.rwgm__net-card:hover{border-color:#63d7a2!important}
.rwgm__travelbox,.rwgm__vehicle-hud{border:1px solid #c4873f!important;border-radius:12px!important;background:linear-gradient(145deg,#2f2116,#111b16)!important;box-shadow:var(--rwgm-shadow)}
.rwgm__save-status[data-state="error"],.rwgm__toast-region[data-state="error"]{border:1px solid #ff8b76!important;background:#4a1f1a!important;color:#fff!important;box-shadow:0 8px 24px rgba(0,0,0,.36)}

/* v18.17.0 property cell icons, container-free circular property menu and business overlay. */
.rwgm__building-marker .rwgm__property-cell-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,243,207,.75);border-radius:50%;background:radial-gradient(circle at 40% 30%,#2a3b42,#111a1f);box-shadow:0 4px 10px rgba(0,0,0,.4);font-size:17px;line-height:1}
.rwgm__building-marker .rwgm__property-cell-icon--custom{width:44px;height:44px;border:0;background:transparent;box-shadow:none}
.rwgm__building-marker .rwgm__property-cell-icon--custom .rwgm__building-custom-icon{width:44px;height:44px}
.rwgm__building-marker.has-custom-icon{width:56px;height:64px}
.maplibregl-popup.rwgm-property-map-popup{z-index:30}.maplibregl-popup.rwgm-property-map-popup .maplibregl-popup-content{overflow:visible;border:1px solid #9d6b37;border-radius:16px;background:linear-gradient(145deg,#172129,#0b1519);box-shadow:0 22px 55px rgba(0,0,0,.46)}
.maplibregl-popup.rwgm-property-map-popup .rwgm__property-popup{min-width:min(210px,88vw);max-width:88vw;padding:12px;gap:5px}
.rwgm__property-popup>strong{color:#fff;font-size:18px}.rwgm__property-popup>span,.rwgm__property-popup>em{color:#aab9c7;font-size:11px}.rwgm__property-popup>em{padding-bottom:10px;border-bottom:1px solid rgba(193,211,219,.28)}
.rwgm__property-wheel{position:absolute;left:50%;top:50%;z-index:var(--rwgm-layer-panel);display:grid;gap:6px;justify-items:center;width:max-content;max-width:none;transform:translate(-50%,-50%);transform-origin:50% 50%;pointer-events:auto}
.rwgm__property-wheel-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;max-width:min(320px,86vw);padding:6px 12px 6px 6px;border:1px solid rgba(246,224,172,.5);border-radius:999px;background:rgba(9,20,17,.94);box-shadow:0 12px 26px rgba(0,0,0,.42)}
.rwgm__property-wheel-head>span:last-child{display:grid;min-width:0}
.rwgm__property-wheel-head strong{overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__property-wheel-head small{overflow:hidden;color:#a9c2b2;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.rwgm__property-wheel-badge{display:grid;place-items:center;width:34px;height:34px;border:1px solid #398166;border-radius:50%;background:radial-gradient(circle at 40% 30%,#205c46,#0d241c);font-size:17px}
.rwgm__property-wheel-badge img{width:26px;height:26px;object-fit:contain}
.rwgm__property-wheel-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.rwgm__property-wheel-controls[hidden]{display:none}
.rwgm__property-wheel-controls select{min-height:34px;padding:5px 8px;border:1px solid #3d7a5d;border-radius:9px;background:#0b1c15;color:#cdeed9;font-size:10px;font-weight:800}
.rwgm__property-wheel-ring{position:relative;width:var(--rwgm-radial-ring,320px);height:var(--rwgm-radial-ring,320px)}
.rwgm__property-hub{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:72px;height:72px;border:3px solid #f5e2aa;border-radius:50%;background:radial-gradient(circle,#74512d,#241b14 72%);box-shadow:0 0 0 8px rgba(247,224,171,.14),0 10px 22px rgba(0,0,0,.46);transform:translate(-50%,-50%)}
.rwgm__property-hub span{font-size:28px;line-height:1}
.rwgm__property-hub img{width:46px;height:46px;object-fit:contain}
.rwgm__property-wheel-action{position:absolute;left:50%;top:50%;display:grid!important;grid-template-rows:auto minmax(0,1fr);place-items:center;gap:0;width:var(--rwgm-radial-button,66px);height:var(--rwgm-radial-button,66px);min-height:0!important;padding:4px!important;overflow:hidden;border:1px solid #5b7f74!important;border-radius:50%!important;background:linear-gradient(150deg,#1b2f2b,#0d1a18)!important;color:#eaf6ee!important;box-shadow:0 8px 18px rgba(0,0,0,.42);transform:translate(calc(-50% + var(--radial-x,0px)),calc(-50% + var(--radial-y,0px)));transition:transform .16s ease,border-color .16s ease,background .16s ease}
.rwgm__property-wheel-action span{font-size:17px;line-height:1}
.rwgm__property-wheel-action small{display:-webkit-box;max-width:calc(var(--rwgm-radial-button,66px) - 12px);overflow:hidden;color:#d8ecdf;font-size:var(--rwgm-radial-label,8.5px);font-weight:900;line-height:1.1;text-align:center;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.rwgm__property-wheel-action:hover,.rwgm__property-wheel-action:focus-visible{border-color:#8df3c0!important;background:linear-gradient(150deg,#204e3b,#10221c)!important;transform:translate(calc(-50% + var(--radial-x,0px)),calc(-50% + var(--radial-y,0px))) scale(1.08);box-shadow:0 0 0 3px rgba(97,226,166,.18),0 12px 22px rgba(0,0,0,.46)}
.rwgm__property-wheel-action[disabled]{opacity:.5;cursor:not-allowed}
.rwgm__property-wheel-close{position:absolute;right:-2px;top:-2px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #f0b8a6;border-radius:50%;background:#3d1d18;color:#ffe3da;font-size:16px;font-weight:900;line-height:1}
.rwgm__property-wheel-close:hover{background:#5a2a22;color:#fff}

/* Persistent, smoothly animated road-delivery truck. */
.rwgm__logistics-truck{width:76px!important;height:82px!important;border:0!important;background:transparent!important;filter:drop-shadow(0 6px 6px rgba(0,0,0,.42));will-change:transform}.rwgm__logistics-rotor{display:block;width:58px;height:66px;margin:auto;transform:rotate(var(--rwgm-logistics-bearing,0deg));transition:transform .1s linear;transform-origin:50% 50%;will-change:transform}.rwgm__logistics-rotor img{display:block;width:100%;height:100%;object-fit:contain}.rwgm__logistics-truck small{position:absolute;left:50%;bottom:-5px;min-width:max-content;padding:4px 7px;border:1px solid #a47539;border-radius:7px;background:#21160ef2;color:#fff3c5;font-size:8px;font-weight:900;line-height:1.25;transform:translateX(-50%)}.rwgm__logistics-truck.is-driving .rwgm__logistics-rotor{animation:rwgm-truck-road-bob .34s ease-in-out infinite alternate}@keyframes rwgm-truck-road-bob{to{translate:0 -1.5px}}

@media(max-width:900px){.rwgm__workspace{grid-template-columns:1fr}.rwgm__gamepanel{padding:16px;border-left:1px solid #2d6d54}.rwgm__toolbar{position:sticky;top:0;z-index:60}}
@media(max-width:600px){.rwgm__toolbar{min-height:60px;padding:8px 10px}.rwgm__brand:before{width:40px;height:40px;flex-basis:40px}.rwgm__brand span{display:none}.rwgm__actions button,.rwgm__toolbar button{min-height:44px!important;padding:8px 10px!important}.rwgm__gamepanel{padding:12px}.rwgm__panelhead h3,.rwgm__playerhead h3{font-size:24px}.maplibregl-popup.rwgm-property-map-popup .rwgm__property-popup{min-width:min(190px,90vw);padding:11px}.rwgm__property-wheel-head{max-width:min(250px,80vw);padding:5px 10px 5px 5px}.rwgm__property-wheel-head strong{font-size:12px}.rwgm__property-hub{width:60px;height:60px}.rwgm__property-hub span{font-size:23px}.rwgm__property-wheel-action small{font-size:8px}.rwgm__property-wheel-close{width:26px;height:26px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.rwgm__property-wheel-action{transition:none}.rwgm__logistics-truck.is-driving .rwgm__logistics-rotor{animation:none}.rwgm__logistics-rotor{transition:none}}

/* v18.17.0 compact business cards and the icon-led business manager overlay. */
.rwgm__business-list article.rwgm__business-card{grid-template-columns:minmax(0,1fr);gap:8px}
.rwgm__business-list article.rwgm__business-card header{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
.rwgm__business-badge{display:grid;place-items:center;width:34px;height:34px;border:1px solid #3f7a5d;border-radius:50%;background:radial-gradient(circle at 40% 30%,#1d5540,#0c2119);font-size:17px;line-height:1}
.rwgm__business-manage{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 8px;min-height:44px!important;padding:8px 10px!important;text-align:left}
.rwgm__business-manage>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border:1px solid #5d8a6e;border-radius:50%;background:#102a20;font-size:14px}
.rwgm__business-manage>b{font-size:10px;font-weight:900}
.rwgm__business-manage>small{color:#8fb79c;font-size:8px;letter-spacing:.04em}
.rwgm__business-modal .rwgm__business-manager{display:grid;gap:10px;padding:16px 18px 18px;max-height:min(70dvh,520px);overflow:auto}
.rwgm__business-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid #3f5146;border-radius:12px;background:#14201c}
.rwgm__business-summary>span:last-child{display:grid;gap:2px}
.rwgm__business-summary small{color:#75cbd7;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.rwgm__business-summary strong{color:#f6f0d8;font-size:14px}
.rwgm__business-summary em{color:#9ead9f;font-size:10px;font-style:normal}
.rwgm__business-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.rwgm__business-option{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 9px;min-height:56px!important;padding:9px 11px!important;text-align:left}
.rwgm__business-option>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border:1px solid #4f8a6c;border-radius:50%;background:#102a20;font-size:16px}
.rwgm__business-option>b{font-size:11px;font-weight:900}
.rwgm__business-option>small{color:#8fb79c;font-size:8px;letter-spacing:.03em}
.rwgm__business-option[disabled]{opacity:.55;cursor:not-allowed}
.rwgm__business-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:8px;color:#cfe0d4;font-size:10px;font-weight:800}
.rwgm__business-field select,.rwgm__business-price-inputs select{min-width:0;min-height:38px;padding:6px 8px;border:1px solid #3f7a5d;border-radius:9px;background:#0b1c15;color:#cdeed9;font-size:10px;font-weight:800}
.rwgm__business-price-row{display:grid;gap:7px;padding:10px;border:1px solid #5e4b35;border-radius:11px;background:#141f1a}
.rwgm__business-price-label{color:#f0c977;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.rwgm__business-price-row em{color:#9ead9f;font-size:9px;font-style:normal}
.rwgm__business-price-inputs{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;align-items:center;gap:7px}
.rwgm__business-price-inputs input{min-width:0;min-height:38px;padding:6px 8px;border:1px solid #5b4b38;border-radius:8px;background:#0e1814;color:#ffe09a}
.rwgm__business-price-inputs button{min-height:38px;padding:7px 10px;border:1px solid #6b5438;border-radius:9px;background:linear-gradient(#35271d,#211812);color:#efd797;font-size:9px;font-weight:900}
@media(max-width:520px){.rwgm__business-option-grid{grid-template-columns:1fr}.rwgm__business-price-inputs{grid-template-columns:1fr}.rwgm__business-field{grid-template-columns:1fr}}
.rwgm__business-modal>section{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(560px,96vw);max-height:min(88dvh,640px);padding:0;overflow:hidden}
.rwgm__business-modal>section>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rwgm__business-modal>section>header small{color:#d8b06a;font-size:9px;font-weight:900;letter-spacing:.14em}
.rwgm__business-modal>section>header h3{margin:2px 0 0;font-size:21px;color:#f6e9c6}
.rwgm__business-modal>section>header button{width:40px;height:40px;border:1px solid #80593a;border-radius:10px;background:#301d14;color:#fff;font-size:22px;font-weight:900}
@media(max-width:680px){.rwgm__business-modal>section{width:100%;max-height:94dvh}.rwgm__business-manager{padding:12px}}

/* ==========================================================================
   v18.18.0 radial interface language
   One circular design system: ring tokens, circular action badges, circular
   tabs, circular command bar and the shared radial action menu.
   ========================================================================== */
.rwgm{
  --rwgm-ring:#5b7f74;
  --rwgm-ring-strong:#8df3c0;
  --rwgm-ring-warm:#d3a35a;
  --rwgm-ring-face:radial-gradient(circle at 38% 28%,#215f47,#0c231b 78%);
  --rwgm-ring-face-warm:radial-gradient(circle at 38% 28%,#7a5730,#241b14 76%);
  --rwgm-ring-tile:linear-gradient(150deg,#1b2f2b,#0c1917);
  --rwgm-ring-shadow:0 8px 18px rgba(0,0,0,.42);
}
.rwgm__ring-badge{
  display:grid;place-items:center;flex:0 0 auto;
  width:38px;height:38px;border:1px solid var(--rwgm-ring);border-radius:50%;
  background:var(--rwgm-ring-face);box-shadow:var(--rwgm-ring-shadow);
  font-size:18px;line-height:1;
}
.rwgm__ring-badge img{width:28px;height:28px;object-fit:contain}

/* --- toolbar: circular icon buttons ------------------------------------- */
.rwgm .rwgm__actions{gap:10px}
.rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{
  display:grid!important;justify-items:center;align-content:start;gap:5px!important;
  width:70px!important;min-width:70px!important;min-height:74px!important;height:auto!important;padding:7px 4px!important;
  border:0!important;border-radius:20px!important;background:transparent!important;
  color:#dbeadf!important;box-shadow:none!important;
}
.rwgm .rwgm__actions>button>span,.rwgm .rwgm__actions>div>.rwgm__btn>span{
  display:grid;place-items:center;width:44px;height:44px;
  border:1px solid var(--rwgm-ring);border-radius:50%;
  background:var(--rwgm-ring-tile);box-shadow:var(--rwgm-ring-shadow);
  font-size:19px;line-height:1;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.rwgm .rwgm__actions>button>small,.rwgm .rwgm__actions>div>.rwgm__btn>small{
  color:#c9dccf;font-size:8.5px;font-weight:900;letter-spacing:.03em;line-height:1.1;text-align:center;
}
.rwgm .rwgm__actions>button:hover>span,.rwgm .rwgm__actions>button[aria-expanded="true"]>span,
.rwgm .rwgm__actions>div>.rwgm__btn:hover>span,.rwgm .rwgm__actions>div>.rwgm__btn[aria-expanded="true"]>span{
  border-color:var(--rwgm-ring-strong);transform:translateY(-2px);
  box-shadow:0 0 0 4px rgba(97,226,166,.16),var(--rwgm-ring-shadow);
}

/* --- dashboard tabs: circular ring row ---------------------------------- */
.rwgm .rwgm__hub-tabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;
  padding:10px 8px!important;border:1px solid #3f5f50!important;border-radius:20px!important;
  background:linear-gradient(180deg,#0f1f1a,#0a1613)!important;
}
.rwgm .rwgm__hub-tabs>button{
  display:grid!important;justify-items:center;gap:4px!important;width:auto!important;min-height:64px!important;padding:5px 3px!important;
  border:0!important;border-radius:16px!important;background:transparent!important;color:#93a89b!important;
}
.rwgm .rwgm__hub-tabs>button>span{
  display:grid;place-items:center;width:40px;height:40px;border:1px solid #476a5b;border-radius:50%;
  background:var(--rwgm-ring-tile);font-size:17px;line-height:1;transition:transform .16s ease,border-color .16s ease;
}
.rwgm .rwgm__hub-tabs>button>small{font-size:8.5px;font-weight:900}
.rwgm .rwgm__hub-tabs>button.is-active{background:transparent!important;box-shadow:none!important;color:#ffe9a9!important}
.rwgm .rwgm__hub-tabs>button.is-active>span{
  border-color:#f0c96a;background:var(--rwgm-ring-face-warm);transform:translateY(-2px);
  box-shadow:0 0 0 4px rgba(240,201,106,.18),var(--rwgm-ring-shadow);
}

/* --- section tabs ------------------------------------------------------- */
.rwgm .rwgm__section-tabs{
  gap:6px!important;padding:6px!important;border:1px solid #3f5f50!important;border-radius:999px!important;background:#0b1613!important;
}
.rwgm .rwgm__section-tabs button{
  min-height:34px!important;border:1px solid #3d5b4c!important;border-radius:999px!important;
  background:#122019!important;color:#9fb5a6!important;
}
.rwgm .rwgm__section-tabs button.is-active{
  border-color:#e2b95f!important;background:linear-gradient(180deg,#4e3921,#2c2013)!important;color:#ffe6a8!important;box-shadow:none!important;
}

/* --- dashboard action groups: circular badges --------------------------- */
.rwgm .rwgm__hub-action-grid,
.rwgm .rwgm__health-actions,
.rwgm .rwgm__economy-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(78px,1fr))!important;gap:9px!important;
}
.rwgm .rwgm__transport-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(74px,1fr))!important;gap:9px!important;
}
.rwgm .rwgm__hub-action-grid>button,
.rwgm .rwgm__health-actions>button,
.rwgm .rwgm__economy-actions>button,
.rwgm .rwgm__transport-actions>button{
  display:grid!important;justify-items:center;align-content:start;gap:6px!important;
  width:auto!important;min-height:86px!important;padding:10px 5px!important;
  border:1px solid #3d5b4c!important;border-radius:20px!important;
  background:linear-gradient(180deg,rgba(20,38,31,.9),rgba(10,22,18,.9))!important;
  color:#e2f0e6!important;box-shadow:0 6px 14px rgba(0,0,0,.28)!important;
}
.rwgm .rwgm__hub-action-grid>button>span,
.rwgm .rwgm__health-actions>button>span,
.rwgm .rwgm__economy-actions>button>span,
.rwgm .rwgm__transport-actions>button>span{
  display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--rwgm-ring);border-radius:50%;
  background:var(--rwgm-ring-face);box-shadow:var(--rwgm-ring-shadow);font-size:19px;line-height:1;
}
.rwgm .rwgm__hub-action-grid>button>b,
.rwgm .rwgm__health-actions>button>b,
.rwgm .rwgm__economy-actions>button>b,
.rwgm .rwgm__transport-actions>button>b{
  font-size:9px;font-weight:900;letter-spacing:.02em;line-height:1.15;text-align:center;
}
.rwgm .rwgm__hub-action-grid>button:hover,
.rwgm .rwgm__health-actions>button:hover,
.rwgm .rwgm__economy-actions>button:hover,
.rwgm .rwgm__transport-actions>button:hover{
  border-color:var(--rwgm-ring-strong)!important;background:linear-gradient(180deg,#1b3529,#0d1f19)!important;
}
.rwgm .rwgm__hub-action-grid>button:hover>span,
.rwgm .rwgm__health-actions>button:hover>span,
.rwgm .rwgm__economy-actions>button:hover>span,
.rwgm .rwgm__transport-actions>button:hover>span{
  border-color:var(--rwgm-ring-strong);transform:translateY(-2px);
  box-shadow:0 0 0 4px rgba(97,226,166,.16),var(--rwgm-ring-shadow);
}

/* --- panel headers get a circular badge --------------------------------- */
.rwgm .rwgm__inventory-head>span,.rwgm .rwgm__panelhead>span.rwgm__save{flex:0 0 auto}
.rwgm .rwgm__inventory-head>span[aria-hidden="true"]{
  display:grid!important;place-items:center;width:40px!important;height:40px!important;border:1px solid var(--rwgm-ring)!important;border-radius:50%!important;
  background:var(--rwgm-ring-face)!important;box-shadow:var(--rwgm-ring-shadow);font-size:18px;
}

/* --- floating map buttons ------------------------------------------------ */
.rwgm .rwgm__map-phone{
  display:grid!important;justify-items:center;gap:3px!important;min-width:66px!important;min-height:74px!important;
  padding:8px 6px!important;border:0!important;border-radius:22px!important;background:rgba(9,20,16,.92)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.5)!important;
}
.rwgm .rwgm__map-phone>span{
  display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--rwgm-ring);border-radius:50%;
  background:var(--rwgm-ring-face-warm);font-size:20px!important;filter:none;
}
.rwgm .rwgm__map-phone>b{font-size:9px;font-weight:900;color:#ffe6b0}

/* --- world HUD gets circular segments ----------------------------------- */
.rwgm .rwgm__world-hud{border-radius:999px!important;padding:6px 10px!important;min-height:0!important}
.rwgm .rwgm__world-hud>span{
  min-height:46px!important;padding:6px 14px!important;border:0!important;
}
.rwgm .rwgm__world-hud>span+span{border-left:1px solid rgba(255,255,255,.1)!important}

/* --- business overlay and cards ----------------------------------------- */
.rwgm .rwgm__business-option{border-radius:20px!important;border-color:#3d5b4c!important;background:linear-gradient(180deg,rgba(20,38,31,.9),rgba(10,22,18,.9))!important}
.rwgm .rwgm__business-option>span{border-color:var(--rwgm-ring)!important;background:var(--rwgm-ring-face)!important;box-shadow:var(--rwgm-ring-shadow)}
.rwgm .rwgm__business-option:hover{border-color:var(--rwgm-ring-strong)!important}
.rwgm .rwgm__business-manage{border-radius:999px!important;border-color:#3d5b4c!important;background:linear-gradient(180deg,#16281f,#0c1a15)!important;color:#dff0e6!important}
.rwgm .rwgm__business-manage>span{border-color:var(--rwgm-ring)!important;background:var(--rwgm-ring-face)!important}
.rwgm .rwgm__business-badge{border-color:var(--rwgm-ring)!important;background:var(--rwgm-ring-face)!important;box-shadow:var(--rwgm-ring-shadow)}

/* --- crafting, world services and map looks ----------------------------- */
.rwgm .rwgm__craft-grid article>header>span{
  border-radius:50%!important;border-color:var(--rwgm-ring)!important;background:var(--rwgm-ring-face)!important;
}
.rwgm .rwgm__service-list button>span,.rwgm .rwgm__service-list>button>span{
  display:grid!important;place-items:center;width:38px;height:38px;border:1px solid var(--rwgm-ring);border-radius:50%;
  background:var(--rwgm-ring-face);font-size:18px;
}
.rwgm .rwgm__map-look-grid span{height:auto!important;aspect-ratio:1;border-radius:50%!important}
.rwgm .rwgm__map-look-grid button{border-radius:18px!important}

/* --- radial action menu refinements ------------------------------------- */
.rwgm .rwgm__property-wheel-head{
  border-color:rgba(141,243,192,.45)!important;border-radius:999px!important;
  background:linear-gradient(120deg,rgba(12,32,25,.96),rgba(8,18,15,.96))!important;
}
.rwgm .rwgm__property-wheel-badge{border-color:var(--rwgm-ring)!important;background:var(--rwgm-ring-face)!important}
.rwgm .rwgm__property-wheel-ring:before{
  content:"";position:absolute;left:50%;top:50%;width:calc(var(--rwgm-radial-radius,132px)*2);
  height:calc(var(--rwgm-radial-radius,132px)*2);border:2px dashed rgba(141,243,192,.28);
  border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;
}
.rwgm .rwgm__property-hub{
  border-color:#f5e2aa!important;background:radial-gradient(circle at 40% 30%,#2a6a4e,#0f2a20 74%)!important;
  box-shadow:0 0 0 8px rgba(97,226,166,.12),0 10px 22px rgba(0,0,0,.46)!important;
}
.rwgm .rwgm__property-wheel-controls select{border-color:var(--rwgm-ring)!important;border-radius:999px!important}
.rwgm .rwgm__property-wheel-controls .rwgm__fuel-control{
  display:grid;grid-template-columns:auto minmax(120px,1fr) auto auto;align-items:center;gap:8px;
  padding:6px 12px;border:1px solid var(--rwgm-ring);border-radius:999px;background:rgba(9,20,16,.94);
  color:#d8ecdf;font-size:10px;font-weight:800;
}
.rwgm .rwgm__property-wheel-controls .rwgm__fuel-control input{width:100%}
.rwgm .rwgm__property-wheel-controls .rwgm__fuel-control button{
  min-height:32px;padding:0 12px;border:1px solid var(--rwgm-ring-strong);border-radius:999px;
  background:#14352a;color:#d7f6e3;font-size:9px;font-weight:900;
}
@media(max-width:600px){
  .rwgm .rwgm__property-wheel-controls .rwgm__fuel-control{grid-template-columns:1fr auto;grid-auto-rows:auto}
  .rwgm .rwgm__property-wheel-controls .rwgm__fuel-control input{grid-column:1/-1}
  .rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{width:62px;min-height:68px}
  .rwgm .rwgm__hub-action-grid>button,.rwgm .rwgm__health-actions>button,.rwgm .rwgm__economy-actions>button,.rwgm .rwgm__transport-actions>button{min-height:80px!important}
}
@media(prefers-reduced-motion:reduce){
  .rwgm .rwgm__actions>button>span,.rwgm .rwgm__hub-tabs>button>span,.rwgm .rwgm__hub-action-grid>button>span,
  .rwgm .rwgm__health-actions>button>span,.rwgm .rwgm__economy-actions>button>span,.rwgm .rwgm__transport-actions>button>span{transition:none}
}

/* --- in-game phone and WorldNet app grid: circular ---------------------- */
.rwgm .rwgm__phone-shell{border-radius:42px!important}
.rwgm .rwgm__phone nav{
  gap:8px!important;padding:10px 8px!important;border-bottom:1px solid #3f5f50!important;background:#0d1a15!important;
}
.rwgm .rwgm__phone nav button{
  display:grid!important;justify-items:center;gap:4px;min-height:64px!important;padding:5px 3px!important;
  border:0!important;border-radius:18px!important;background:transparent!important;color:#93a89b!important;
}
.rwgm .rwgm__phone nav button>span{
  display:grid;place-items:center;width:40px;height:40px;border:1px solid #476a5b;border-radius:50%;
  background:var(--rwgm-ring-tile);font-size:17px;line-height:1;transition:transform .16s ease,border-color .16s ease;
}
.rwgm .rwgm__phone nav button>small{font-size:8.5px;font-weight:900}
.rwgm .rwgm__phone nav button.is-active{border-color:transparent!important;background:transparent!important;color:#ffe9a9!important}
.rwgm .rwgm__phone nav button.is-active>span{
  border-color:#f0c96a;background:var(--rwgm-ring-face-warm);transform:translateY(-2px);
  box-shadow:0 0 0 4px rgba(240,201,106,.18),var(--rwgm-ring-shadow);
}
.rwgm .rwgm__worldnet>aside{gap:9px!important}
.rwgm .rwgm__worldnet>aside button{
  display:grid!important;grid-template-columns:1fr!important;justify-items:center;gap:5px!important;
  min-height:84px!important;padding:9px 5px!important;border:1px solid #3d5b4c!important;border-radius:20px!important;
  background:linear-gradient(180deg,rgba(20,38,31,.9),rgba(10,22,18,.9))!important;text-align:center!important;
}
.rwgm .rwgm__worldnet>aside button>b{
  display:grid!important;place-items:center;width:42px!important;height:42px!important;
  border:1px solid var(--rwgm-ring)!important;border-radius:50%!important;
  background:var(--rwgm-ring-face)!important;box-shadow:var(--rwgm-ring-shadow);color:#eaf6ee!important;font-size:19px;
}
.rwgm .rwgm__worldnet>aside button>small{font-size:9px!important;font-weight:900}
.rwgm .rwgm__worldnet>aside button.is-active{
  border-color:var(--rwgm-ring-strong)!important;background:linear-gradient(180deg,#1b3529,#0d1f19)!important;
}
.rwgm .rwgm__worldnet>aside button.is-active>b{border-color:#f0c96a!important;background:var(--rwgm-ring-face-warm)!important}
.rwgm .rwgm__phone main button,.rwgm .rwgm__phone form button{border-radius:999px!important}
.rwgm .rwgm__phone main>section>h4{
  display:flex;align-items:center;gap:8px;
}
.rwgm .rwgm__phone main>section>h4:before{
  content:"";width:10px;height:10px;border-radius:50%;background:var(--rwgm-ring-face);box-shadow:0 0 0 2px rgba(97,226,166,.22);
}

/* ==========================================================================
   v18.19.0 interface polish
   Compact aligned top bar, one aligned bottom utility dock, a single business
   and bills desk, visible construction materials, clearer amount steppers and
   a real market cart with checkout.
   ========================================================================== */

/* --- top bar: compact, aligned, one row -------------------------------- */
.rwgm .rwgm__toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;min-height:64px!important;padding:9px 12px!important;
}
.rwgm .rwgm__brand{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;gap:10px!important;min-width:0!important;
}
.rwgm .rwgm__brand-mark{width:40px!important;height:40px!important;flex:0 0 40px!important;font-size:18px!important}
.rwgm .rwgm__brand>span:last-child{display:grid!important;gap:1px!important;min-width:0!important}
.rwgm .rwgm__brand strong{
  overflow:hidden;color:#f5d787!important;font-size:13px!important;line-height:1.1!important;
  letter-spacing:.2em!important;text-overflow:ellipsis;white-space:nowrap;
}
.rwgm .rwgm__brand small{
  overflow:hidden;color:#8fa69a!important;font-size:9.5px!important;line-height:1.15!important;
  letter-spacing:.01em!important;text-overflow:ellipsis;white-space:nowrap;
}
.rwgm .rwgm__actions{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:8px!important;min-width:0!important;
}
.rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{
  width:64px!important;min-width:64px!important;min-height:64px!important;height:64px!important;
  padding:5px 3px!important;border-radius:18px!important;
}
.rwgm .rwgm__actions>button>span,.rwgm .rwgm__actions>div>.rwgm__btn>span{
  width:36px!important;height:36px!important;font-size:16px!important;
}
.rwgm .rwgm__actions>button>small,.rwgm .rwgm__actions>div>.rwgm__btn>small{font-size:8px!important;line-height:1.05!important}
.rwgm__map-menu-wrap{display:flex;align-items:center}

/* --- bottom utility dock: phone, sound and voice aligned ---------------- */
.rwgm{
  --rwgm-dock-x:12px;
  --rwgm-dock-bottom:12px;
  --rwgm-dock-size:66px;
  --rwgm-dock-gap:8px;
}
.rwgm .rwgm__map-phone,
.rwgm .rwgm__audio,
.rwgm .rwgm__voice{
  position:absolute;top:auto;right:auto;bottom:var(--rwgm-dock-bottom);left:var(--rwgm-dock-x);z-index:49;
}
.rwgm .rwgm__audio{left:calc(var(--rwgm-dock-x) + var(--rwgm-dock-size) + var(--rwgm-dock-gap))}
.rwgm .rwgm__voice{left:calc(var(--rwgm-dock-x) + (var(--rwgm-dock-size) + var(--rwgm-dock-gap)) * 2)}
.rwgm .rwgm__map-phone,
.rwgm .rwgm__audio>button,
.rwgm .rwgm__voice>.rwgm__voice-tab{
  display:grid!important;justify-items:center;align-content:start;gap:3px!important;
  width:var(--rwgm-dock-size)!important;min-width:var(--rwgm-dock-size)!important;
  min-height:74px!important;height:74px!important;padding:7px 4px!important;
  border:0!important;border-radius:22px!important;background:rgba(9,20,16,.92)!important;
  color:#ffe6b0!important;font-weight:900!important;box-shadow:0 14px 32px rgba(0,0,0,.5)!important;
}
.rwgm .rwgm__map-phone>span,
.rwgm .rwgm__audio>button>span,
.rwgm .rwgm__voice>.rwgm__voice-tab>span{
  display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--rwgm-ring);
  border-radius:50%;background:var(--rwgm-ring-face-warm);font-size:20px!important;line-height:1;filter:none;
}
.rwgm .rwgm__map-phone>b,
.rwgm .rwgm__audio>button>small,
.rwgm .rwgm__voice>.rwgm__voice-tab>small{
  font-size:9px!important;font-weight:900!important;color:#ffe6b0!important;letter-spacing:.02em;
}
.rwgm .rwgm__map-phone:hover,.rwgm .rwgm__audio>button:hover,.rwgm .rwgm__voice>.rwgm__voice-tab:hover{
  background:rgba(24,42,34,.96)!important;
}
.rwgm .rwgm__audio>div{left:0!important;right:auto!important;bottom:calc(100% + 10px)!important}
.rwgm .rwgm__voice-panel{left:0!important;right:auto!important;bottom:calc(100% + 10px)!important}
.rwgm .rwgm__audio>button>small{display:block}
.rwgm.is-android .rwgm__map-phone{bottom:var(--rwgm-dock-bottom)!important;left:var(--rwgm-dock-x)!important}

@media(max-width:680px){
  .rwgm{--rwgm-dock-x:10px;--rwgm-dock-bottom:max(10px,var(--rwgm-safe-bottom));--rwgm-dock-size:62px;--rwgm-dock-gap:7px}
  .rwgm .rwgm__map-phone,.rwgm .rwgm__audio,.rwgm .rwgm__voice{position:fixed!important;z-index:1000024}
  .rwgm .rwgm__map-phone,.rwgm .rwgm__audio,.rwgm .rwgm__voice{top:auto!important;bottom:var(--rwgm-dock-bottom)!important}
  .rwgm .rwgm__map-phone{left:var(--rwgm-dock-x)!important;right:auto!important}
  .rwgm .rwgm__audio{left:calc(var(--rwgm-dock-x) + var(--rwgm-dock-size) + var(--rwgm-dock-gap))!important;right:auto!important}
  .rwgm .rwgm__voice{left:calc(var(--rwgm-dock-x) + (var(--rwgm-dock-size) + var(--rwgm-dock-gap)) * 2)!important;right:auto!important}
  .rwgm .rwgm__map-phone,.rwgm .rwgm__audio>button,.rwgm .rwgm__voice>.rwgm__voice-tab{
    min-height:70px!important;height:70px!important;width:var(--rwgm-dock-size)!important;min-width:var(--rwgm-dock-size)!important;
  }
  .rwgm .rwgm__map-phone>span,.rwgm .rwgm__audio>button>span,.rwgm .rwgm__voice>.rwgm__voice-tab>span{width:38px;height:38px;font-size:18px!important}
  .rwgm .rwgm__audio>div{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(var(--rwgm-dock-bottom) + 82px)!important;width:auto!important}
  .rwgm .rwgm__voice-panel{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(var(--rwgm-dock-bottom) + 82px)!important;width:auto!important;max-height:64vh}
}

/* Touch devices keep the movement joystick bottom-left, so the dock mirrors. */
@media(hover:none) and (pointer:coarse){
  .rwgm .rwgm__map-phone,.rwgm .rwgm__audio,.rwgm .rwgm__voice{left:auto!important}
  .rwgm .rwgm__map-phone{right:var(--rwgm-dock-x)!important}
  .rwgm .rwgm__audio{right:calc(var(--rwgm-dock-x) + var(--rwgm-dock-size) + var(--rwgm-dock-gap))!important}
  .rwgm .rwgm__voice{right:calc(var(--rwgm-dock-x) + (var(--rwgm-dock-size) + var(--rwgm-dock-gap)) * 2)!important}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){
  .rwgm .rwgm__audio>div,.rwgm .rwgm__voice-panel{left:auto!important;right:0!important}
}

/* --- one business and bills desk ---------------------------------------- */
.rwgm .rwgm__ledger-open{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:10px 12px!important;
  width:100%!important;min-height:70px!important;padding:12px 14px!important;text-align:left!important;
  border:1px solid #3d5b4c!important;border-radius:20px!important;
  background:linear-gradient(180deg,rgba(20,38,31,.92),rgba(10,22,18,.92))!important;
  color:#e2f0e6!important;box-shadow:0 8px 18px rgba(0,0,0,.3)!important;
}
.rwgm .rwgm__ledger-open>span{
  grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;
  border:1px solid var(--rwgm-ring);border-radius:50%;background:var(--rwgm-ring-face);box-shadow:var(--rwgm-ring-shadow);font-size:20px;
}
.rwgm .rwgm__ledger-open>b{font-size:11.5px;font-weight:900;letter-spacing:.02em}
.rwgm .rwgm__ledger-open>small{color:#9db6a6!important;font-size:9.5px;line-height:1.3}
.rwgm .rwgm__ledger-open:hover{border-color:var(--rwgm-ring-strong)!important;background:linear-gradient(180deg,#1b3529,#0d1f19)!important}

.rwgm__ledger-modal{z-index:2147483000}
.rwgm__ledger-card{width:min(620px,96vw)!important;max-height:min(86vh,760px)!important;overflow:auto}
.rwgm .rwgm__ledger-tabs{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;
  margin:12px 0!important;padding:6px!important;border:1px solid #3f5f50!important;border-radius:18px!important;background:#0b1613!important;
}
.rwgm .rwgm__ledger-tabs>button{
  display:grid!important;justify-items:center;align-content:center;gap:4px!important;
  min-height:62px!important;padding:6px 4px!important;border:1px solid transparent!important;border-radius:14px!important;
  background:transparent!important;color:#9fb5a6!important;font-weight:900!important;
}
.rwgm .rwgm__ledger-tabs>button>span{
  display:grid;place-items:center;width:36px;height:36px;border:1px solid #476a5b;border-radius:50%;
  background:var(--rwgm-ring-tile);font-size:16px;line-height:1;
}
.rwgm .rwgm__ledger-tabs>button>b{font-size:9px;font-weight:900}
.rwgm .rwgm__ledger-tabs>button.is-active{color:#ffe9a9!important;background:#122019!important;border-color:#3d5b4c!important}
.rwgm .rwgm__ledger-tabs>button.is-active>span{
  border-color:#f0c96a;background:var(--rwgm-ring-face-warm);box-shadow:0 0 0 4px rgba(240,201,106,.16),var(--rwgm-ring-shadow);
}
.rwgm .rwgm__ledger-tabs>button[data-count]:not([data-count="0"]):after{
  content:attr(data-count);position:absolute;margin:-34px 0 0 30px;min-width:18px;padding:1px 5px;
  border-radius:999px;background:#d3a35a;color:#1d1409;font-size:8.5px;font-weight:900;
}
.rwgm .rwgm__ledger-panel{display:grid;gap:8px}
.rwgm .rwgm__ledger-panel[hidden]{display:none!important}
.rwgm .rwgm__ledger-body{min-height:120px}

/* --- construction materials have/needed --------------------------------- */
.rwgm .rwgm__property-wheel-requirements{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:min(360px,88vw)}
.rwgm .rwgm__property-wheel-requirements[hidden]{display:none}
.rwgm .rwgm__property-wheel-requirements>span{
  display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 5px;
  border:1px solid #5a6a5d;border-radius:999px;background:rgba(9,20,17,.94);
  color:#e6f2e8;font-size:10px;font-weight:800;white-space:nowrap;
}
.rwgm .rwgm__property-wheel-requirements>span>i{font-size:14px;font-style:normal;line-height:1}
.rwgm .rwgm__property-wheel-requirements>span>b{font-size:9.5px;font-weight:800;color:#c9dccf}
.rwgm .rwgm__property-wheel-requirements>span>em{font-style:normal;font-weight:900;font-variant-numeric:tabular-nums}
.rwgm .rwgm__property-wheel-requirements>span.is-ready{border-color:#6ead76;background:rgba(24,52,36,.95)}
.rwgm .rwgm__property-wheel-requirements>span.is-ready>em{color:#9fe6b1}
.rwgm .rwgm__property-wheel-requirements>span.is-short{border-color:#b5705f;background:rgba(56,24,20,.95)}
.rwgm .rwgm__property-wheel-requirements>span.is-short>em{color:#ffb3a1}

.rwgm .rwgm__site-requirement{
  display:inline-flex;align-items:center;gap:3px;padding:1px 5px;border-radius:8px;
  font-size:8.5px;font-weight:900;font-variant-numeric:tabular-nums;
}
.rwgm .rwgm__site-requirement>i{font-style:normal;font-weight:800;opacity:.85}
.rwgm .rwgm__site-requirement.is-ready{background:rgba(35,84,54,.95);color:#c8f0d4}
.rwgm .rwgm__site-requirement.is-short{background:rgba(94,38,30,.95);color:#ffd0c4}

/* --- amount and quantity steppers -------------------------------------- */
.rwgm .rwgm__amount-stepper{display:inline-grid;grid-template-columns:auto minmax(52px,1fr) auto;align-items:center;gap:6px}
.rwgm .rwgm__amount-stepper>input{
  width:100%!important;min-width:52px;min-height:40px;padding:6px 8px;text-align:center;
  border:2px solid #5d4430!important;border-radius:12px!important;background:#101a16!important;color:#f3e3bd!important;
  font-weight:900!important;font-variant-numeric:tabular-nums;
}
.rwgm .rwgm__stepper-btn{
  display:grid!important;place-items:center;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  padding:0!important;border:2px solid #6e4a31!important;border-radius:50%!important;
  background:linear-gradient(#3a2b20,#261b15)!important;color:#ffe6b0!important;
  font-size:22px!important;font-weight:900!important;line-height:1!important;cursor:pointer;
  box-shadow:0 3px 0 #130c08!important;
}
.rwgm .rwgm__stepper-btn:hover:not(:disabled){border-color:#c58a4b!important;background:linear-gradient(#4a3626,#2d2019)!important}
.rwgm .rwgm__stepper-btn:disabled{opacity:.4!important;cursor:not-allowed}
.rwgm .rwgm__quantity-slider{display:grid;gap:8px}
.rwgm .rwgm__quantity-slider>span{display:flex;align-items:baseline;gap:6px;color:#ead9b6;font-size:10px;font-weight:800}
.rwgm .rwgm__quantity-slider>span>output{color:#f5d37d;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.rwgm .rwgm__money-entry>span{display:block;margin-bottom:7px;color:#cfc2a6;font-size:10px;font-weight:800}

/* --- market cart and checkout ------------------------------------------ */
.rwgm .rwgm__public-catalog article{grid-template-columns:34px minmax(0,1fr) auto!important;gap:8px}
.rwgm .rwgm__cart-stepper{grid-template-columns:auto minmax(44px,1fr) auto!important;gap:5px}
.rwgm .rwgm__cart-stepper>input{min-height:38px!important;min-width:44px}
.rwgm .rwgm__cart-stepper .rwgm__stepper-btn{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;font-size:19px!important}
.rwgm .rwgm__market-cart{
  position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;
  margin-top:12px;padding:10px 12px;border:1px solid #485b4d;border-radius:16px;
  background:linear-gradient(180deg,rgba(20,38,31,.97),rgba(10,22,18,.97));
}
.rwgm .rwgm__market-cart>span{display:grid;gap:2px;min-width:0}
.rwgm .rwgm__market-cart b{color:#ffe6b0;font-size:11.5px}
.rwgm .rwgm__market-cart small{color:#9caf9f;font-size:9px}
.rwgm .rwgm__market-cart button{min-height:42px;padding:0 14px;border:2px solid #6e4a31;border-radius:999px;background:#261b15;color:#ffe6b0;font-weight:900}
.rwgm .rwgm__market-cart button:disabled{opacity:.45}
.rwgm .rwgm__market-checkout{display:grid;gap:9px}
.rwgm .rwgm__checkout-line{
  display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:8px;
  padding:9px 10px;border:1px solid #46594b;border-radius:14px;background:#111c18;
}
.rwgm .rwgm__checkout-line>span{font-size:20px}
.rwgm .rwgm__checkout-line>div{display:grid;min-width:0}
.rwgm .rwgm__checkout-line b{font-size:11px}
.rwgm .rwgm__checkout-line small{color:#9caf9f;font-size:9px}
.rwgm .rwgm__checkout-line>em{font-style:normal;font-weight:900;color:#ffe6b0;font-variant-numeric:tabular-nums}
.rwgm .rwgm__checkout-totals{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;
  border:1px solid #485b4d;border-radius:14px;background:#101b17;
}
.rwgm .rwgm__checkout-totals>span{display:grid;gap:2px;min-width:0}
.rwgm .rwgm__checkout-totals small{color:#9caf9f;font-size:8.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.rwgm .rwgm__checkout-totals b{color:#ffe6b0;font-size:13px;font-variant-numeric:tabular-nums}
.rwgm .rwgm__checkout-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rwgm .rwgm__checkout-actions button{min-height:46px;border:2px solid #6e4a31;border-radius:14px;background:#261b15;color:#ffe6b0;font-weight:900}
.rwgm .rwgm__checkout-actions .rwgm__primary{border-color:#8a5a26!important;background:linear-gradient(#f4d98f,#d6a952)!important;color:#2d1b0c!important}
@media(max-width:560px){
  .rwgm .rwgm__checkout-line{grid-template-columns:22px minmax(0,1fr) auto}
  .rwgm .rwgm__checkout-line>em{grid-column:2/4;justify-self:end}
  .rwgm .rwgm__checkout-totals{grid-template-columns:1fr 1fr}
  .rwgm .rwgm__checkout-actions{grid-template-columns:1fr}
  .rwgm .rwgm__market-cart{grid-template-columns:minmax(0,1fr) auto}
  .rwgm .rwgm__market-cart>button{grid-column:auto}
}

/* --- keep the dashboard's last status line readable --------------------- */
.rwgm .rwgm__gamepanel{padding-bottom:20px!important}
.rwgm .rwgm__hub-panel{padding-bottom:6px}
.rwgm .rwgm__hub-help{overflow-wrap:anywhere}

/* --- multiplayer: real avatars, synced land and buildings --------------- */
.rwgm__remote-player .rwgm__remote-avatar>img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.rwgm__remote-cell{
  display:grid;place-items:center;width:34px;height:34px;border:2px solid #d6ad53;border-radius:9px;
  background:rgba(23,29,25,.82);color:#ffe6b0;font-size:15px;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.45);
  transform:rotate(var(--rwgm-cell-rotation,0deg));
}
.rwgm__remote-cell.is-building{background:rgba(38,30,20,.86)}
.rwgm__remote-cell>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}

/* --- v18.19.1 follow-ups ------------------------------------------------ */
/* The markup already carries a brand mark, so drop the legacy duplicate. */
.rwgm .rwgm__brand:before{content:none!important;display:none!important}
.rwgm .rwgm__toolbar{min-height:76px!important;padding:8px 12px!important}
.rwgm .rwgm__brand-mark{width:38px!important;height:38px!important;flex:0 0 38px!important;font-size:17px!important}
.rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{
  width:60px!important;min-width:60px!important;min-height:60px!important;height:60px!important;
}
.rwgm .rwgm__actions>button>span,.rwgm .rwgm__actions>div>.rwgm__btn>span{width:34px!important;height:34px!important;font-size:15px!important}

/* The footer caption sits flush against the widget edge and gets clipped. */
.rwgm .rwgm__note{padding:9px 12px 11px!important;line-height:1.5!important;font-size:11px!important;color:#7f8d97!important}

/* Keep the voice panel inside the map stage now that it shares the dock. */
.rwgm .rwgm__voice-panel{max-height:min(470px,calc(100vh - 220px))!important}
@media(max-width:680px){.rwgm .rwgm__voice-panel{max-height:min(60vh,calc(100vh - 220px))!important}}

/* Brand lockup: no vertical clipping, and a stable mark on small screens. */
.rwgm .rwgm__brand strong{line-height:1.3!important}
.rwgm .rwgm__brand small{line-height:1.3!important}
@media(max-width:680px){
  .rwgm .rwgm__brand{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:8px!important}
  .rwgm .rwgm__brand>span:last-child{display:none!important}
  .rwgm .rwgm__brand-mark{width:36px!important;height:36px!important;flex:0 0 36px!important}
}

/* Keep the brand mark visible in every compact layout. */
.rwgm .rwgm__brand-mark{display:grid!important}
.rwgm[data-viewport="compact"] .rwgm__brand>span:last-child,
.rwgm.is-phone-landscape .rwgm__brand>span:last-child{display:none!important}
@media(max-width:600px){.rwgm .rwgm__brand>span:last-child{display:none!important}}

/* One tidy row on phones: brand mark plus a compact icon strip. */
@media(max-width:680px){
  .rwgm .rwgm__toolbar{
    flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:8px!important;min-height:62px!important;padding:7px 10px!important;
  }
  .rwgm .rwgm__brand{flex:0 0 auto!important;min-width:0!important}
  .rwgm .rwgm__brand-mark{width:34px!important;height:34px!important;flex:0 0 34px!important;font-size:16px!important}
  .rwgm .rwgm__actions{
    flex:1 1 auto!important;width:auto!important;display:flex!important;flex-wrap:nowrap!important;
    justify-content:flex-end!important;gap:6px!important;overflow-x:auto;scrollbar-width:none;
  }
  .rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{
    width:48px!important;min-width:48px!important;min-height:48px!important;height:48px!important;border-radius:14px!important;padding:3px!important;
  }
  .rwgm .rwgm__actions>button>span,.rwgm .rwgm__actions>div>.rwgm__btn>span{width:28px!important;height:28px!important;font-size:14px!important}
  .rwgm .rwgm__actions>button>small,.rwgm .rwgm__actions>div>.rwgm__btn>small{display:none!important}
  .rwgm .rwgm__map-menu{top:62px!important}
}

/* Hovering the construction action emphasises the material requirement. */
.rwgm .rwgm__property-wheel-requirements.is-emphasised>span{
  border-color:var(--rwgm-ring-strong);box-shadow:0 0 0 3px rgba(97,226,166,.16);
}

/* The audio panel also stays inside the map stage. */
.rwgm .rwgm__audio>div{max-height:min(330px,calc(100vh - 250px));overflow:auto}

/* v18.19.1: reset the legacy two-column/notched toolbar button contract. */
.rwgm .rwgm__toolbar{height:auto!important;overflow:visible!important;flex-direction:row!important;flex-wrap:nowrap!important}
.rwgm .rwgm__actions{overflow:visible!important;flex:0 0 auto!important;width:auto!important}
.rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px auto!important;
  align-content:center!important;align-items:center!important;justify-items:center!important;
  clip-path:none!important;overflow:visible!important;line-height:1.2!important;transform:none!important;
}
.rwgm .rwgm__actions>button>span,.rwgm .rwgm__actions>div>.rwgm__btn>span{grid-column:1!important;grid-row:1!important}
.rwgm .rwgm__actions>button>small,.rwgm .rwgm__actions>div>.rwgm__btn>small{grid-column:1!important;grid-row:2!important;white-space:nowrap!important}
.rwgm .rwgm__map-menu-wrap{flex:0 0 auto;overflow:visible}
.rwgm .rwgm__actions>button:focus-visible,.rwgm .rwgm__actions>div>.rwgm__btn:focus-visible{outline:2px solid #f5d787;outline-offset:2px}
@media(max-width:680px){
  .rwgm .rwgm__actions>button,.rwgm .rwgm__actions>div>.rwgm__btn{grid-template-rows:1fr!important;flex:0 0 48px!important}
}
@media(max-width:340px){
  .rwgm .rwgm__toolbar{gap:4px!important;padding-left:6px!important;padding-right:6px!important}
  .rwgm .rwgm__actions{gap:2px!important}
}
.rwgm .rwgm__voice-status-note{font-size:12px;line-height:1.5;color:#bdcec3;margin:8px 0}
.rwgm .rwgm__voice-panel [data-voice-status]{font-size:11px;line-height:1.4;max-width:250px}
.rwgm .rwgm__voice-retry{width:100%;min-height:38px;border:1px solid #6ead76;border-radius:8px;background:#284f35;color:#dff6d9}
.rwgm .rwgm__voice-retry[hidden]{display:none}

.rwgm .rwgm__toolbar .rwgm__btn>span>svg{display:block;width:20px;height:20px;flex:none}
/* In an embedded mobile map, keep utilities on the map, not over the hub below. */
@media(max-width:680px){
  .rwgm:not(.is-immersive):not(.is-pseudo-fullscreen) .rwgm__map-phone,
  .rwgm:not(.is-immersive):not(.is-pseudo-fullscreen) .rwgm__audio,
  .rwgm:not(.is-immersive):not(.is-pseudo-fullscreen) .rwgm__voice{position:absolute!important}
  .rwgm:not(.is-immersive):not(.is-pseudo-fullscreen) .rwgm__voice-panel{
    position:absolute!important;left:calc(10px - var(--rwgm-dock-x) - (var(--rwgm-dock-size) + var(--rwgm-dock-gap)) * 2)!important;
    right:auto!important;width:min(330px,calc(100vw - 20px))!important;bottom:calc(100% + 10px)!important;
    max-height:min(380px,calc(var(--rwgm-height,78vh) - 180px))!important;
  }
  .rwgm:not(.is-immersive):not(.is-pseudo-fullscreen) .rwgm__audio>div{
    position:absolute!important;left:calc(10px - var(--rwgm-dock-x) - var(--rwgm-dock-size) - var(--rwgm-dock-gap))!important;
    right:auto!important;width:min(310px,calc(100vw - 20px))!important;bottom:calc(100% + 10px)!important;
  }
}
/* Landscape content must use the same header height as the actual controls. */
@media(hover:none) and (pointer:coarse) and (orientation:landscape){
  .rwgm.is-phone-landscape .rwgm__toolbar{height:64px!important;min-height:64px!important;padding:7px 10px!important}
  .rwgm.is-phone-landscape .rwgm__actions>button,.rwgm.is-phone-landscape .rwgm__actions>div>.rwgm__btn{
    width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;grid-template-rows:1fr!important;
  }
  .rwgm.is-phone-landscape .rwgm__actions>button>small,.rwgm.is-phone-landscape .rwgm__actions>div>.rwgm__btn>small{display:none!important}
  .rwgm.is-phone-landscape .rwgm__workspace{padding-top:64px!important}
  .rwgm.is-phone-landscape .rwgm__gamepanel{top:64px!important}
}
@media(hover:none) and (pointer:coarse) and (orientation:landscape){
  /* The open hub covers the right dock; use the free space beside the joystick. */
  .rwgm.is-phone-landscape:not(.is-sidebar-hidden) .rwgm__map-phone{left:112px!important;right:auto!important}
  .rwgm.is-phone-landscape:not(.is-sidebar-hidden) .rwgm__audio{left:calc(112px + var(--rwgm-dock-size) + var(--rwgm-dock-gap))!important;right:auto!important}
  .rwgm.is-phone-landscape:not(.is-sidebar-hidden) .rwgm__voice{left:calc(112px + (var(--rwgm-dock-size) + var(--rwgm-dock-gap)) * 2)!important;right:auto!important}
  .rwgm.is-phone-landscape .rwgm__voice-panel,.rwgm.is-phone-landscape .rwgm__audio>div{position:fixed!important;left:10px!important;right:auto!important;width:min(330px,calc(100vw - 20px))!important;bottom:94px!important;max-height:calc(100dvh - 166px)!important;overflow:auto}
}

/* Regional ground texture preference in Map style. */
.rwgm .rwgm__ground-texture-option{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;padding:12px;border:1px solid #506954;border-radius:10px;background:#14271e;color:#dbe9dc;font-size:13px}
.rwgm .rwgm__ground-texture-option input{width:20px;height:20px;flex:0 0 20px;margin:1px 0;accent-color:#78a75c}
.rwgm .rwgm__ground-texture-option span{display:grid;gap:4px}
.rwgm .rwgm__ground-texture-option small{font-size:11px;line-height:1.5;color:#a9bcae}
