/* City at Play 004: a silent round window between two squares. */
.city-portals { width: 100%; min-width: 0; color: var(--text-color); }
.city-portals .city-portals-stage { position: relative; width: 100%; }
.city-portals .city-portals-scene { display: block; width: 100%; height: auto; overflow: visible; }
.city-portals .city-portals-ground { fill: none; stroke: var(--border-color); stroke-width: 1; }
.city-portals .city-portals-plinth { fill: var(--background-color); stroke: var(--primary-color); stroke-opacity: .32; stroke-width: 1; }
.city-portals .city-portals-ring { fill: none; stroke: var(--primary-color); stroke-opacity: .42; stroke-width: 9; }
.city-portals .city-portals-window { fill: none; stroke: var(--primary-color); stroke-opacity: .55; stroke-width: 1; }
.city-portals .city-portals-elsewhere { fill: color-mix(in srgb, var(--sea-color) 12%, var(--surface-color)); }
.city-portals .city-portals-skyline { fill: none; stroke: var(--primary-color); stroke-opacity: .26; stroke-width: 1; stroke-linejoin: round; }
.city-portals .city-portals-glint { fill: none; stroke: var(--background-color); stroke-opacity: .8; stroke-width: 2; stroke-linecap: round; }
.city-portals .city-portals-here { fill: var(--primary-color); }
.city-portals .city-portals-there { fill: color-mix(in srgb, var(--sea-color) 65%, var(--text-color)); }
.city-portals .city-portals-selection { fill: none; stroke: var(--primary-color); stroke-width: 1.25; stroke-dasharray: 2 3; opacity: 0; }
.city-portals .city-portals-here.is-focused .city-portals-selection { opacity: 1; }
.city-portals .city-portals-here.is-hovered > path,
.city-portals .city-portals-here.is-focused > path { stroke: var(--primary-color); stroke-width: 1.4; paint-order: stroke; }
.city-portals .city-portals-targets { position: absolute; inset: 0; pointer-events: none; }
.city-portals .city-portals-target {
    position: absolute;
    display: block;
    width: max(44px, 8%);
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    pointer-events: auto;
    touch-action: none;
    cursor: grab;
    transform: translate(-50%, -100%);
    -webkit-tap-highlight-color: transparent;
}
.city-portals .city-portals-target.is-dragging { cursor: grabbing; }
/* Focus is drawn around the figure's footprint, never a box. */
.city-portals .city-portals-target:focus-visible { outline: none; }
@media (max-width: 600px) {
    .city-portals .city-portals-scene { min-height: 200px; }
}
