/* ==========================================================================
   Стаффбаза — каркас приложения и экраны
   ========================================================================== */

/* --- Загрузчик до старта JS ---------------------------------------------- */

#boot {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity var(--t-slow) var(--ease), visibility var(--t-slow);
}

#boot.is-hidden { opacity: 0; visibility: hidden; }

.boot__mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: var(--r-lg);
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.35);
    animation: boot-pulse 1.6s var(--ease) infinite;
}

@keyframes boot-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 28px rgba(79, 70, 229, 0.35); }
    50%      { transform: scale(1.06); box-shadow: 0 14px 38px rgba(79, 70, 229, 0.5); }
}

/* --- Каркас --------------------------------------------------------------- */

.app { display: flex; flex-direction: column; min-height: 100dvh; }
.app[hidden] { display: none; }

/* Верхняя панель */
.appbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
    padding: 0 14px;
    padding-top: env(safe-area-inset-top);
    background: var(--surface-glass);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.appbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.appbar__brand:hover { text-decoration: none; }

.brand__mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: var(--r-xs);
    background: var(--gradient);
    color: #fff;
}

.brand__mark .icon { width: 18px; height: 18px; }

.appbar__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appbar__actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(0.92); }

.icon-btn__badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--danger);
    color: #fff;
    font-size: 0.63rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--surface);
    animation: scale-in var(--t) var(--ease-spring) both;
}

/* Боковое меню на десктопе */
.sidebar {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    padding: 18px 12px;
    border-right: 1px solid var(--border);
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
}

.sidebar__group + .sidebar__group { margin-top: 22px; }

.sidebar__label {
    padding: 0 12px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 550;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.nav-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }

.nav-link.is-active {
    background: var(--primary-soft);
    color: var(--primary-soft-text);
    font-weight: 650;
}

.nav-link__count {
    margin-left: auto;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--danger);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Нижняя навигация на телефоне */
.tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid var(--border);
}

.tabbar__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding-top: 6px;
    color: var(--text-faint);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color var(--t) var(--ease);
}

.tabbar__item:hover { text-decoration: none; }
.tabbar__item.is-active { color: var(--primary); }

.tabbar__item .icon { transition: transform var(--t-slow) var(--ease-spring); }
.tabbar__item.is-active .icon { transform: translateY(-2px) scale(1.08); }

.tabbar__item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    width: 26px;
    height: 3px;
    border-radius: 0 0 var(--r-full) var(--r-full);
    background: var(--gradient);
    animation: scale-in var(--t) var(--ease-spring) both;
}

.tabbar__badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 20px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: var(--r-full);
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
}

/* Контент */
.main {
    flex: 1 1 auto;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 18px 14px calc(var(--tabbar-h) + 28px);
}

@media (min-width: 900px) {
    .sidebar { display: block; }
    .tabbar { display: none; }

    .main {
        padding: 26px 32px 48px;
        padding-left: calc(var(--sidebar-w) + 32px);
        max-width: calc(var(--content-max) + var(--sidebar-w));
    }

    .appbar { padding: 0 24px; }
}

/* Переход между экранами */
.screen { animation: screen-in 300ms var(--ease-out) both; }

@keyframes screen-in {
    from { opacity: 0; transform: translateY(10px); }
}

.screen__head { margin-bottom: 18px; }

.screen__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

.screen__sub { margin-top: 5px; color: var(--text-muted); font-size: 0.9rem; }

.section { margin-top: 24px; }

.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.section__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* --- Экран входа ---------------------------------------------------------- */

.auth {
    display: grid;
    min-height: 100dvh;
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    .auth { grid-template-columns: 1.05fr 0.95fr; }
}

.auth__hero {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
    background: var(--gradient);
    color: #fff;
    overflow: hidden;
}

@media (min-width: 980px) {
    .auth__hero { display: flex; }
}

.auth__hero::before,
.auth__hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(2px);
}

.auth__hero::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -120px;
    animation: float-a 16s var(--ease) infinite;
}

.auth__hero::after {
    width: 300px;
    height: 300px;
    bottom: -90px;
    left: -70px;
    background: rgba(255, 255, 255, 0.09);
    animation: float-b 20s var(--ease) infinite;
}

@keyframes float-a {
    50% { transform: translate(-30px, 40px) scale(1.08); }
}

@keyframes float-b {
    50% { transform: translate(40px, -30px) scale(1.12); }
}

.auth__hero > * { position: relative; z-index: 1; }

