/* Keep this app-switcher stylesheet identical in Diskgolf, Turnaje and Nákup. */
.app-switcher {
    --switch-bg: #f1f5fb;
    --switch-border: #dce5f1;
    --switch-ink: #233d5b;
    --switch-muted: #526780;
    --switch-icon-bg: #e1ebfa;
    --switch-accent: #2b5fa6;
    --switch-hover: #fff;
    margin: 18px 14px;
    padding: 12px;
    border: 1px solid var(--switch-border);
    border-radius: 16px;
    background: var(--switch-bg);
}
[data-theme="dark"] .app-switcher, body.dark-mode .app-switcher {
    --switch-bg: #1d2d41;
    --switch-border: #354b64;
    --switch-ink: #e8f0fc;
    --switch-muted: #b3c3d9;
    --switch-icon-bg: #2b4464;
    --switch-accent: #accdff;
    --switch-hover: #293d55;
}
.app-switcher .app-switcher-heading {
    margin: 0 0 8px;
    padding: 2px 8px;
    color: var(--switch-muted);
    font: 700 11px/1.5 system-ui, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.app-switcher .app-switch-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 66px;
    margin: 0;
    padding: 10px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: var(--switch-ink);
    font: 14px/1.4 system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
}
.app-switcher form + form { margin-top: 4px; }
.app-switcher .app-switch-link:hover { background: var(--switch-hover); }
.app-switcher .app-switch-link:focus-visible { outline: 2px solid var(--switch-accent); outline-offset: 2px; }
.app-switcher .app-switch-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 36px;
    border-radius: 10px;
    background: var(--switch-icon-bg);
    color: var(--switch-accent);
}
.app-switcher .app-switch-icon svg { display: block; width: 23px; height: 23px; }
.app-switcher .app-switch-label { display: block; min-width: 0; }
.app-switcher .app-switch-label strong { display: block; font-size: 14px; font-weight: 700; }
.app-switcher .app-switch-label small { display: block; margin-top: 2px; font-size: 11px; color: var(--switch-muted); }
.app-switcher .app-switch-arrow { display: block; width: 18px; height: 18px; color: var(--switch-accent); }
