/* ovi/profile: the members city. Strokes are currentColor, so the host site's own ink draws the street. */
.ocity { width: 100%; margin: 0 0 40px; }
.ocity-top { margin: 12px 10px 14px; padding: 4px 0 8px; border-radius: 14px; background: rgba(128,128,128,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ocity-h { margin: 14px 14px 4px; font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.ocity-i { margin: 0 14px 12px; font-style: italic; font-size: 13.5px; opacity: .8; }
.ocity-find { display: flex; gap: 8px; margin: 0 14px 8px; }
.ocity-find input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 2px solid currentColor; background: rgba(128,128,128,.14); color: inherit; font: inherit; font-size: 16px; }
.ocity-hits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 14px 10px; }
.ocity-hits button, .ocity-me { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid currentColor; background: rgba(128,128,128,.14); color: inherit; font: 700 13px/1.1 system-ui, sans-serif; cursor: pointer; }
.ocity-note { margin: 0 14px 10px; font-size: 13px; opacity: .85; }
.ocity-note a { color: inherit; font-weight: 800; }

#ocity { position: relative; overflow-x: auto; overflow-y: hidden; height: 540px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
#ocity-in { position: relative; height: 100%; }
/* the street: a wobbly pavement line and hatching, drawn as a mask so it takes the site's ink */
#ocity-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'><path d='M0 4 C14 1 28 7 44 3 S78 6 96 3 S132 6 160 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/><path d='M6 14 l-4 10 M22 15 l-4 11 M40 14 l-3 9 M58 15 l-4 11 M75 14 l-4 10 M94 15 l-3 9 M110 14 l-4 11 M128 15 l-4 10 M146 14 l-3 11' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/><path d='M0 34 C30 32 60 37 90 34 S140 33 160 35' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' opacity='.6'/></svg>") repeat-x 0 0 / 160px 40px;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'><path d='M0 4 C14 1 28 7 44 3 S78 6 96 3 S132 6 160 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/><path d='M6 14 l-4 10 M22 15 l-4 11 M40 14 l-3 9 M58 15 l-4 11 M75 14 l-4 10 M94 15 l-3 9 M110 14 l-4 11 M128 15 l-4 10 M146 14 l-3 11' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/><path d='M0 34 C30 32 60 37 90 34 S140 33 160 35' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' opacity='.6'/></svg>") repeat-x 0 0 / 160px 40px; }
.bld { position: absolute; bottom: 36px; color: inherit; }
.bld .art { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.bld .wins { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.deco { position: absolute; bottom: 34px; pointer-events: none; }
.deco svg { display: block; overflow: visible; }
.win { position: absolute; display: block; padding: 0; margin: 0; border: 0; background: transparent; color: inherit; font: inherit; box-sizing: border-box; }
button.win { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.win svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.win.pulse { animation: opulse 1s ease-in-out 4; z-index: 5; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 3px #e0302a); }
@keyframes opulse { 50% { transform: scale(1.4) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .win.pulse { animation: none; outline: 4px solid #e0302a; } }

/* tap sizes (UI sweep) */
.ocity-note a { display: inline-block; padding: 14px 6px; margin: -10px 0; }
