/* Theme: Pit Lane. Carbon black, racing red and a chequered strip, with fast italic titles. Inspired by motorsport; uses no team, series or sponsor marks.
   Values follow docs/theming.md and also apply to this theme's preview tile in Settings. */
@font-face { font-family: "Pit Heading"; src: url(../theme-fonts/titillium-web-latin-700-italic.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Pit Body"; src: url(../theme-fonts/titillium-web-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pit Body"; src: url(../theme-fonts/titillium-web-latin-600-normal.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Pit Body"; src: url(../theme-fonts/titillium-web-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root[data-theme="pitlane"],
[data-theme-preview="pitlane"] {
  --preview-art: repeating-conic-gradient(#fff 0 25%, #15151e 0 50%) 0 64% / 10px 10px repeat-x, linear-gradient(115deg, transparent 52%, #d10500 52% 60%, transparent 60% 63%, #d10500 63% 66%, transparent 66%), #15151e;
  --preview-ink: #fff;
  --font-heading: "Pit Heading", sans-serif;
  --font-body: "Pit Body", sans-serif;
  --paper: #efeff2; --surface: #fff; --surface-soft: #f3f3f6; --surface-locked: #f6f6f8;
  --chip: #e8e8ed; --chip-soft: #e4e4ea; --tile-surface: #fff; --tile-line: #d6d6dc; --line: #d6d6dc;
  --pine: #15151e; --ink: #15151e; --muted: #5f5f6c; --muted-soft: #8c8c98; --icon-muted: #8c8c98; --disabled: #b3b3bd;
  --on-dark: #fff; --rose: #d10500; --accent-strong: #b00500; --lime: #ffd400; --flash: #ffb3b0;
  --feature-surface: #e9e9ee; --feature-ink: #3a3a46; --feature-action: #b00500;
  --nav-bg: #15151e; --nav-label-color: #b8b8c4; --nav-selected-bg: #d10500; --nav-underline: var(--nav-selected-bg); --nav-selected-ink: #fff;
  --nav-border-color: #15151e; --assistant-border: #15151e;
  --card-radius: 10px; --field-radius: 6px; --shadow-color: #15151e;
}

/* Decoration hooks: on the page only, never on the preview tile. */
:root[data-theme="pitlane"] .settings-link { color: #b8b8c4; }
:root[data-theme="pitlane"] .app-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  block-size: 8px;
  background: repeating-conic-gradient(#15151e 0 25%, #fff 0 50%) 0 0 / 8px 8px;
}
:root[data-theme="pitlane"] #view .panel { border-inline-start: 4px solid #d10500; }
:root[data-theme="pitlane"] [data-card-title] { text-transform: uppercase; letter-spacing: 0.02em; }
/* The theme's own edge under the top bar stands in for the four-colour band. */
:root[data-theme="pitlane"] .app-header-band { display: none; }