.auth__pitch h1 {
    max-width: 15ch;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.auth__pitch p {
    margin-top: 16px;
    max-width: 40ch;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.auth__points { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }

.auth__point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    animation: fade-up 600ms var(--ease-out) both;
    animation-delay: calc(var(--i) * 110ms + 180ms);
}

.auth__point-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: var(--r-xs);
    background: rgba(255, 255, 255, 0.18);
}

.auth__point-mark .icon { width: 16px; height: 16px; }

.auth__form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 20px calc(32px + env(safe-area-inset-bottom));
}

.auth__card {
    width: 100%;
    max-width: 404px;
    margin: 0 auto;
    animation: fade-up 480ms var(--ease-out) both;
}

.auth__logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 26px;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth__logo .brand__mark { width: 38px; height: 38px; border-radius: var(--r-sm); }
.auth__logo .brand__mark .icon { width: 21px; height: 21px; }

.auth__switch {
    margin-top: 22px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth__demo {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px dashed var(--border-strong);
    font-size: 0.79rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.auth__demo code {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.94em;
    color: var(--text);
}

/* --- Карточка мероприятия ------------------------------------------------- */

.event-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 17px;
    text-align: left;
    width: 100%;
    color: inherit;
}

.event-card:hover { text-decoration: none; }

.event-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.event-card__title {
    font-size: 1.04rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.event-card__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.event-card__meta-row { display: flex; align-items: center; gap: 7px; }
.event-card__meta-row .icon { width: 15px; height: 15px; color: var(--text-faint); }

.event-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
}

.rate-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-variant-numeric: tabular-nums;
}

.rate-tag__value { font-size: 1.06rem; font-weight: 700; color: var(--money); letter-spacing: -0.02em; }
.rate-tag__unit { font-size: 0.76rem; color: var(--text-faint); font-weight: 550; }

/* --- Позиция и смены ------------------------------------------------------ */

.position {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.position__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 17px;
    cursor: pointer;
    transition: background-color var(--t-fast);
}

.position__head:hover { background: var(--surface-2); }

.position__title { font-size: 1rem; font-weight: 650; letter-spacing: -0.015em; }

.position__meta {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.position__meta-item { display: flex; align-items: center; gap: 5px; }
.position__meta-item .icon { width: 14px; height: 14px; color: var(--text-faint); }

.position__chevron {
    color: var(--text-faint);
    transition: transform var(--t) var(--ease);
}

.position.is-open .position__chevron { transform: rotate(180deg); }

.position__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t-slow) var(--ease-out);
}

.position.is-open .position__body { grid-template-rows: 1fr; }

.position__body > div { overflow: hidden; }

.position__inner {
    padding: 0 17px 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.position__desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 2px;
}

.shift-list { display: flex; flex-direction: column; gap: 8px; }

.shift {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid transparent;
    transition: border-color var(--t-fast), background-color var(--t-fast);
}

.shift:hover { border-color: var(--border-strong); }
.shift.is-mine { background: var(--primary-soft); }
.shift.is-full { opacity: 0.62; }

.shift__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 46px;
    flex: none;
    padding: 5px 0;
    border-radius: var(--r-sm);
    background: var(--surface);
    border: 1px solid var(--border);
}

.shift__day { font-size: 1.06rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.shift__mon { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.shift__dow { font-size: 0.6rem; color: var(--text-faint); }

.shift__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

.shift__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.shift__slots {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.shift__slots .meter { width: 62px; flex: none; }

/* --- Запись оператора ----------------------------------------------------- */

.booking {
    display: flex;
    gap: 14px;
    padding: 15px 16px;
}

.booking__stripe {
    width: 4px;
    flex: none;
    border-radius: var(--r-full);
    background: var(--border-strong);
}

.booking--pending   .booking__stripe { background: var(--warn); }
.booking--confirmed .booking__stripe { background: var(--success); }
.booking--completed .booking__stripe { background: var(--info); }
.booking--rejected  .booking__stripe,
.booking--no_show   .booking__stripe { background: var(--danger); }

.booking__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 9px; }

.booking__title { font-size: 0.98rem; font-weight: 650; letter-spacing: -0.015em; }
.booking__event { font-size: 0.83rem; color: var(--text-muted); }

.booking__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.booking__fact { display: flex; align-items: center; gap: 6px; }
.booking__fact .icon { width: 14px; height: 14px; color: var(--text-faint); }

.booking__note {
    padding: 9px 11px;
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.booking__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Плитки статистики ---------------------------------------------------- */

.stat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px 16px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: left;
    color: inherit;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

a.stat:hover, button.stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.stat__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.stat__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: var(--gradient-soft);
    color: var(--primary);
}

.stat__icon .icon { width: 18px; height: 18px; }
.stat__icon--warn    { background: var(--warn-soft);    color: var(--warn-soft-text); }
.stat__icon--success { background: var(--success-soft); color: var(--success-soft-text); }
.stat__icon--danger  { background: var(--danger-soft);  color: var(--danger-soft-text); }
.stat__icon--info    { background: var(--info-soft);    color: var(--info-soft-text); }

.stat__value {
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.stat__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 550; }

/* --- Таблица (админка, десктоп) ------------------------------------------- */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
}

.table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }

