main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.status {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    --c: var(--muted);
}

.status.online {
    --c: var(--green);
}

.status.offline {
    --c: var(--pink);
}

.status svg {
    width: min(50vmin, 280px);
    height: auto;
    fill: none;
    stroke: var(--c);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s;
}

.status svg circle {
    fill: var(--c);
    stroke: none;
}

.recheck {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.recheck svg {
    display: block;
}

.status b {
    min-height: 1.3em;
    color: var(--c);
    font: 600 clamp(22px, 6vw, 28px) var(--font);
}

.status span {
    min-height: 1.5em;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.toggle {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 14px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.toggle input {
    flex: none;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 40px;
    height: 24px;
    margin: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: background .15s;
}

.toggle input::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    transition: transform .15s;
}

.toggle input:checked {
    background: var(--btn);
}

.toggle input:checked::after {
    transform: translateX(16px);
}

.message {
    margin: 8px 0 0;
    color: var(--pink);
    font-size: 14px;
    text-align: center;
}

.message:empty {
    display: none;
}

.bookmark {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.bookmark a {
    color: inherit;
}
