.offlinePage [hidden],
.pwaOfflineActivity[hidden],
#offlineSettings[hidden],
#offlineInstallRequired[hidden] {
    display: none !important;
}

#bandMenu.addSpacer {
    justify-content: center;
}

.pwaOfflineActivity {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    max-width: calc(100vw - 32px);
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--highlightBackground);
    color: var(--foreground);
    box-shadow: 0 2px 10px #0005;
    font-size: 12px;
    text-align: left;
    pointer-events: none;
}

.offlineSettings {
    max-width: 700px;
    margin: 24px auto;
    padding: 20px;
    text-align: left;
    font-size: 16px;
}

.offlineSettings h1 {
    font-size: 24px;
}

.offlineSettings label {
    display: block;
    margin: 16px 0 6px;
}

.offlineSettings select {
    max-width: 100%;
    min-height: 44px;
}

.offlineSettings .offlineDownloadChoice {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.offlineDownloadChoice input {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.offlineSettings p {
    line-height: 1.6;
}

.offlineSecondary {
    font-size: 13px;
    opacity: 0.85;
}

.offlineSettingsActions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.offlineSettingsActions button {
    min-height: 44px;
    border: 1px solid var(--foreground);
    border-radius: 8px;
    background: var(--highlightBackground);
    color: var(--foreground);
    padding: 10px 16px;
    font: inherit;
    cursor: pointer;
}

.offlineDependentChoices {
    margin-left: 34px;
}

.offlineDownloadChoice:has(input:disabled) {
    opacity: 0.6;
}

.offlineNotice,
.offlineMissing {
    border-left: 3px solid var(--highlight);
    padding: 10px 14px;
    background: var(--highlightBackground);
    line-height: 1.6;
}

.offlineNotice:empty {
    display: none;
}

.offlineSettings progress {
    width: 100%;
    accent-color: var(--highlight);
}

.offlineComment {
    white-space: pre-wrap;
}

.offlineScreenReader {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.offlineHideBassTabs .chordToTab .myTab {
    display: none;
}

#effectsInfo:has(#offlineSheetEffects:empty),
#offlineSongComment:empty {
    display: none;
}


.pwaLocalMarker {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-radius: 50%;
    background-color: #35b56a;
    vertical-align: middle;
}

#bandBody .pwaUnavailableAction,
#bandBody .pwaUnavailableAction:hover {
    opacity: 0.35;
    color: var(--foreground);
    cursor: not-allowed;
}
