.schnappy-wlan-notice[hidden] {
    display: none;
}

.schnappy-wlan-notice {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #102b46;
    color: #fff;
    box-shadow: 0 -2px 12px rgb(16 43 70 / 18%);
}

.schnappy-wlan-notice-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px 14px;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.schnappy-wlan-notice p {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.35;
}

.schnappy-wlan-notice a,
.schnappy-wlan-notice button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 6px;
    font: inherit;
}

.schnappy-wlan-notice a,
.schnappy-wlan-notice a:visited {
    padding: 6px 12px;
    background: #fff;
    color: #102b46;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
}

.schnappy-wlan-notice button {
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    padding: 0;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 25px;
    cursor: pointer;
}

.schnappy-wlan-notice :is(a, button):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 550px) {
    .schnappy-wlan-notice-inner { grid-template-columns: minmax(0, 1fr) auto; }
    .schnappy-wlan-notice a { grid-column: 1; justify-self: start; }
    .schnappy-wlan-notice button { grid-column: 2; grid-row: 1 / span 2; }
}
