.loading { display: grid; place-items: center; min-height: 50vh; }
.loading span {
    position: relative;
    width: 12rem;
    height: .35rem;
    border-radius: .4rem;
    overflow: hidden;
    background: rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
}
.loading span::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    border-radius: .4rem;
    background: linear-gradient(90deg, rgba(16, 181, 176, 0), var(--tq), rgba(16, 181, 176, 0));
    animation: loadband 1.2s var(--ease) infinite;
}
@keyframes loadband { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.toasts { position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 90; display: grid; gap: .6rem; }
.toasts .notice { position: static; }

.who.link, .who__out.link { background: none; border: 0; padding: 0; cursor: pointer; }
.who--in.link { font-size: 1rem; }
button.link { font: inherit; }

.foot__legal { grid-column: 1 / -1; display: grid; gap: .4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .86rem; }
.foot__legal p:last-child { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot__legal a { color: var(--soft); text-decoration: underline; text-underline-offset: .2em; }
.foot__legal a:hover { color: var(--paper); }

html.is-demo body::before {
    content: "Demo mode, sample scripts only";
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 95;
    padding: .45rem .8rem;
    border-radius: .6rem;
    font-weight: 600;
    font-size: .82rem;
    color: var(--silver-ink);
    background: linear-gradient(180deg, #f2f5f5, var(--silver-2));
    box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .4);
    pointer-events: none;
}

@media (max-width: 640px) {
    .toasts { left: 1rem; right: 1rem; bottom: 1rem; }
}

.powered {
    display: inline-grid;
    grid-template-columns: 2.6rem auto;
    gap: .85rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: .7rem 1.1rem .7rem .7rem;
    border-radius: .85rem;
    background: rgba(0, 0, 0, .25);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04);
    transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.powered:hover { background: rgba(0, 0, 0, .35); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(16, 181, 176, .3); }
.powered__ico {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .7rem;
    color: var(--tq-ink);
    background: radial-gradient(70% 140% at 0% 0%, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, var(--tq-hi), var(--tq) 40%, var(--tq-2));
    box-shadow: 0 .4rem 1rem rgba(16, 181, 176, .2), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.powered__ico svg { width: 1.3rem; height: 1.3rem; }
.powered__ico svg path, .powered__ico svg rect { stroke-width: 1.8; }
.powered__text { display: grid; gap: .1rem; }
.powered__text strong { font-weight: 700; font-size: 1.02rem; color: var(--paper); }
.powered__text span { color: var(--soft); font-size: .88rem; }
.foot__powered { color: var(--paper); font-weight: 600; }

.note--top { margin: 0 0 1.5rem; }
.view-list > .note--top + .empty { padding-top: 1.5rem; }

@media (max-width: 640px) {
    .powered { display: grid; width: 100%; }
}

.rich h1, .rich h2, .rich h3, .rich h4, .rich h5, .rich h6 { margin-bottom: 0; }
.rich h5 + *, .rich h6 + * { margin-top: .6rem; }
.rich p + p { margin-top: .45rem; }
