:root{
  --desk:#0f7f7f; --face:#c3c3c3; --hi:#ffffff; --lo:#7d7d7d; --dark:#101010; --title:#0a1e86; --title-off:#7d7d7d;
  --field:#ffffff; --sel:#0a1e86; --warn:#b3261e; --up:#0a6a1a; --down:#a01818; --news:#5a3a00;
  --fs:13px; --tap:26px;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--desk);color:var(--dark);font:var(--fs)/1.3 Tahoma,"MS Sans Serif",Verdana,Arial,sans-serif;overflow:hidden;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
p{margin:0 0 8px}
button,input,select{font:inherit;color:inherit}
button{background:var(--face);border:2px solid;border-color:var(--hi) var(--dark) var(--dark) var(--hi);padding:2px 10px;min-height:var(--tap);cursor:pointer}
button:active:not(:disabled){border-color:var(--dark) var(--hi) var(--hi) var(--dark)}
button:disabled{color:var(--lo);cursor:default}
button:focus-visible,input:focus-visible,select:focus-visible,.row:focus-visible{outline:1px dotted var(--dark);outline-offset:-4px}
button.strong{font-weight:700;min-width:64px}
button.hot{color:#a00000;font-weight:700}
#w-file{width:min(430px,calc(100% - 12px));z-index:25}
#file-body h3{margin:10px 0 3px;font-size:12px;text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid #808080}
#file-body h3:first-child{margin-top:0}
#file-body .kv{display:flex;justify-content:space-between;gap:10px;padding:1px 0}
#file-body .kv b{font-variant-numeric:tabular-nums}
#file-body .line{margin-top:5px;flex-wrap:wrap;gap:5px}
.b.leave{color:#a01818;text-decoration:underline;cursor:pointer}
.ptag{font-style:normal;font-size:9px;font-weight:700;letter-spacing:.5px;padding:1px 4px;margin-right:5px;vertical-align:1px;border:1px solid}
.ptag.cheap{background:#d8ffd8;color:#064a12;border-color:#0a6a1a}
.ptag.high{background:#ffe0dc;color:#7a1010;border-color:#a01818}
#toast.win{background:#d8ffd8;border-color:#0a6a1a;color:#064a12;font-weight:700}
#toast.loss{background:#ffe0dc;border-color:#a01818;color:#7a1010;font-weight:700}
.fb{margin:8px 0 4px;padding:6px 8px;background:#fffbe6;border:1px solid #808080}
.fb .line{margin-top:4px;flex-wrap:wrap;gap:4px}
.fb input{flex:1;min-width:120px}
#w-fb{z-index:25}
.grp.real{background:#0a6a1a;color:#fff}
.grp.rivals{background:#404040;color:#fff;margin-top:6px}
.grp.city{font-weight:700;padding-left:8px}
.b.real{font-weight:700}
.b.nobody{color:#606060;font-style:italic;cursor:default}
.tb .x{cursor:pointer;padding:2px 6px;margin:-2px -4px -2px 0}
.tb .x:hover{background:rgba(255,255,255,.25)}
#w-connect .tb .x,#w-nag .tb .x,#w-wait .tb .x,#w-knock .tb .x,#w-chase .tb .x,#w-cops .tb .x,#w-stick .tb .x{visibility:hidden}
button.linkish{border:0;background:none;padding:0 2px;min-height:0;color:#0a1e86;text-decoration:underline;cursor:pointer}
.startin{align-items:center;gap:6px}
.startin select{min-width:0;flex:0 1 auto}
.perks{margin:8px 0}
.perks li{margin:2px 0}
.tiers{display:grid;grid-template-columns:1fr;gap:5px;margin:8px 0}
.tier{display:grid;grid-template-columns:64px 1fr;column-gap:8px;text-align:left;align-items:center;padding:5px 8px}
.tier b{font-size:16px;grid-row:1 / 3}
.tier span{font-weight:700}
.tier small{color:#404040;font-size:11px;line-height:1.25}
.tier.on{border-color:var(--dark) var(--hi) var(--hi) var(--dark);background:#fffbe6;outline:2px solid #0a1e86;outline-offset:-4px}
.tier:disabled{opacity:.55}
#score-reg{margin:6px 0;padding:4px 6px;background:#fffbe6;border:1px solid #808080;cursor:pointer}
#b-buy.flash,#b-sell.flash{outline:3px dotted #c01818;outline-offset:2px;background:#ffe9a8}
#banner{cursor:pointer}
#buddy-note.wanted{background:#2a0b0b;color:#ffd9d9;border:1px solid #c01818;padding:4px 6px;font-weight:700}
#score-reg:not([hidden]){display:flex;gap:8px;align-items:center}
#score-reg img.face{width:40px;height:40px;flex:none;image-rendering:pixelated;border:1px solid #404040}
#w-reg{width:min(430px,calc(100% - 12px));z-index:26}
#w-nag{z-index:27}
.line.travel{display:none}
ol.steps{margin:10px 0 8px;padding-left:22px}
ol.steps li{margin:3px 0}
.dim{color:#404040;font-size:12px;margin-bottom:8px}
#w-intro{z-index:24}
#rows .row{column-gap:8px}
.legal{font-size:11px;color:#404040;margin-top:6px;line-height:1.35}
.legal a{color:#0a1e86}
#smenu a.mlink{display:block;padding:5px 12px;color:inherit;text-decoration:none}
#smenu a.mlink:hover{background:var(--sel);color:#fff}
.sayrow,.win .in.sayrow{display:flex;flex-direction:row;gap:10px;align-items:flex-start}
img.face{flex:none;width:96px;height:96px;image-rendering:pixelated;border:2px solid;border-color:#404040 #fff #fff #404040;background:#202040}
.saybody{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;min-height:96px;justify-content:space-between}
.dlg.say{top:84px;transform:translateX(-50%);width:min(390px,calc(100% - 16px));z-index:22}
#say-more{color:#606060;font-size:11px}
#cops-text{font-weight:700;padding-top:4px}
.ticon{display:inline-block;width:16px;height:16px;margin-right:5px;vertical-align:-3px;image-rendering:pixelated;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2016'%20shape-rendering%3D'crispEdges'%3E%3Crect%20x%3D'3'%20y%3D'1'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'10'%20y%3D'1'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'3'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'4'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'9'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'10'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'11'%20y%3D'2'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'3'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'4'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'5'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'6'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'7'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'8'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'9'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'10'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'11'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'12'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'13'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'14'%20y%3D'3'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'3'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'4'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'5'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'6'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'7'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'8'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'9'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'10'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'11'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'12'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'13'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'14'%20y%3D'4'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'3'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'4'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'5'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'6'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'7'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'8'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'9'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'10'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'11'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'12'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'13'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'14'%20y%3D'5'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'3'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'4'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'5'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'6'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'7'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'8'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'9'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'10'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'11'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'12'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'13'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'14'%20y%3D'6'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'4'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'6'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'8'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'9'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'10'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'11'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'12'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'13'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'7'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'4'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'6'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'8'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'9'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'10'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'11'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'12'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'13'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'8'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'4'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'6'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'8'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'9'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'10'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'11'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'12'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'13'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'9'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'4'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'6'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'8'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'9'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'10'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'11'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'12'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'13'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'10'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'4'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'6'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'8'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'9'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'10'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'11'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'12'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'13'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'11'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'4'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'6'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%237d7d7d'%2F%3E%3Crect%20x%3D'8'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'9'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'10'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'11'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ff4a3d'%2F%3E%3Crect%20x%3D'12'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'13'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'12'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'3'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'4'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'5'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'6'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'7'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'8'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'9'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'10'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'11'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'12'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'13'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23ffffff'%2F%3E%3Crect%20x%3D'14'%20y%3D'13'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'1'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'2'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'3'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'4'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'5'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'6'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'7'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'8'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'9'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'10'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'11'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'12'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'13'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3Crect%20x%3D'14'%20y%3D'14'%20width%3D'1'%20height%3D'1'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E") center/16px 16px no-repeat}
.b.past{color:#505050;cursor:default}
.row small.paid{opacity:.7;margin-left:4px;font-size:11px}
.leds{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:6px 0 4px}
.led{background:#050805;border:2px solid;border-color:#404040 #fff #fff #404040;padding:2px 5px;display:flex;justify-content:space-between;align-items:baseline;font-family:'Courier New',monospace;font-weight:700;min-width:0}
.led span{font-size:10px;text-transform:uppercase;opacity:.75}
.led b{font-size:15px;letter-spacing:1px;white-space:nowrap;overflow:hidden;text-shadow:0 0 5px currentColor}
.led.g{color:#35e05a}.led.r{color:#ff4a3d}.led.y{color:#e8d73a}
.hp{display:flex;align-items:center;gap:6px;margin:2px 0 6px}
.hp .bar{flex:1;height:14px}
.hp .bar u{background:#1a2fd0;display:block;height:100%}
.hp .bar u.low{background:#c01010}
.hp b{min-width:42px;text-align:right}
table.fin{width:100%;border-collapse:collapse;margin-bottom:6px}
table.fin td{padding:2px 4px;border-bottom:1px solid #a0a0a0}
table.fin td:last-child{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
#fin-note{margin:4px 0;min-height:2.4em}
#cops-line{min-height:2.6em;margin:4px 0;font-weight:700}
#w-cops,#w-fin{width:min(340px,94vw)}
.b.owed{color:#a00000;font-weight:700}
#city-blurb{font-style:italic;margin:4px 0 6px;min-height:2.4em}
#w-dial img.art{border:1px solid #404040}
button.big{font-weight:700;font-size:1.25em;padding:6px 34px}
input,select{background:var(--field);border:2px solid;border-color:var(--lo) var(--hi) var(--hi) var(--lo);min-height:var(--tap);padding:2px 4px;-webkit-user-select:text;user-select:text}
#qty{width:64px}

#desk{position:fixed;inset:0;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0)}
#icons{position:absolute;left:6px;top:10px;width:84px;display:flex;flex-direction:column;gap:14px}
.ico{background:none;border:0;color:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:2px;min-height:0}
.ico:active:not(:disabled){border:0}
.ico i{display:block;width:34px;height:28px;border:2px solid var(--dark)}
.ico .case{background:#8a5a2b;border-top-width:7px}
.ico .bin{background:#b9b9b9;border-radius:0 0 7px 7px}
.ico .sheet{background:#fff;background-image:linear-gradient(var(--lo) 1px,transparent 1px),linear-gradient(90deg,var(--lo) 1px,transparent 1px);background-size:8px 7px}

#main{position:absolute;left:98px;top:10px;right:10px;bottom:44px;display:grid;gap:10px;align-content:start;
  grid-template-columns:minmax(380px,1.35fr) minmax(200px,.8fr) minmax(210px,.85fr);
  grid-template-areas:"trade dial buddy" "msgs dial buddy";grid-template-rows:auto minmax(120px,1fr)}
#w-trade{grid-area:trade} #w-dial{grid-area:dial;align-self:start} #w-buddy{grid-area:buddy;min-height:0;display:flex;flex-direction:column} #w-msgs{grid-area:msgs;min-height:0;display:flex;flex-direction:column}
#w-buddy .in,#w-msgs .in{min-height:0;flex:1;display:flex;flex-direction:column}
#w-buddy .list,#w-msgs .list{flex:1;min-height:60px}

.win{background:var(--face);border:2px solid;border-color:var(--hi) var(--dark) var(--dark) var(--hi);padding:2px;min-width:0}
.tb{background:var(--title);color:#fff;font-weight:700;padding:3px 6px;display:flex;justify-content:space-between;gap:8px;white-space:nowrap}
@media (min-width:761px){.win[id] > .tb{cursor:move;touch-action:none;user-select:none;-webkit-user-select:none}}
@media (max-width:760px){.win{translate:none !important}}
.tb.red{background:var(--warn)}
.tb .x{font-weight:400;opacity:.85}
.in{padding:8px 6px;display:flex;flex-direction:column;gap:8px}
.field{background:var(--field);border:2px solid;border-color:var(--lo) var(--hi) var(--hi) var(--lo)}
.list{overflow-y:auto;-webkit-user-select:none;user-select:none}
.line{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.line.wrap{flex-wrap:wrap}
.row{display:grid;padding:2px 6px;cursor:pointer;white-space:nowrap;min-height:var(--tap);align-items:center}
.row span:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
.row.head{font-weight:700;cursor:default;border-bottom:1px solid var(--lo);min-height:0}
.row.sel{background:var(--sel);color:#fff}
.row.sel .up,.row.sel .down{color:#fff}
.row.off{color:var(--lo)}
.up{color:var(--up)} .down{color:var(--down)}
#cities .row{grid-template-columns:1fr auto}
#buddies .grp{font-weight:700;padding:3px 6px 1px}
#buddies .b{padding:1px 6px 1px 18px;cursor:pointer;white-space:nowrap}
#buddies .b.sel{background:var(--sel);color:#fff}
#buddies .b.me{font-weight:700}
#buddies .b.out{color:var(--lo);font-style:italic}
#log div{padding:1px 6px;-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}
#log .news{color:var(--news)}
#log .tap{cursor:pointer}
#log .tap:hover{text-decoration:underline dotted}
#cities .row.flash{outline:3px dotted #c01818;outline-offset:-3px;background:#ffe9a8;color:#101010}
#w-trade .leds,#quote,#status,#conn-status{cursor:pointer}
button.far{color:#5a5a5a}
#banner{background:#ffffcc;border:1px solid var(--dark);padding:4px 6px}
.stashrow{align-items:center;gap:6px} .stashrow.locked{background:#2a2a2a;color:#e8d9a8;border:1px dashed #b8902a;padding:3px 6px} .stashrow.locked button{background:#e8b84a;font-weight:700}
#w-reg img.face.pic{width:132px;height:96px;object-fit:cover;image-rendering:pixelated} .stashrow span{flex:1;min-width:0;font-size:12px} .stashrow button{white-space:nowrap}
.modes .scen-h{cursor:pointer;flex:1 0 100%;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-top:4px;color:#0a1e86}
.modes button.scen{border-style:dashed}
button.upd{position:fixed;left:50%;top:calc(6px + env(safe-area-inset-top,0px));transform:translateX(-50%);z-index:200;background:#ffe9a8;border:2px solid;border-color:#fff #101010 #101010 #fff;padding:8px 14px;font-weight:700;box-shadow:3px 3px 0 rgba(0,0,0,.35);white-space:nowrap}
body:not([data-on]) #task .tabb{visibility:hidden}
.heat{margin-left:auto;display:flex;gap:6px;align-items:center}
.bar{display:inline-block;width:90px;height:12px;background:var(--field);border:2px solid;border-color:var(--lo) var(--hi) var(--hi) var(--lo)}
.bar.wide{display:block;width:100%;height:16px}
.bar u{display:block;height:100%;background:var(--sel);width:0}
#heat{background:var(--warn)}

.dlg{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:min(400px,calc(100% - 24px));z-index:20;box-shadow:4px 4px 0 rgba(0,0,0,.35)}
.dlg canvas{width:100%;display:block;image-rendering:pixelated;background:#0b1030}
#w-chase,#w-stick{width:min(520px,calc(100% - 24px))}
#w-connect label{font-weight:700}
#score-list .row{grid-template-columns:auto 1fr auto;gap:10px;cursor:default}
#score-list .row span:nth-child(2){text-align:left}
#score-list .row.me{background:var(--sel);color:#fff}

#blue{position:absolute;inset:0;z-index:40;background:#0a1ea8;color:#f2f2f2;font:700 16px/1.5 "Courier New",Courier,monospace;padding:12vh 8vw;display:flex;flex-direction:column;gap:18px}
#blue em{font-style:normal;background:#f2f2f2;color:#0a1ea8;padding:0 10px}
#blue button{font:inherit;color:var(--dark);padding:6px 18px}
#boss{position:absolute;inset:0;z-index:60;background:#fff;overflow:hidden;font:12px Arial,Helvetica,sans-serif}
#boss table{border-collapse:collapse;width:100%}
#boss td{border:1px solid #c8c8c8;padding:2px 6px;text-align:right;white-space:nowrap}
#boss td:first-child,#boss tr:first-child td{background:#e4e4e4;text-align:center;font-weight:700}
.bossbar{background:#ffffe1;border-bottom:1px solid #808080;padding:6px 10px;color:#000;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}
.bossbar button{font-weight:700;padding:4px 12px}
.bossbar span{color:#606060}
#boss{cursor:pointer}
#off{position:absolute;inset:0;z-index:70;background:#000;color:#e8a000;font:700 20px/1.6 "Courier New",Courier,monospace;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}
#off button{margin-top:16px;font:13px Tahoma,Arial,sans-serif;color:var(--dark)}

#toast{position:absolute;left:50%;bottom:54px;transform:translateX(-50%);z-index:50;background:#ffffcc;border:1px solid var(--dark);padding:6px 12px;max-width:calc(100% - 24px);box-shadow:2px 2px 0 rgba(0,0,0,.3)}

#task{position:absolute;left:0;right:0;bottom:0;height:calc(34px + env(safe-area-inset-bottom,0px));padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px));background:var(--face);border-top:2px solid var(--hi);display:flex;gap:4px;align-items:stretch;z-index:30}
#task button{min-height:0;padding:0 10px;white-space:nowrap}
#clock{margin-left:auto;border:2px solid;border-color:var(--lo) var(--hi) var(--hi) var(--lo);padding:0 10px;display:flex;align-items:center;white-space:nowrap;font-variant-numeric:tabular-nums}
#smenu{position:absolute;left:2px;bottom:calc(34px + env(safe-area-inset-bottom,0px));z-index:35;background:var(--face);border:2px solid;border-color:var(--hi) var(--dark) var(--dark) var(--hi);display:flex;min-width:210px}
#smenu .side{background:var(--title);color:#fff;font-weight:700;writing-mode:vertical-rl;transform:rotate(180deg);padding:8px 3px;letter-spacing:.1em}
#smenu .items{flex:1;display:flex;flex-direction:column;padding:2px}
#smenu .items button{border:0;text-align:left;padding:6px 14px;min-height:30px}
#smenu .items button:hover,#smenu .items button:focus-visible{background:var(--sel);color:#fff;outline:0}
#smenu .items i{border-top:1px solid var(--lo);border-bottom:1px solid var(--hi);margin:3px 0}

@media (max-width:1040px){
  #main{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);grid-template-areas:"trade dial" "msgs buddy";grid-template-rows:auto minmax(140px,1fr)}
}
/* pictures and the briefcase offer sit in a corner so the prices stay usable */
.dlg.pic{left:auto;top:auto;right:14px;bottom:48px;transform:none;width:300px;z-index:18}
#buddies .grp.cartel{background:var(--title);color:#fff}
#buddies .grp.grudge{color:var(--warn)}
#buddies .b.mate{padding-left:8px}
#log .cart{color:var(--title);font-weight:700}
.chk{display:flex;align-items:center;gap:4px;white-space:nowrap}
.chk input{min-height:0}
#conn-note{background:#ffffcc;border:1px solid var(--dark);padding:4px 6px}
.mail{white-space:pre-wrap;font-family:"Courier New",Courier,monospace;padding:8px;-webkit-user-select:text;user-select:text;overflow-wrap:anywhere}
#cartel-link,#reg-code{flex:1;min-width:0}
.modes{flex-wrap:wrap}
.modes button{flex:1 1 22%}
img.art{display:block;width:100%;height:auto;image-rendering:pixelated;background:#101018}
.dlg{max-height:calc(100% - 60px);overflow-y:auto}
.modes{flex-wrap:wrap}
.modes button{flex:1;display:flex;flex-direction:column;align-items:center;padding:4px 2px;line-height:1.2;font-weight:700}
.modes button small{font-weight:400;font-size:.8em;color:var(--lo);white-space:nowrap}
.modes button.on,.sbt button.on,.sw.on{border-color:var(--dark) var(--hi) var(--hi) var(--dark);background:var(--field)}
.sbt{gap:2px}
.sbt button{flex:1;padding:2px 4px}
.gold,#buddies .b.gold{color:#8a6a00;font-weight:700}
.row.me.gold,#buddies .b.gold.sel{color:#ffe08a}
ul.plain{margin:0;padding-left:18px}
#schemes{flex-direction:column;align-items:stretch}
#schemes .sw{text-align:left}
#pp-box{min-height:44px}
#blue img.art{width:min(320px,70%);border:2px solid #f2f2f2}
#score-list{max-height:26vh}
#w-share{width:min(520px,calc(100% - 16px))}
#share-card{width:100%;height:auto;display:block;border:1px solid #404040}
#share-link{flex:1;min-width:0}
.sharegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:6px 0}
.sharegrid button{min-height:38px;padding:2px 3px}
#share-hint{flex:1;font-size:12px}
#score-beat,.beatline{background:#ffe9a8;border:1px solid #806000;color:#101010;padding:4px 7px;margin:5px 0;font-weight:700}
#w-scores img.art{max-height:16vh;object-fit:cover}
.score-go{margin:6px 0;flex-wrap:wrap}
.score-go #b-again{flex:1 0 100%}
.score-go #b-again{flex:2;min-height:44px;font-size:16px}
.score-go #b-again small{display:block;font-size:12px;font-weight:400}
#score-tip{margin:6px 0;padding:6px 8px;background:#ffffe1;border:1px solid #808080;color:#000;font-size:13px}
#score-tip b{display:block}
.score-go #b-mail{flex:1;min-height:44px}
#w-scores{width:min(440px,calc(100% - 24px))}
.sbm{align-items:center;gap:6px} .sbm label{font-weight:700} .sbm select{flex:1;min-width:0}
@media (max-width:760px){ #w-scores{position:fixed;left:4px;right:4px;width:auto;top:calc(62px + env(safe-area-inset-top,0px));bottom:calc(52px + env(safe-area-inset-bottom,0px));transform:none;max-height:none;overflow-y:auto;z-index:40} }
.nm{display:flex;gap:6px;align-items:baseline;min-width:0}
.nm small{font-size:.82em;color:var(--lo);overflow:hidden;text-overflow:ellipsis}
.row.sel .nm small{color:#d5daff}
.row{grid-template-columns:2fr .9fr .7fr .5fr}
.deal button{flex:1;min-height:calc(var(--tap) + 6px)}
#b-minus,#b-plus{min-width:var(--tap);padding:2px 0;font-weight:700}
.tabb i{font-style:normal;margin-left:5px;background:var(--title);color:#fff;padding:0 5px;font-size:.85em}
.tabb i:empty{display:none}
@media (min-width:761px){ #ms-n{display:none} #rows{max-height:calc(100vh - 500px);min-height:150px} }
#status{display:none}
body{touch-action:manipulation}

@media (max-width:760px){
  :root{--fs:15px;--tap:42px}
  .line.travel{display:flex}
  #w-dial img.art{max-height:20vh;object-fit:cover}
  #city-blurb{min-height:0}
  .line.travel button{flex:1;min-height:46px;font-size:16px}
  .leds{grid-template-columns:1fr 1fr}
  .led b{font-size:17px}
  input,select{font-size:16px}
  #icons,#clock,#hdr,#w-trade .daybar{display:none}
  #status{display:block;position:absolute;left:4px;right:4px;top:calc(4px + env(safe-area-inset-top,0px));background:var(--face);border:2px solid;border-color:var(--hi) var(--dark) var(--dark) var(--hi);padding:5px 8px 6px}
  #status .st{display:flex;gap:10px;align-items:baseline;white-space:nowrap;font-variant-numeric:tabular-nums}
  #status .st b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
  #status #st-cash{font-weight:700;color:var(--up)}
  #status #st-owe{color:var(--down)}
  #status .bar{height:8px;margin-top:5px}
  #main{left:4px;right:4px;top:calc(62px + env(safe-area-inset-top,0px));bottom:calc(52px + env(safe-area-inset-bottom,0px));display:block}
  body:not([data-on]) #main{visibility:hidden}
  #main .win{display:none;height:100%}
  body[data-tab="trade"] #w-trade,body[data-tab="dial"] #w-dial,body[data-tab="buddy"] #w-buddy,body[data-tab="msgs"] #w-msgs{display:flex;flex-direction:column}
  #main .win .in{flex:1;min-height:0;display:flex;flex-direction:column}
  #rows,#cities{flex:1;min-height:120px}
  .row{grid-template-columns:1.5fr .9fr .65fr .45fr;padding:3px 8px}
  .nm{flex-direction:column;gap:0;line-height:1.15;align-items:flex-start}
  .qtyline{flex-wrap:nowrap}
  .qtyline label{display:none}
  .qtyline #qty{flex:1;min-width:0;width:auto;text-align:center}
  .deal{flex-wrap:nowrap}
  .deal button{min-height:50px;padding:2px 4px;line-height:1.15}
  #rows .row{min-height:36px;padding:1px 8px}
  #cities .row{min-height:52px;font-size:1.05em}
  #buddies .b{padding:5px 6px 5px 18px}
  #task{height:calc(48px + env(safe-area-inset-bottom,0px))}
  #task button{flex:1;padding:0 2px}
  #task #b-start{flex:0 0 auto;padding:0 8px}
  .tabb.on{border-color:var(--dark) var(--hi) var(--hi) var(--dark);background:var(--field);font-weight:700}
  #smenu{bottom:calc(48px + env(safe-area-inset-bottom,0px))}
  #toast{bottom:auto;top:calc(68px + env(safe-area-inset-top,0px));width:max-content}
  #w-connect .big{width:100%;min-height:54px}
  #w-connect img.art{max-height:15vh;object-fit:cover;object-position:center 40%}
  #w-connect .in{display:flex;flex-direction:column}
  #w-connect .in > label[for="handle"]{order:0}
  #w-connect #handle{order:1}
  #w-connect .conn-go{order:2;margin:8px 0 4px}
  #w-connect #conn-status{order:3;font-size:13px}
  #w-connect .modes{order:4}
  #w-connect .startin{order:5}
  #w-connect #conn-note{order:6}
  #w-connect .legal{order:7}
  #w-connect .modes button{min-height:44px;padding:3px 6px}
  #blue{font-size:15px;padding:10vh 6vw}
  .dlg{top:46%}
  .modes button{flex:1 1 45%}
  .dlg.pic{left:4px;right:4px;bottom:calc(54px + env(safe-area-inset-bottom,0px));width:auto;display:grid;grid-template-columns:38% 1fr;grid-template-rows:auto 1fr}
  .dlg.pic .tb{grid-column:1 / 3}
  .dlg.pic img.art{align-self:start}
}
@media (prefers-reduced-motion:reduce){ *{scroll-behavior:auto} }

/* a phone gives the price list more room: shorter rows, and the health bar waits until you are hurt */
@media (max-width:760px){ body.hpfull #w-trade .hp{display:none} #rows .row{min-height:30px;padding:0 8px} #rows .row small{line-height:1.05}
  #w-trade > .in{overflow-y:auto} #w-trade #rows{min-height:96px}
  .stashrow.locked{padding:1px 6px} .stashrow.locked button{min-height:30px;padding:0 10px} }
#banner.payable{cursor:pointer;font-weight:700}
#quote.up{color:#0a6a1a;font-weight:700} #quote.down{color:#a01818;font-weight:700}
#b-stay.flash{outline:3px dotted #c01818;outline-offset:2px;background:#ffe9a8}
/* Nov 16, two players: "too much scrolling to see prices; the drug screen should be larger, the rest should take a backseat". On a phone the money lights are one thin row, Travel and Heat are smaller, and the price list gets the room. */
@media (max-width:760px){ #w-trade .leds{grid-template-columns:repeat(4,1fr);gap:2px;margin:2px 0} #w-trade .led{padding:0 3px;flex-direction:column;align-items:flex-start;line-height:1.05} #w-trade .led span{font-size:8px} #w-trade .led b{font-size:12px;letter-spacing:0} #b-travel{min-height:34px;padding:2px 8px} #w-trade .heat{font-size:11px} #w-trade .heat .bar{height:6px} #w-trade .line{margin-top:3px;margin-bottom:3px} }
@media (max-width:760px){ #w-scores:not(.ended) #score-list{max-height:none} #w-scores:not(.ended) #score-close-row{position:sticky;bottom:0;background:var(--face);padding:4px 0} }
/* the scores window scrolls on a phone: its title bar (and the x) stays on top of the list */
@media (max-width:760px){ #w-scores > .tb{position:sticky;top:0;z-index:3} }
