:root {
  --line: linear-gradient(var(--color-border-very-subtle) 0 0);
  /* How far a divider runs past the page frame on each side: to the window edge */
  --beyond: max(0px, (100vw - 1400px) / 2);
  --mark: linear-gradient(var(--color-background-action) 0 0);
  --shadow-low: 0 1px 2px rgb(0 0 0 / 0.08), 0 4px 12px rgb(0 0 0 / 0.08);
  --shadow-strong: 0 2px 4px rgb(0 0 0 / 0.2), 0 8px 20px rgb(0 0 0 / 0.2);
  --shadow-sticky: 0 2px 4px rgb(0 0 0 / 0.12), 0 8px 24px rgb(0 0 0 / 0.16);
}

/* Divider lines as backgrounds, so that they can be drawn from their start (see below) */
@property --draw { syntax: "<percentage>"; inherits: false; initial-value: 100%; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
/* Keyboard focus without outline: links underlined, buttons with a soft halo, fields with a dark border */
:focus-visible { outline: none; }
a:focus-visible { text-decoration: underline; }
.button:focus-visible, button:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-text-bold) 25%, transparent); }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* The frame of the page, one grey lighter than on the other pages; the window edge cuts what runs past it */
.page { border-inline-color: var(--color-border-very-subtle); }
body { overflow-x: clip; }

/* The dividers between the sections run past the frame to the window edges. As a border image (--rail: the sides
   with a line) they draw themselves with --draw like the line backgrounds, but across the whole window. */
.top, .ticker-band, .editions, .editions .section-head, .edition-cards, .follow, .follow .section-head, .social li, .block, .team, .features, .team-cards, .banner {
  border: 0 solid; border-width: var(--rail);
  border-image: linear-gradient(90deg, var(--color-border-very-subtle) var(--draw), transparent 0) 1 / var(--rail) / 0 var(--beyond);
}
.top { --rail: 0 0 1px; }

/* The sticky search bar below takes the place at the top of the window, thus the logo row does not stay there */
.top { position: static; }

