/* Shared by the home page and the tools. */
.land { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: clamp(130px, 19vw, 230px); z-index: -1; pointer-events: none; }
.land .hill { fill: #04141A; opacity: .45; } .land .city { fill: #04161C; opacity: .78; } .land .front { fill: var(--bg); }
.land .win { fill: #F3D58A; opacity: calc(var(--night) * .95); }
.land .win:nth-child(3n) { animation: pulse 5s ease-in-out infinite; }

.lv-btn { border: 0; background: none; color: #F3D58A; font: 500 13.5px "Readex", sans-serif; cursor: pointer; padding: 8px 0; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }

/* city picker */
#city-dlg { width: min(460px, calc(100% - 32px)); max-height: min(620px, 84vh); padding: 18px; border: 1px solid var(--divider); border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
#city-dlg[open] { display: flex; flex-direction: column; gap: 12px; animation: pop .3s var(--ease); }
#city-dlg::backdrop { background: rgba(4, 18, 26, .6); backdrop-filter: blur(4px); }
#city-dlg .top { display: flex; gap: 10px; }
#city-q { flex: 1; min-width: 0; height: 50px; border-radius: 14px; border: 1px solid var(--divider); background: var(--bg); color: var(--text); padding: 0 16px; font: 16px "Readex", sans-serif; }
#city-x { flex: none; width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--divider); background: none; color: var(--text); font-size: 20px; cursor: pointer; }
#city-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 220px; }
#city-list button { width: 100%; min-height: 48px; padding: 8px 14px; border: 0; border-radius: 12px; background: none; color: var(--text); font: 16px "Readex", sans-serif; text-align: start; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
#city-list button:hover, #city-list button:focus-visible { background: color-mix(in srgb, var(--primary) 10%, transparent); }
#city-list small, #city-list .none { color: var(--text2); font-size: 13.5px; } #city-list .none { padding: 20px 14px; }