.table th {
    position: sticky;
    top: 0;
    padding: 11px 14px;
    background: var(--surface-2);
    text-align: left;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color var(--t-fast); }
.table tbody tr:hover { background: var(--surface-2); }

/* --- Плашка-предупреждение ----------------------------------------------- */

.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--info);
    font-size: 0.86rem;
    line-height: 1.55;
    animation: fade-up 400ms var(--ease-out) both;
}

.notice--warn   { border-left-color: var(--warn); }
.notice--danger { border-left-color: var(--danger); }
.notice--success { border-left-color: var(--success); }

.notice__icon { flex: none; color: var(--info); margin-top: 1px; }
.notice--warn   .notice__icon { color: var(--warn); }
.notice--danger .notice__icon { color: var(--danger); }
.notice--success .notice__icon { color: var(--success); }

.notice strong { display: block; margin-bottom: 2px; font-weight: 650; }

/* --- Уведомления ---------------------------------------------------------- */

.notif {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--t-fast);
}

.notif:last-child { border-bottom: 0; }
.notif.is-unread { background: var(--primary-soft); }

.notif__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: var(--r-sm);
    background: var(--surface-2);
    color: var(--text-muted);
}

.notif__title { font-size: 0.9rem; font-weight: 650; }
.notif__body { margin-top: 3px; font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; }
.notif__time { margin-top: 5px; font-size: 0.74rem; color: var(--text-faint); }

/* --- Профиль -------------------------------------------------------------- */

.profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.profile-head__name { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.02em; }

.form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid--full { grid-template-columns: 1fr; }
.form-grid > .field--wide { grid-column: 1 / -1; }

/* --- Прочее --------------------------------------------------------------- */

.divider { height: 1px; background: var(--border); border: 0; }

/* Одни и те же данные показываем по-разному: на телефоне карточками,
   на десктопе таблицей. Переключение только классами — инлайновый
   display перебил бы медиазапрос. */
.on-mobile  { display: block; }
.on-desktop { display: none; }

@media (min-width: 900px) {
    .on-mobile  { display: none; }
    .on-desktop { display: block; }
}

/* Строка отчёта без оператора — её и надо замечать первой. */
.table tr.is-gap td { background: var(--warn-soft); }

.day-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Плашка «нет связи» висит поверх контента — сдвигаем содержимое вниз,
   иначе она накрывает заголовок экрана. */
body.is-offline .main {
    padding-top: 58px;
}

.offline-bar {
    position: fixed;
    left: 50%;
    top: calc(var(--header-h) + 10px + env(safe-area-inset-top));
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: var(--r-full);
    background: var(--warn-soft);
    color: var(--warn-soft-text);
    border: 1px solid var(--warn);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transform: translateX(-50%);
    animation: fade-down var(--t-slow) var(--ease-spring) both;
}

/* Пока висит баннер установки, добавляем контенту место под ним. */
body.has-install-prompt .main {
    padding-bottom: calc(var(--tabbar-h) + 112px);
}

@media (min-width: 900px) {
    body.has-install-prompt .main { padding-bottom: 48px; }
}

.install-prompt {
    position: fixed;
    left: 50%;
    bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(430px, calc(100vw - 24px));
    padding: 13px 15px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%);
    animation: fade-up var(--t-slow) var(--ease-spring) both;
}

@media (min-width: 900px) {
    .install-prompt { bottom: 22px; left: auto; right: 22px; transform: none; }
}

.pull-hint {
    display: grid;
    place-items: center;
    height: 0;
    overflow: hidden;
    color: var(--text-faint);
    transition: height var(--t) var(--ease);
}

.pull-hint.is-active { height: 42px; }