/* Sticky bar with small search as soon as the large one is out of view (start/search.js sets the class) */
.sticky {
  position: fixed; z-index: 10; top: 12px; left: 50%; width: min(760px, calc(100% - 32px));
  opacity: 0; transform: translate(-50%, calc(-100% - 12px)); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.sticky.shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sticky .search { width: 100%; margin: 0; }
.sticky .search-bar, .sticky .search:focus-within .search-bar {
  min-height: 56px; gap: 8px; padding: 6px 6px 6px 10px; box-shadow: var(--shadow-sticky);
}
.sticky .logo { flex-shrink: 0; padding: 4px 6px; }
.sticky .search-bar > picture { display: none; }
/* The ring symbol; its box leaves room on the right for the rock that start/start.js plays when the bar appears */
.sticky .logo svg { display: block; color: var(--color-text-very-bold); }
/* The backflip has room above for the jump, the ripple room around for its rings. As absolute items of the flex
   logo they start centered on the rock (by their margin box, so a top margin counts half); the margins move their
   ring onto the ring of the rock. */
.sticky .logo .backflip { position: absolute; margin: -15.02px 0 0 -4.53px; }
.sticky .logo .ripple { position: absolute; margin-left: -4.19px; }
/* Not display: none, which would stop the clock of the animation */
.sticky .logo .off { visibility: hidden; }
.sticky .search-bar input, .sticky .ghost { font: var(--text-label-l); }
.sticky .search-actions .button { padding: 8px 16px; font: var(--text-label-l-bold); }
.sticky .suggestions { top: calc(100% + 8px); border-radius: 28px; }
.sticky .suggestions li { min-height: 48px; font: var(--text-label-l); }
.sticky .suggestions li::before { width: 22px; height: 22px; }
.sticky .search-note { font: var(--text-label-l); }

.hero {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 84px var(--gutter) 84px; text-align: center;
}
.hero h1 { font: var(--text-title-l); }
.hero em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.lead { max-width: 920px; padding-bottom: 20px; font: var(--text-p-xl); color: var(--color-text-subtle); }
.search { position: relative; width: min(920px, 100%); margin-top: 20px; text-align: left; }
.search-bar, .suggestions { background: var(--color-background-elevated); }
.search:focus-within .search-bar, .suggestions { box-shadow: var(--shadow-strong); }
.search-bar {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 32px;
  box-shadow: var(--shadow-low); transition: box-shadow 0.2s ease;
}
.search-input { position: relative; display: flex; flex: 1; min-width: 0; }
.search-bar input {
  flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: 0; background: none; color: var(--color-text-bold);
  -webkit-appearance: none; appearance: none;
}
.search-bar input::-webkit-search-decoration, .search-bar input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.search-bar input, .ghost { font: var(--text-label-2xl); }
/* The suggested rest sits exactly behind the typed text */
.ghost { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; white-space: pre; pointer-events: none; }
.ghost-typed { color: transparent; }
.ghost-rest { color: var(--color-text-very-subtle); }
/* The × for clearing has its own circle in the icon; a close × has no circle */
.search-clear, .search-close, .signup-close {
  flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--color-text-bold); cursor: pointer;
}
/* A close × has a 44px box like the other buttons */
.search-close, .signup-close { width: 44px; height: 44px; }
.search-clear { color: var(--color-text-very-subtle); }
.search-clear:hover { color: var(--color-text-bold); }
/* A drawn × sits in the exact center; a font glyph sits lower */
.search-clear::before, .search-close::before, .signup-close::before {
  content: ""; display: block; width: 24px; height: 24px; margin: auto; background: currentColor;
  -webkit-mask: url(img/x.svg) center / contain no-repeat; mask: url(img/x.svg) center / contain no-repeat;
}
.search-clear::before { -webkit-mask-image: url(img/x-circle.svg); mask-image: url(img/x-circle.svg); }
/* Only the fullscreen search on a phone has a close button */
.search-close { display: none; }
/* The × for clearing appears only while the pointer is over the field or it has focus; its space stays */
.search-clear { opacity: 0; visibility: hidden; transition: color 0.15s ease, opacity 0.15s ease, visibility 0.15s; }
.search-bar:hover .search-clear, .search:focus-within .search-clear { opacity: 1; visibility: visible; }
/* If no button is next to it, the × has as much room on the right as at the top */
.search-clear:has(+ .search-actions:empty) { margin-right: 8px; }
.sticky .search-clear:has(+ .search-actions:empty) { margin-right: 6px; }
.search-bar input::placeholder { color: var(--color-text-very-subtle); opacity: 1; }
.search-actions { display: flex; gap: 8px; flex-shrink: 0; }
.search-actions:empty { display: none; }
.search-actions .button { padding: 12px 24px; font: var(--text-label-xl-bold); }
.suggestions { position: absolute; z-index: 5; top: calc(100% + 12px); left: 0; right: 0; padding: 8px; border-radius: 32px; }
.suggestions li {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 18px; border-radius: 24px;
  font: var(--text-label-2xl); color: var(--color-text-very-subtle); cursor: pointer;
}
/* The icon from the stylesheet does not reload with every new suggestion and so does not flicker */
.suggestions li::before { content: ""; flex-shrink: 0; width: 28px; height: 28px; background: url(img/place.svg) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .suggestions li::before { background-image: url(img/place-dark.svg); } }
.suggestions li[data-kind="standort"]::before {
  background: currentColor; -webkit-mask: url(img/location.svg) center / contain no-repeat; mask: url(img/location.svg) center / contain no-repeat;
}
.suggestions li[aria-selected="true"] { background: var(--color-background-box); color: var(--color-text-bold); }
.search-note { padding: 8px 18px; font: var(--text-label-2xl); color: var(--color-text-very-subtle); }
.search-note:empty { display: none; }
.suggestions mark { background: none; color: var(--color-text-bold); font-weight: 600; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The corners run parallel: outer radius = radius of field and button (20) + distance to the edge (12), likewise
   close (16) + 16. Texts are 16 px further in, flush with the text in the e-mail field. */
.signup {
  width: min(560px, calc(100vw - 32px)); padding: 12px; border: 0; border-radius: 32px;
  background: var(--color-background-elevated); color: var(--color-text-bold);
  box-shadow: var(--shadow-strong); overflow: visible;
}
/* Dark in both modes, thus the token with the same value in both modes */
.signup::backdrop { background: color-mix(in srgb, var(--color-text-dark-bold) 45%, transparent); }
.signup h2 { margin: 16px 48px 0 16px; font: var(--text-h-1); }
.signup p { margin: 8px 16px 0; font: var(--text-p-m); color: var(--color-text-subtle); }
.signup .field {
  display: block; width: 100%; padding: 7px 15px; border: 1px solid var(--color-border-subtle); border-radius: 999px;
  background: var(--color-background-default); font: var(--text-label-l); color: var(--color-text-bold);
}
.signup .field:focus { border-color: var(--color-text-bold); }
/* The search field in the dialog looks like the e-mail field; its list may reach over the edge of the dialog */
.signup .search { width: auto; margin-top: 0; }
.signup .search-bar input { min-height: 0; }
.signup .search-bar, .signup .search:focus-within .search-bar {
  min-height: 40px; gap: 4px; padding: 3px 3px 3px 15px; border: 1px solid var(--color-border-subtle); border-radius: 999px;
  background: var(--color-background-default); box-shadow: none;
}
.signup .search:focus-within .search-bar { border-color: var(--color-text-bold); }
.signup .search-bar input, .signup .ghost { font: var(--text-label-l); }
.signup .suggestions { top: calc(100% + 4px); padding: 4px; border-radius: 20px; }
.signup .suggestions li { min-height: 40px; padding: 8px 12px; border-radius: 16px; font: var(--text-label-l); }
.signup .suggestions li::before { width: 20px; height: 20px; }
.signup .search-note { padding: 8px 12px; font: var(--text-label-l); }
.signup-close { position: absolute; top: 10px; right: 10px; }
.signup-box { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding: 0 8px 8px; }
.signup-box .button { justify-content: center; }
/* Only the consent note in the box, between intro and fields */
.signup .consent { margin: 0; padding: 12px 16px; border-radius: 20px; background: var(--color-background-box); font: var(--text-label-s); color: var(--color-text-very-subtle); }
.signup .waitlist-status { margin: 12px 16px 4px; font: var(--text-label-l-bold); color: var(--color-text-bold); }
.waitlist-status:empty { display: none; }
/* After signing up, the request to confirm the mail replaces the form */
.signup-done, .signup-form.done > :not(.signup-done, .signup-close) { display: none; }
/* flow-root keeps the margin of the heading inside the form, so its height measures the whole dialog */
.signup-form { display: flow-root; }
.signup-form.done { display: flex; flex-direction: column; justify-content: center; }
.signup-form.done .signup-done { display: block; }
.signup-done h2:focus { outline: none; }
.signup-done strong { color: var(--color-text-bold); }
.signup-done .button { margin: 20px 16px 8px; }
.notice { max-width: 920px; padding: 12px 20px; border-radius: 16px; background: var(--color-background-box); font: var(--text-label-l); }
.notice .button { margin-top: 12px; }

.ticker-title { padding: 0 var(--gutter) 16px; text-align: center; font: var(--text-label-m-bold); color: var(--color-text-very-subtle); }
.ticker-band {
  overflow-x: auto; scrollbar-width: none;
  --rail: 1px 0;
}
.ticker { display: flex; width: max-content; }
/* When the band runs (start/start.js), the script moves the list; otherwise it can be scrolled */
.ticker-band.running { overflow: hidden; }
.ticker li { position: relative; flex: 0 0 360px; padding: 16px 20px; border-right: 1px solid var(--color-border-very-subtle); }
.ticker a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font: var(--text-label-l); text-decoration: none;
}
/* The whole cell framed by the hover marks opens the headline; padding on the link would show the clamped lines */
.ticker a::after { content: ""; position: absolute; inset: 0; }

