    /* ── Tourtyp Picker (Walk/Hike) ── */
    .tour-mode-picker {
      display: flex;
      gap: .25rem;
      justify-content: center;
      margin-bottom: .35rem;
    }
    .tour-mode-btn {
      background: none;
      border: 1.5px solid transparent;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 600;
      padding: .28rem .72rem;
      border-radius: 20px;
      cursor: pointer;
      font-family: inherit;
      transition: color .15s, border-color .15s, background .15s;
      -webkit-tap-highlight-color: transparent;
    }
    .tour-mode-btn.active {
      border-color: var(--line-strong);
      color: var(--text);
      background: rgba(255,255,255,.07);
    }
    .tour-mode-btn:not(.active):hover { color: var(--accent); }
    .tour-mode-btn:disabled { opacity: .5; cursor: not-allowed; }
    .tour-mode-btn:not(.active):disabled:hover { color: var(--muted); }

    /* Toggle switch */
    .toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
    .toggle-switch input { opacity: 0; width: 0; height: 0; }
    .toggle-track {
      position: absolute; inset: 0; border-radius: 22px;
      background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s;
    }
    .toggle-track::before {
      content: ''; position: absolute; width: 16px; height: 16px;
      left: 3px; top: 3px; border-radius: 50%;
      background: var(--muted); transition: transform .2s, background .2s;
    }
    input:checked + .toggle-track { background: var(--accent-green); }
    input:checked + .toggle-track::before { transform: translateX(18px); background: #fff; }

    /* Finder radio-style button */
    .btn-finder-toggle {
      font-size: .78rem; font-weight: 600; font-family: inherit;
      padding: .3rem .75rem; border-radius: 20px; cursor: pointer;
      border: 1.5px solid var(--line-strong); background: none;
      color: var(--muted); transition: all .15s;
    }
    .btn-finder-toggle.on {
      background: var(--accent-green); border-color: var(--accent-green);
      color: #07110d;
    }

    /* Profile edit screen */
    #screen-profile-edit { padding: 1.5rem 1.25rem 3rem; }
    #screen-profile-edit.screen.active { display: block; }
    .edit-section { margin-bottom: 1.5rem; }
    .edit-label { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
    .edit-input {
      width: 100%; box-sizing: border-box;
      background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
      border-radius: 12px; color: var(--text); font-size: .95rem;
      padding: .7rem 1rem; font-family: inherit; outline: none;
    }
    .edit-input:focus { border-color: var(--accent); }
    .address-suggest-list {
      position: absolute; left: 0; right: 0; top: calc(100% - .25rem); z-index: 20;
      background: var(--bg-elevated, #16241f); border: 1px solid var(--line-strong);
      border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .address-suggest-item {
      padding: .6rem 1rem; font-size: .9rem; color: var(--text); cursor: pointer;
    }
    .address-suggest-item:hover, .address-suggest-item:focus { background: rgba(255,255,255,.08); }
    .address-suggest-item + .address-suggest-item { border-top: 1px solid var(--line-strong); }
    .edit-members { display: flex; flex-direction: column; gap: .5rem; }
    .edit-member-row {
      display: flex; align-items: center; gap: .6rem;
      font-size: .9rem; color: var(--text);
    }
    .member-avatar {
      width: 30px; height: 30px; border-radius: 50%;
      background: var(--accent-lt); color: var(--accent);
      display: flex; align-items: center; justify-content: center;
      font-size: .75rem; font-weight: 700; flex-shrink: 0;
    }
    .invite-url-box {
      background: rgba(255,255,255,.05); border: 1px solid var(--line-strong);
      border-radius: 10px; padding: .6rem .9rem; font-size: .78rem;
      color: var(--muted); word-break: break-all; margin-top: .4rem;
    }
    .btn-delete-profile {
      background: none; border: none; color: var(--red); font-size: .85rem;
      cursor: pointer; font-family: inherit; margin-top: 1.5rem; padding: 0;
    }


