/* Footkavio — feuille de style.
   Direction : un vestiaire de nuit éclairé par le turquoise. Interface à la manière d'une app iPhone :
   grand titre, listes groupées, barre d'onglets en bas. Le seul élément marquant est le tracé du
   terrain et la « date-billet » des rendez-vous ; tout le reste reste calme. */
:root {
  --night: #08111f;      /* fond */
  --shell: #0f1b2e;      /* cartes */
  --lift: #172741;       /* éléments posés sur une carte */
  --hair: #ffffff12;     /* filets */
  --ink: #f1f5fa;        /* texte */
  --mute: #8ea2bc;       /* texte secondaire */
  --turq: #3ed6c9;       /* accent */
  --turq-ink: #032522;
  --ok: #4ade9a; --warn: #f5c15c; --bad: #ff7d7d;
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, system-ui, sans-serif;
  --tabbar-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--night); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--night); color: var(--ink); font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0;
}
body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
a { color: var(--turq); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); }
h2 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: 1.04rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 640; }
small { font-size: .84em; }
.mute { color: var(--mute); } .small { font-size: .86rem; line-height: 1.45; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.xs { width: 14px; height: 14px; }

/* En-tête */
header.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: .5px solid var(--hair);
}
.brand { flex: none; } .brand img { height: 28px; display: block; }
#bar { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
#bar .space-select {
  width: auto; max-width: 100%; min-height: 36px; padding: 6px 32px 6px 14px; border-radius: 999px;
  background-color: var(--lift); border: 0; font-size: .9rem; font-weight: 600; text-overflow: ellipsis;
}

main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 8px 18px 40px; display: flex; flex-direction: column; gap: 12px; }
#view { display: flex; flex-direction: column; gap: 12px; }

/* Grand titre de page, comme sur iPhone */
.page-head { padding: 14px 2px 6px; }
.context { color: var(--mute); font-size: .88rem; font-weight: 500; }
.page-title { font-size: 2.1rem; line-height: 1.08; letter-spacing: -.03em; font-weight: 760; margin-top: 2px; overflow-wrap: anywhere; }
/* La première carte d'une rubrique sert d'introduction : on la fond dans la page et son titre
   (déjà affiché en grand) disparaît. */
#view > section.card:first-child { background: none; border: 0; padding: 0 2px 4px; box-shadow: none; }
#view > section.card:first-child > h2:first-child { display: none; }
#view > section.card:first-child:not(:has(> :not(h2))) { display: none; }

/* Barre d'onglets */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center;
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--night) 86%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: .5px solid var(--hair);
}
.tabbar button {
  flex: 1; max-width: 120px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; color: var(--mute); font: 600 .69rem var(--font); letter-spacing: .01em; cursor: pointer; border-radius: 12px;
}
.tabbar button .ic { width: 25px; height: 25px; }
.tabbar button.on { color: var(--turq); }
.tabbar button.on .ic { stroke-width: 2.2; }
.tabbar .extra, .tabbar .lbl-l, .side-head, .side-foot { display: none; }