.section-head { display: flex; flex-direction: column; gap: 8px; padding: 64px var(--gutter) 20px; }
.section-head h2 { font: var(--text-title-m); }
.section-head p { max-width: 920px; font: var(--text-label-2xl-bold); color: var(--color-text-very-subtle); }

.editions { padding-bottom: 20px; --rail: 0; }
/* Like the social grid: a line below the head with the same space, and lines between the cards */
.editions .section-head { padding-bottom: 40px; --rail: 0 0 1px; }
.edition:not(:last-child) { background: var(--line) right top / 1px var(--draw) no-repeat; }
.edition-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); --rail: 0 0 1px;
}
.edition { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: var(--gutter); }
.edition-photo { display: block; width: 100%; height: auto; aspect-ratio: 940 / 375; object-fit: cover; }
.edition-text { display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.edition h3 { font: var(--text-h-2); }
.edition p { font: var(--text-label-l); color: var(--color-text-default); }
/* Without an underline, also under keyboard focus (a:focus-visible above): the marks and the grey show the focus */
.edition .edition-link { margin: auto 4px 0; font: var(--text-label-l-bold); color: var(--color-text-action); text-decoration: none; }
/* The whole tile opens the edition: the link covers the tile */
.edition-link::after { content: ""; position: absolute; inset: 0; }

/* Hover on a card or a headline of the ticker: a mark grows in from each corner and goes away at once. The mark lets
   clicks through to the card. */
.edition::before, .social a::before, .team-cards li::after, .ticker li::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--mark) left top, var(--mark) left top, var(--mark) right top, var(--mark) right top, var(--mark) right bottom, var(--mark) right bottom, var(--mark) left bottom, var(--mark) left bottom;
  background-size: 0 2px, 2px 0, 0 2px, 2px 0, 0 2px, 2px 0, 0 2px, 2px 0;
  background-repeat: no-repeat;
}
.edition:hover::before, .edition:focus-within::before, .social a:hover::before, .social a:focus-visible::before, .team-cards li:hover::after,
.ticker li:hover::before, .ticker li:has(:focus-visible)::before {
  background-size: 12px 2px, 2px 12px, 12px 2px, 2px 12px, 12px 2px, 2px 12px, 12px 2px, 2px 12px;
  transition: background-size 0.25s ease-out;
}
/* As on a social tile, the marks come with a grey tile; the line between the cards stays on it */
.edition:hover, .edition:focus-within, .ticker li:hover, .ticker li:has(:focus-visible) {
  background-color: var(--color-background-elevated);
}

