.hdk-edition-switch {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 99999;
    display: flex;
    border: 1px solid #777;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.hdk-edition-switch a {
    display: grid;
    place-items: center;
    width: 76px;
    min-height: 44px;
    color: #222;
    font-size: .875rem;
    text-decoration: none;
}
.hdk-edition-switch a[aria-current="true"] {
    background: #222;
    color: #fff;
}
.hdk-edition-switch a:focus-visible { outline: 2px solid #2976d4; outline-offset: -3px; }
.admin-bar .hdk-edition-switch { top: 58px; }
@media (max-width: 782px) {
    .admin-bar .hdk-edition-switch { top: 64px; }
}
.hdk-shah-edition, .hdk-shah-title {
    font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
    text-align: start;
    overflow-wrap: anywhere;
}
body.hdk-script-shah .hdk-shah-edition,
body.hdk-script-shah .hdk-shah-edition p {
    line-height: 2.35 !important;
    text-align: start !important;
}

.hdk-geo-credit {
    margin: 0;
    padding: 4px 12px;
    text-align: center;
    font-size: .75rem;
}