/* Cartes et listes groupées */
.card { background: var(--shell); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 .5px var(--hair); }
.card.compact { padding: 14px 16px; }
.card.dim { opacity: .55; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.row > div:first-child, .row.who > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.row.who { justify-content: flex-start; align-items: center; }
.row.who > .badge { margin-left: auto; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #1f3a57, #142640); color: var(--turq); font: 700 .86rem var(--display); letter-spacing: .02em;
  box-shadow: inset 0 0 0 .5px #3ed6c933;
}
.list.people .avatar { width: 34px; height: 34px; font-size: .78rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 4px; }
.section { margin: 14px 2px 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.when { color: var(--turq); font-weight: 600; font-size: .88rem; }
.when::first-letter { text-transform: uppercase; }
.body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--mute); padding: 34px 20px; }
.empty-ic { width: 34px; height: 34px; color: #3ed6c980; }
.empty p { max-width: 30ch; }

/* Raccourcis « à faire » */
button.todo {
  flex-direction: row; align-items: center; gap: 14px; text-align: left; cursor: pointer; font: inherit; color: inherit; border: 0;
  background: linear-gradient(120deg, #123447 0%, var(--shell) 70%); box-shadow: inset 0 0 0 .5px #3ed6c93a;
}
.todo-ic { width: 26px; height: 26px; color: var(--turq); }
.todo-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.todo-txt > span { color: var(--mute); font-size: .9rem; }
.todo-go { width: 18px; height: 18px; color: var(--mute); }

/* Rendez-vous : la date en billet */
.ev { display: flex; gap: 14px; align-items: flex-start; }
.ev-date {
  flex: none; width: 56px; border-radius: 14px; overflow: hidden; text-align: center; background: var(--lift);
  box-shadow: inset 0 0 0 .5px var(--hair);
}
.ev-date span { display: block; background: var(--turq); color: var(--turq-ink); font: 700 .68rem/1 var(--font); letter-spacing: .04em; padding: 5px 0 4px; }
.ev-date b { display: block; font: 700 1.55rem/1 var(--display); letter-spacing: -.02em; padding: 8px 0 10px; font-variant-numeric: tabular-nums; }
.ev-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ev-time { color: var(--mute); font-size: .86rem; font-weight: 500; }
.ev-time::first-letter { text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.place { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); font-size: .84rem; }
.card.event > .list, .card.event > .actions, .card.event > p { margin-left: 70px; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; margin-top: 4px; }
.stat { background: var(--shell); border-radius: var(--r-md); padding: 14px; box-shadow: inset 0 0 0 .5px var(--hair); }
.card:not(#view > section.card:first-child) .stat { background: var(--lift); }
@media (max-width: 400px) { .stat { padding: 12px 10px; } }
.stat b { display: block; font: 700 clamp(1.1rem, 5vw, 1.4rem)/1.15 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--mute); font-size: .82rem; }

/* Pastilles */
.badge { display: inline-flex; align-items: center; flex: none; font-size: .75rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--lift); color: var(--mute); vertical-align: middle; white-space: nowrap; }
.badge.ok { background: #4ade9a1c; color: var(--ok); }
.badge.warn { background: #f5c15c1c; color: var(--warn); }
.badge.bad { background: #ff7d7d1c; color: var(--bad); }
.badge.accent { background: #3ed6c91f; color: var(--turq); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 11px 20px;
  border: 0; border-radius: var(--r-md); background: var(--turq); color: var(--turq-ink);
  font: 650 .96rem var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; align-self: flex-start;
}
.btn:disabled { opacity: .45; cursor: default; }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: .88rem; border-radius: 11px; }
.btn.lg { min-height: 52px; padding: 13px 24px; font-size: 1.02rem; border-radius: 16px; }
.btn.block { width: 100%; align-self: stretch; }
.btn.ghost { background: var(--lift); color: var(--ink); }
.btn.danger, .btn.ghost.danger { background: #ff7d7d1a; color: var(--bad); }
.link { background: none; border: 0; padding: 6px 0; color: var(--turq); font: 600 .86rem var(--font); cursor: pointer; }
.link.danger { color: var(--bad); }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; }
@media (hover: hover) { .btn:hover { filter: brightness(1.08); } .tabbar button:hover { color: var(--ink); } }

/* Formulaires */
form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: var(--mute); font-weight: 560; min-width: 0; }
.field small { font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 0;
  background: var(--lift); color: var(--ink); font: 16px var(--font);
  box-shadow: inset 0 0 0 .5px var(--hair); transition: box-shadow .15s;
}
#view > section.card:first-child input, #view > section.card:first-child select, #view > section.card:first-child textarea { background: var(--shell); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--turq); }
input::placeholder, textarea::placeholder { color: #8ea2bc99; }
textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
input:disabled { opacity: .55; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ea2bc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.actions select, .toolbar select { width: auto; min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: .9rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form.inline { margin-top: 12px; padding-top: 14px; border-top: .5px solid var(--hair); }
.form-error { color: var(--bad); font-size: .9rem; background: #ff7d7d14; border-radius: 12px; padding: 10px 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); cursor: pointer; }
.check input, .pack input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 1px; accent-color: var(--turq); box-shadow: none; }
.check small { color: var(--mute); margin-left: 4px; }
.check.absent span { color: var(--bad); }
.checks { display: flex; flex-direction: column; gap: 0; max-height: 50vh; overflow-y: auto; }
.checks .check { padding: 12px 2px; border-bottom: .5px solid var(--hair); }
.packs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.packs legend { font-size: .86rem; color: var(--mute); font-weight: 560; padding: 0 0 6px; }
.pack { display: flex; gap: 12px; align-items: flex-start; background: var(--lift); border-radius: 14px; padding: 14px; cursor: pointer; box-shadow: inset 0 0 0 .5px var(--hair); }
.pack:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--turq); }
.pack small { display: block; color: var(--mute); margin-top: 2px; }
.copy { display: flex; gap: 8px; } .copy input { font-size: .85rem; }

/* Listes */
.list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 11px 0; border-top: .5px solid var(--hair); font-size: .93rem; }
.list li > span:first-child { min-width: 0; overflow-wrap: anywhere; flex: 1 1 55%; }
.list li > span:last-child:not(:first-child) { flex: none; display: flex; gap: 12px; align-items: center; }
.progress { height: 6px; border-radius: 999px; background: var(--lift); overflow: hidden; margin-top: 6px; }
.progress span { display: block; height: 100%; background: var(--turq); border-radius: 999px; }
.loading { display: flex; justify-content: center; gap: 6px; padding: 48px 0; }
.loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .loading span { animation: pulse 1s infinite ease-in-out; }
  .loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
  @keyframes pulse { 50% { opacity: 1; } }
}

/* Accueil public */
.hero { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 30px 0 8px; overflow: hidden; margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.pitch { position: absolute; top: -40px; right: -150px; width: 420px; color: #3ed6c91c; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font: 780 clamp(2.15rem, 9.8vw, 4rem)/1 var(--display); letter-spacing: -.045em; }
.lead { color: var(--mute); font-size: 1.06rem; line-height: 1.55; max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.preview { position: relative; }
.preview .card { box-shadow: inset 0 0 0 .5px #3ed6c933, 0 30px 60px -20px #000c; }
.preview .card.event > .list { margin-left: 0; margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .preview .card { animation: rise .7s .15s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
.roles { display: grid; gap: 0; margin-top: 6px; }
.roles article { display: flex; gap: 14px; padding: 16px 2px; border-top: .5px solid var(--hair); }
.role-ic { width: 26px; height: 26px; color: var(--turq); margin-top: 1px; }
.roles p { color: var(--mute); font-size: .94rem; margin-top: 2px; }
.auth { max-width: 460px; width: 100%; align-self: center; margin-top: 18px; padding: 22px; }
.auth h2 { font-size: 1.45rem; }
.auth-ic { width: 30px; height: 30px; color: var(--turq); }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; }
@media (min-width: 760px) {
  main { max-width: 760px; }
  main:has(> .hero) { max-width: 980px; }
  .hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 32px; }
  .hero h1 { font-size: 3.6rem; }
  .lead { font-size: 1.12rem; }
  .pitch { right: -60px; top: -60px; width: 520px; }
  .roles { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* Fenêtres : feuille qui monte du bas sur téléphone */
dialog.modal { border: 0; padding: 0; background: transparent; color: var(--ink); width: 100vw; max-width: 560px; max-height: 100dvh; margin: auto auto 0; }
dialog.modal::backdrop { background: #02060cb8; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-box {
  position: relative; background: var(--shell); border-radius: 26px 26px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom));
  max-height: 92dvh; overflow-y: auto; box-shadow: inset 0 .5px 0 var(--hair);
}
.modal-box::before { content: ""; position: absolute; top: 8px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: #ffffff26; }
.modal-box h3 { font: 700 1.25rem/1.25 var(--display); letter-spacing: -.015em; margin-bottom: 4px; }
.modal-body { display: flex; flex-direction: column; gap: 14px; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }
.modal-actions .btn { flex: 1; align-self: auto; }
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] .modal-box { animation: sheet .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheet { from { transform: translateY(40px); opacity: .4; } }
}
@media (min-width: 640px) { dialog.modal { margin: auto; } .modal-box { border-radius: 26px; } .modal-box::before { display: none; } }
.menu { display: flex; flex-direction: column; margin-top: 8px; }
.menu button { display: flex; align-items: center; gap: 14px; padding: 14px 4px; background: none; border: 0; border-top: .5px solid var(--hair); color: var(--ink); font: 600 1rem var(--font); cursor: pointer; text-align: left; }
.menu button .ic { color: var(--turq); } .menu button span { flex: 1; } .menu .go { width: 18px; height: 18px; color: var(--mute) !important; }
.menu button.on { color: var(--turq); }

/* Messages */
#toasts { position: fixed; left: 0; right: 0; top: calc(64px + env(safe-area-inset-top)); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 50; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: var(--night); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem; max-width: 520px; box-shadow: 0 12px 36px #000a; }
.toast.bad { background: var(--bad); color: #2a0606; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: drop .25s cubic-bezier(.2, .8, .2, 1); } @keyframes drop { from { transform: translateY(-10px); opacity: 0; } } }

footer.foot { text-align: center; padding: 26px 16px 28px; font-size: .85rem; color: var(--mute); display: flex; flex-direction: column; gap: 10px; align-items: center; }
footer.foot a { color: var(--mute); }
body.has-tabbar footer.foot { padding-bottom: 20px; }
.credit { display: inline-flex; align-items: center; gap: 6px; opacity: .6; } .credit img { width: 18px; height: 18px; border-radius: 5px; }
@media (prefers-reduced-motion: no-preference) { .btn:active, .tabbar button:active { transform: scale(.97); } .btn, .tabbar button { transition: transform .1s ease; } }

/* ---------- Ordinateur ----------
   Le menu passe à gauche, le contenu s'élargit et les cartes se rangent sur deux colonnes. */
@media (min-width: 960px) {
  :root { --side: 268px; }
  header.top { padding-left: 28px; padding-right: 28px; }
  body.in-app main { max-width: 1120px; padding: 18px 40px 48px; }
  body.has-tabbar { padding-bottom: 0; padding-left: var(--side); }
  header.top { height: 62px; padding-top: 0; padding-bottom: 0; }
  body.has-tabbar header.top { margin-left: calc(-1 * var(--side)); }

  .tabbar {
    top: 62px; bottom: 0; right: auto; width: var(--side); z-index: 15; flex-direction: column; justify-content: flex-start; gap: 2px;
    padding: 18px 14px 18px; border-top: 0; border-right: .5px solid var(--hair);
    background: #0b1626; backdrop-filter: none; -webkit-backdrop-filter: none; overflow-y: auto;
  }
  .tabbar .extra { display: flex; }
  .tabbar .more-btn, .tabbar .lbl-s { display: none; }
  .tabbar .lbl-l { display: inline; }
  .tabbar button {
    flex: none; max-width: none; min-height: 42px; flex-direction: row; justify-content: flex-start; gap: 12px;
    padding: 9px 12px; font-size: .95rem; font-weight: 560; letter-spacing: 0; color: var(--mute); border-radius: 11px;
  }
  .tabbar button .ic { width: 20px; height: 20px; }
  .tabbar button.on { background: #3ed6c917; color: var(--turq); font-weight: 650; }
  .side-head { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; margin-bottom: 8px; border-bottom: .5px solid var(--hair); }
  .side-head b, .side-foot b { display: block; font-size: .95rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-head small { color: var(--mute); }
  .side-head > span, .side-foot > span { min-width: 0; display: flex; flex-direction: column; }
  .side-ic { width: 26px; height: 26px; color: var(--turq); }
  .side-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 16px 8px 0; border-top: .5px solid var(--hair); }
  .side-foot .avatar, .side-head .avatar { width: 38px; height: 38px; }
  .side-foot .link { align-self: flex-start; padding: 0; font-size: .84rem; color: var(--mute); }
  @media (hover: hover) { .tabbar button:not(.on):hover { background: #ffffff0a; color: var(--ink); } }

  .page-head { padding: 22px 0 10px; }
  .page-title { font-size: 2.6rem; }

  /* Deux colonnes : les cartes d'éléments (joueurs, rendez-vous, paiements…) se rangent côte à côte,
     les introductions, titres de section et formulaires gardent toute la largeur. */
  #view { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  #view > * { grid-column: 1 / -1; }
  #view > article.card, #view > button.todo { grid-column: auto; }
  #view > .section { margin-top: 18px; }
  #view > section.card:first-child { max-width: 760px; }
  #view > section.card:not(:first-child) { max-width: none; }
  #view form:not(.inline) { max-width: 640px; }
  .card { padding: 22px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
  .stat { padding: 18px; }
  .stat b { font-size: 1.7rem; }

  #toasts { top: 76px; align-items: flex-end; padding-right: 28px; }
  footer.foot { padding-bottom: 28px; }
}
@media (min-width: 1400px) {
  #view { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