.sources { padding: 0 var(--gutter) 20px; }
.sources .section-head { padding-inline: 0; }
.news-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 1px; padding: 1px; background: var(--color-background-box); }
/* The same duration as FADE in start/start.js */
.tile { aspect-ratio: 1; overflow: hidden; background: var(--color-background-default); transition: background-color 0.9s ease; }
.tile.shade { background: var(--color-background-box); }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity var(--fade, 0.9s) ease, transform var(--fade, 0.9s) cubic-bezier(0.2, 0.8, 0.3, 1);
}
.tile.fading img { opacity: 0; transform: scale(1.03); }
a.tile:focus-visible img { filter: brightness(0.75); }

.follow { --rail: 1px 0 0; }
.follow .section-head { padding-block: 64px 40px; --rail: 0 0 1px; }
.social { display: grid; grid-template-columns: repeat(4, 1fr); }
/* Each tile carries the row line below it, so that the row lines run past the frame too */
.social li { --rail: 0 0 1px; }
.social li:not(:nth-child(4n)) { background: var(--line) right top / 1px var(--draw) no-repeat; }
/* The lines lie on the tile; the link leaves them free, so that they stay under the hover grey too */
.social li > * { position: relative; display: flex; align-items: center; justify-content: center; height: 119px; margin: 0 1px 0 0; }
.social a:hover, .social a:focus-visible { background: var(--color-background-elevated); }
/* The logo takes its size from the tile, not from the picture element around it */
.social picture { display: contents; }
.social img { max-width: 80%; height: auto; }

@media (max-width: 900px) {
  .edition-cards { grid-template-columns: 1fr; }
  .edition:not(:last-child) { background: var(--line) left bottom / var(--draw) 1px no-repeat; }
}

