/* ==========================================================================
   Bento pattern — ffb_bento_pattern() in includes/content.php: one drawing
   (two rings, two rules, three squares), coloured and placed per tile by a
   .ffb-pattern--* class in the tile's own sheet. Light tiles by default.
   Loaded on every public page (head.php).
   ========================================================================== */

.ffb-pattern {
  --pat-line: var(--ffb-pattern-ink);
  --pat-line-a: 0.08;
  --pat-a: var(--ffb-green-hover);
  --pat-a-a: 0.28;
  --pat-b-a: 0.35;
  --pat-c: var(--ffb-blue);
  --pat-c-a: 0.05;
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.ffb-pattern__lines {
  fill: none;
  stroke: var(--pat-line);
  stroke-opacity: var(--pat-line-a);
  stroke-width: 1;
}

.ffb-pattern__a {
  fill: var(--pat-a);
  fill-opacity: var(--pat-a-a);
}

.ffb-pattern__b {
  fill: #ffffff;
  fill-opacity: var(--pat-b-a);
  stroke: var(--pat-line);
  stroke-opacity: var(--pat-line-a);
}

.ffb-pattern__c {
  fill: var(--pat-c);
  fill-opacity: var(--pat-c-a);
}

/* Strong squares, no outline on the white one: dark and green tiles. */
.ffb-pattern--strong {
  --pat-a-a: 0.8;
  --pat-c-a: 0.25;
}

.ffb-pattern--strong .ffb-pattern__b {
  stroke: none;
}
