/* Ice roads, trails and paths (shared by both sites; js/routes.js draws them). Compact: one line per route. */
.route-empty { margin: 0.25rem 0 0.75rem; line-height: 1.4; font-size: 0.9rem; color: var(--text-muted); }
.route-list { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.6rem; }
.route-row {
    display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 48px; padding: 0.4rem 0.6rem;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
    color: var(--text-main); font-family: inherit; text-align: left; cursor: pointer;
}
.route-main { display: flex; flex-direction: column; min-width: 0; }
.route-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-sub { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.route-dot { flex: 0 0 auto; display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: 0.35rem; }
.route-row .route-dot { margin-right: 0; }
.route-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.5rem; }
.route-tag { font-size: 0.72rem; font-weight: 500; padding: 0.15rem 0.5rem; border-radius: 6px; background: var(--fill, var(--card-bg)); color: var(--text-muted); }
.route-now { font-weight: 700; margin-bottom: 0.4rem; }
.route-checkins { list-style: none; margin: 0.4rem 0 0.6rem; padding: 0; font-size: 0.85rem; }
.route-checkins li { padding: 0.3rem 0; border-top: 1px solid var(--border); }
.route-note { color: var(--text-muted); font-size: 0.8rem; margin: -0.2rem 0 0.2rem 1.1rem; }
.route-actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.route-btn {
    flex: 1; min-height: 44px; padding: 0 0.8rem; border-radius: 10px; border: 1px solid var(--border);
    background: var(--card-bg); color: var(--text-main); font-family: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.route-btn.primary { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }
.route-form { display: flex; flex-direction: column; gap: 0.45rem; }
.route-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-top: 0.2rem; }
.route-form .chip span { min-height: 40px; padding: 0 0.75rem; font-size: 0.88rem; }
.route-text, .route-inline input {
    min-height: 44px; padding: 0 0.75rem; border-radius: 10px; border: 1px solid var(--border);
    background: var(--card-bg); color: var(--text-main); font-family: inherit; font-size: 1rem; box-sizing: border-box;
}
.route-text { width: 100%; }
.route-inline { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.85rem; }
.route-inline input { width: 6rem; }
.route-hint { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.route-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* While drawing or recording: one bar at the top of the map */
.route-draw-bar {
    position: fixed; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 10px; right: 10px; z-index: 1600;
    display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.4rem 0.4rem 0.8rem; max-width: 560px; margin: 0 auto;
    background: var(--bg); color: var(--text-main); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 4px 20px var(--shadow); font-weight: 600; font-size: 0.9rem;
}
.route-draw-bar span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.route-draw-bar small { font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }
.route-draw-bar button {
    min-height: 44px; min-width: 44px; padding: 0 0.7rem; border-radius: 10px; border: 1px solid var(--border);
    background: var(--card-bg); color: var(--text-main); font-family: inherit; font-weight: 700; cursor: pointer;
}
.route-draw-bar button[data-draw="done"] { background: var(--accent); color: var(--btn-text); border-color: var(--accent); }
.route-draw-bar button:disabled { opacity: 0.4; }
.route-checkins .route-note { margin-top: 0; }

/* Access points (js/access.js): a square pin so it never reads as an ice report, and the list and card above */
.access-pin {
    width: 30px; height: 30px; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    border-radius: 9px; border: 2px solid #fff; color: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); cursor: pointer;
}
.access-pin.stale { border-style: dashed; }
.access-clear {
    float: right; min-width: 32px; min-height: 32px; margin: -0.3rem 0; border: 0; border-radius: 8px;
    background: transparent; color: var(--text-muted); font-size: 0.9rem; cursor: pointer;
}
.route-hint[hidden], [data-access-when][hidden] { display: none; }