@media (max-width: 720px) {
  .hero { padding-block: 48px; }
  .hero h1 { font: var(--text-title-m); }
  .lead { font: var(--text-p-l); }
  /* The × has 12 spacing at the top and right, the corner runs parallel to it (12 + 16) */
  .search-bar { flex-wrap: wrap; padding: 12px; border-radius: 28px; }
  /* The icon sits in a box as high as the input, so that it has the same distance to the top and the left edge */
  .search-bar > picture img { box-sizing: border-box; width: 44px; height: 44px; padding: 11px; }
  /* Likewise the × for clearing sits in a 44px box */
  .search-clear { width: 44px; height: 44px; }
  .search-bar input { min-height: 44px; }
  .search-bar input, .ghost { font: var(--text-label-l); }
  .search-actions { width: 100%; }
  .search-actions .button { flex: 1; justify-content: center; padding: 8px 12px; font: var(--text-label-l-bold); }
  .suggestions li { min-height: 52px; padding: 8px 12px; font: var(--text-label-l); }
  .search-note { padding: 8px 12px; font: var(--text-label-l); }
  /* Fullscreen waitlist, flat like the fullscreen search: a bar with title and close button, below it the form, which
     scrolls above the keyboard (--keyboard). The suggestions are rows in the form and take the place of the button. */
  html:has(.signup[open]) { overflow: hidden; }
  .signup {
    inset: 0; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0 0 var(--keyboard, 0px);
    border-radius: 0; box-shadow: none; background: var(--color-background-default); overflow: auto; overscroll-behavior: contain;
  }
  .signup-form.done { display: block; }
  .signup h2 {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; min-height: 60px; margin: 0; padding: 0 64px 0 16px;
    border-bottom: 1px solid var(--color-border-subtle); background: var(--color-background-default); font: var(--text-h-3);
  }
  .signup h2 + p { margin-top: 16px; }
  /* The intro takes room above the keyboard; the title says enough */
  #signup-title + p { display: none; }
  /* Like the close button of the fullscreen search: plain × behind a short line */
  .signup-close {
    position: fixed; z-index: 2; top: 8px; right: 6px; box-sizing: content-box; padding-left: 7px;
    border-radius: 0; background: var(--line) left center / 1px 24px no-repeat;
  }
  /* Consent note and fields as strips from edge to edge, like the rows of the suggestions */
  .signup-box { gap: 0; margin-top: 0; padding: 0 0 16px; }
  .signup .consent { border-radius: 0; }
  .signup .field, .signup .search-bar, .signup .search:focus-within .search-bar {
    min-height: 56px; border-width: 0 0 1px; border-radius: 0;
  }
  .signup .field { padding: 0 16px; }
  .signup .search-bar, .signup .search:focus-within .search-bar { padding: 0 6px 0 16px; }
  /* Same size as the button of the search */
  .signup-box .button { margin: 16px 16px 0; padding: 8px 12px; font: var(--text-label-l-bold); }
  .signup .suggestions { position: static; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .signup .suggestions li::before { width: 28px; height: 28px; }
  .signup-box:has(.suggestions:not([hidden])) [type="submit"] { display: none; }
  .search-clear:has(+ .search-actions:empty) { margin-right: 0; }
  .ticker li { flex-basis: 280px; padding: 12px 16px; }
  .section-head { padding-top: 48px; }
  .section-head h2 { font: var(--text-h-1); }
  .section-head p { font: var(--text-label-xl-bold); }
  .news-grid { grid-template-columns: repeat(10, 1fr); }
  .tile:nth-child(n + 61) { display: none; }
  .social { grid-template-columns: repeat(2, 1fr); }
  .social li:not(:nth-child(4n)) { background: none; }
  .social li:nth-child(odd) { background: var(--line) right top / 1px var(--draw) no-repeat; }
  .social li > * { height: 95px; }
  /* The button of the sticky bar as an icon with its text for screen readers */
  .sticky { top: 8px; width: calc(100% - 16px); }
  .sticky .search-bar, .sticky .search:focus-within .search-bar { flex-wrap: nowrap; min-height: 52px; padding: 4px 4px 4px 10px; }
  .sticky .logo { padding: 4px; }
  .sticky .search-bar input { min-height: 40px; }
  .sticky .search-actions { width: auto; padding: 0; }
  .sticky .search-actions .button { flex: none; justify-content: center; width: 44px; height: 44px; padding: 0; font-size: 0; }
  .sticky .search-actions .button::before { font: var(--text-label-2xl-bold); }
  .sticky .button[data-kind="ausgabe"]::before, .sticky .button[data-kind="warteliste"]::before { content: "→"; }
  .sticky .button[data-kind="standort"]::before {
    content: ""; width: 24px; height: 24px; background: var(--color-text-inverted-very-bold);
    -webkit-mask: url(img/location.svg) center / contain no-repeat; mask: url(img/location.svg) center / contain no-repeat;
  }
  /* Fullscreen search (start/search.js sets the class): a flat bar with field and close button, below it full-width
     rows, all separated by lines. The list reaches under the keyboard; --keyboard (its height) lets the last row scroll
     above it. There is no button: a row or Enter goes on. */
  html:has(.search.fullscreen) { overflow: hidden; }
  /* A transformed bar would hold its fixed search inside it */
  .sticky:has(.search.fullscreen) { transform: none; transition: none; }
  .search.fullscreen {
    position: fixed; z-index: 20; inset: 0; display: grid; grid-template: auto 1fr / 1fr auto;
    width: auto; margin: 0; background: var(--color-background-default);
  }
  .search.fullscreen .search-bar, .sticky .search.fullscreen:focus-within .search-bar {
    grid-area: 1 / 1; flex-wrap: nowrap; gap: 4px; min-height: 60px; padding: 0 4px 0 6px;
    border-radius: 0; box-shadow: none; background: none;
  }
  /* One line under the bar and the close button */
  .search.fullscreen::after {
    content: ""; grid-area: 1 / 1 / 2 / -1; align-self: end; border-bottom: 1px solid var(--color-border-subtle); pointer-events: none;
  }
  .search.fullscreen .search-actions, .sticky .search.fullscreen .logo { display: none; }
  .sticky .search.fullscreen .search-bar > picture { display: block; }
  /* The keyboard can be hidden while the search is open; the × for clearing stays */
  .search.fullscreen .search-clear { opacity: 1; visibility: visible; }
  /* Plain × behind a short line, in a 44px box as far from the edge as the magnifier; the padding gives the × as much
     room to the line as to the edge */
  .search.fullscreen .search-close {
    grid-area: 1 / 2; display: grid; align-self: center; box-sizing: content-box;
    margin-right: 6px; padding-left: 7px;
    border-radius: 0; background: var(--line) left center / 1px 24px no-repeat;
  }
  .search.fullscreen .suggestions {
    position: static; grid-column: 1 / -1; overflow: auto; overscroll-behavior: contain;
    padding: 0 0 var(--keyboard, 0px); border-radius: 0; box-shadow: none; background: none;
  }
  .search.fullscreen .suggestions li, .signup .suggestions li {
    min-height: 56px; padding: 8px 16px; border-bottom: 1px solid var(--color-border-subtle); border-radius: 0;
  }
  .search.fullscreen .search-note, .signup .search-note { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }
/* On low screens (landscape with keyboard) the dialog must scroll; the list then scrolls with it */
@media (max-height: 600px) { .signup { overflow: auto; } }

/* Lines draw themselves once when their section first comes into view (start/start.js sets the classes) */
.draws { --draw: 0%; transition: --draw 1.4s cubic-bezier(0.65, 0, 0.35, 1); }
.draws.seen { --draw: 100%; }

/* Headlines and leads wipe in from the left: a mask three times as wide as the text, with a soft and slightly slanted
   edge in its middle, moves across. The text not reached yet shows as a very light gray. The mask exists only while
   the animation runs, so it cuts off nothing afterwards (start/start.js sets the classes). It starts where the edge
   just touches the text, so that no time goes by without visible movement. */
@keyframes wipe {
  from { -webkit-mask-image: linear-gradient(100deg, black 40%, color-mix(in srgb, black 12%, transparent) 60%); mask-image: linear-gradient(100deg, black 40%, color-mix(in srgb, black 12%, transparent) 60%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 90% 0; mask-position: 90% 0; }
  to { -webkit-mask-image: linear-gradient(100deg, black 40%, color-mix(in srgb, black 12%, transparent) 60%); mask-image: linear-gradient(100deg, black 40%, color-mix(in srgb, black 12%, transparent) 60%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.wipes:not(.seen) { opacity: 0; }
.wipes.seen { animation: wipe 2.8s cubic-bezier(0.5, 0, 0.3, 1) backwards; }

/* Other texts, pictures and tiles fade in without moving */
.reveal { opacity: 0; transition: opacity 1.2s ease; }
.reveal.seen { opacity: 1; }

/* Progressive blur at the top and the bottom edge of the window: three layers per edge, each blurs more and covers less.
   start/start.js adds them; the top ones show only once the page has moved, so that they do not blur the logo row. */
.edge-blur { position: fixed; z-index: 9; left: 0; right: 0; height: 64px; pointer-events: none; }
.edge-blur[data-edge="top"] {
  top: 0; visibility: hidden;
  -webkit-mask-image: linear-gradient(to top, transparent var(--from), black var(--to));
  mask-image: linear-gradient(to top, transparent var(--from), black var(--to));
}
.scrolled .edge-blur[data-edge="top"] { visibility: visible; }
.edge-blur[data-edge="bottom"] {
  bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--from), black var(--to));
  mask-image: linear-gradient(to bottom, transparent var(--from), black var(--to));
}
.edge-blur[data-layer="1"] { --from: 0%; --to: 40%; -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); }
.edge-blur[data-layer="2"] { --from: 30%; --to: 70%; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.edge-blur[data-layer="3"] { --from: 60%; --to: 100%; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
