/* Surrealism, for /worlds/five-nights-at-freddys/ and /freddys/ (style: surrealism).

   FNAF's fear is the uncanny: a pizzeria that is wrong at night, and things
   that move only when you look away. This pair is that pizzeria as a dream,
   painted the way de Chirico painted his squares. A checkered floor (the
   pizzeria's own tile) runs back to a horizon much too far away, under a
   night sky that goes green at the edge of the world. There is one light,
   a lamp low on the left, so every object is lit on its upper left and
   throws one long shadow to the lower right, and on a floor this dark a
   shadow reads by what it hides: the checks under it go out. The doors are
   arched openings, like the arcades in those paintings, and their leaves
   hang on the left. Point at one and it swings open a crack onto darkness.
   That is the signature, and the only thing here that moves on its own
   account: under a pointer, never under Reduce Motion, never on a phone.
   No melting clocks, no jump scares.

   The animatronics are de Chirico's mannequins already, so the show stage
   stays: shrunk to a far speck standing on the horizon, its three figures
   silhouetted against the green. The headings on the world page are set in
   Bodoni (Parma's own type, the arcade in a letter: heavy stems under
   hairline arches); reading text stays Inter and labels stay JetBrains Mono.

   One file for the pair, in three parts: what both pages share (the
   palette, the floor, the light, the doors); the world page; and the
   Security Office, which keeps its cameras, doors, power meter and night
   exactly as they work now, and takes the same floor under its room, the
   same light on its panels and the same doors on its cameras, each one
   a room of the site behind a door labelled for a room of the pizzeria.
   The spec: docs/superpowers/specs/2026-10-11-page-styles-design.md,
   section 9, "Five Nights at Freddy's: Surrealism".

   Everything here is scoped to :root[data-style="surrealism"]. Material
   rules on shared components use :where() for that scope, so each page's
   own hover, focus, open and warning states still win. */

/* ── 1. shared: the palette, the floor, the light, the doors ────────────── */
:root[data-style="surrealism"] {
  --sr-lamp: #f0c840;               /* the office lamp: the one light, and every focus ring */
  --sr-ochre: #c98f4f;              /* the lit wall in every de Chirico square, and FNAF's rust */
  --sr-ivory: #efe5cf;              /* lit plaster: the title */
  --sr-void: #020202;               /* what is behind a door */
  /* a surface in the lamp's light: warmest on the left, where the lamp is,
     and dark enough at its warmest that the site's --mute keeps 4.5:1 */
  --sr-leaf: linear-gradient(100deg, #1e1610 0%, #16110c 42%, #0e0b09 100%);
  --sr-leaf-hi: linear-gradient(100deg, #221912 0%, #19130e 42%, #100c0a 100%);
  /* the lit edge: top and left catch the lamp, bottom and right go to shade */
  --sr-lit: inset 1px 1px 0 rgba(240, 200, 64, .2), inset -1px -1px 0 rgba(0, 0, 0, .55);
  /* one long shadow, thrown right and down, softening as it goes */
  --sr-cast: 5px 3px 4px -1px rgba(0, 0, 0, .8), 20px 11px 14px -3px rgba(0, 0, 0, .62), 52px 28px 34px -10px rgba(0, 0, 0, .48);
  /* a door: a shallow arch over a square foot */
  --sr-arch: 50% 50% 3px 3px / 26px 26px 3px 3px;
  --sr-frame: rgba(239, 229, 207, .16);
  --sr-frame-lit: rgba(240, 200, 64, .34);

  /* The floor, in one-point perspective, drawn with no 3D transform: rays
     from the vanishing point (columns a fifth of the floor's height apart
     at its near edge) XOR rows whose depth grows by one check each (row k
     sits at 6 / (6 + k) of the way down), which background-blend-mode's
     difference turns into a checkerboard. The rows past the sixteenth are
     a flat grey the fog then takes. A page multiplies its own lamplight
     over it (--sr-light) and lays the long shadows on top (--sr-shade). */
  --sr-rays: conic-gradient(from 180deg at 50% 0%, #fff 0deg 11.31deg, #000 0 21.8deg, #fff 0 30.96deg, #000 0 38.66deg,
    #fff 0 45deg, #000 0 50.19deg, #fff 0 54.46deg, #000 0 57.99deg, #fff 0 60.95deg, #000 0 63.43deg, #fff 0 65.56deg,
    #000 0 67.38deg, #fff 0 68.96deg, #000 0 70.35deg, #fff 0 90deg, #000 0 270deg, #fff 0 289.65deg, #000 0 291.04deg,
    #fff 0 292.62deg, #000 0 294.44deg, #fff 0 296.57deg, #000 0 299.05deg, #fff 0 302.01deg, #000 0 305.54deg,
    #fff 0 309.81deg, #000 0 315deg, #fff 0 321.34deg, #000 0 329.04deg, #fff 0 338.2deg, #000 0 348.69deg, #fff 0 360deg);
  --sr-rows: linear-gradient(180deg, #808080 0 27.3%, #000 0 28.6%, #fff 0 30%, #000 0 31.6%, #fff 0 33.3%, #000 0 35.3%,
    #fff 0 37.5%, #000 0 40%, #fff 0 42.9%, #000 0 46.2%, #fff 0 50%, #000 0 54.5%, #fff 0 60%, #000 0 66.7%,
    #fff 0 75%, #000 0 85.7%, #fff 0 100%);
  /* two long shadows across the floor, from pillars out of the picture */
  --sr-shade: linear-gradient(339deg, transparent 0 30%, rgba(0, 0, 0, .78) 30% 47%, transparent 47% 58%, rgba(0, 0, 0, .7) 58% 62%, transparent 62%);
  --sr-blend: multiply, multiply, difference, normal;
  --sr-fog: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .3) 16%, #000 46%);

  /* the world page's shared components read these (base.css) */
  --s-surface: var(--sr-leaf);
  --s-surface-hi: var(--sr-leaf-hi);
  --s-edge: var(--sr-frame);
  --s-bw: 1px;
  --s-r: 3px;
  --s-r-sm: 2px;
  --s-shadow: var(--sr-lit), var(--sr-cast);
  --s-shadow-hi: var(--sr-lit), var(--sr-cast);
  /* nothing lifts: the doors open instead */
  --s-lift: 0px;
  --s-display: "Bodoni Moda", Didot, Georgia, serif;
  --s-display-w: 500;
  --s-display-ls: 0.03em;
  --s-focus: var(--sr-lamp);

  /* the bars: night plaster with the lamp along their upper edge, and the
     same long shadow under them */
  --s-bar: rgba(9, 9, 8, .82);
  --s-bar-edge: rgba(240, 200, 64, .16);
  --s-bar-r: 6px;
  --s-bar-blur: blur(14px) saturate(120%);
  --s-bar-shadow: inset 1px 1px 0 rgba(240, 200, 64, .1), 22px 14px 34px -14px rgba(0, 0, 0, .85);

  /* a painting has a little tooth, so the grain stays, faint; no circuits,
     and no lattice, scanlines, sweep or cursor glow: the checkered floor is
     the only pattern, and a second light following the pointer would make
     two lamps */
  /* the site's mute, lifted a step so it keeps 4.5:1 where it crosses the
     horizon's glow or the lit end of the floor */
  --mute: #8e8c95;

  --s-grain: .035;
  --s-field: 0;
  --hud-grid: transparent;
  --hud-scan: transparent;
  --hud-sweep: transparent;
  --hud-lit: transparent;
  --hud-halo: transparent;

  scrollbar-color: #3a2c1e #050505;
}
:root[data-style="surrealism"] ::selection { background: rgba(201, 143, 79, .55); color: #fff; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root[data-style="surrealism"] { --s-bar: rgba(9, 9, 8, .96); }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-style="surrealism"] { --s-bar: rgb(9, 9, 8); --s-bar-blur: none; }
}
/* Increase Contrast: the frames and lit edges come up, the floor's long
   shadows and the faint grain go */
@media (prefers-contrast: more) {
  :root[data-style="surrealism"] {
    --sr-frame: rgba(239, 229, 207, .42); --sr-frame-lit: rgba(240, 200, 64, .6);
    --mute: #a3a1a9; --s-grain: 0;
  }
}

/* The doors. The element is the opening: its fill is the darkness, its
   border the frame. The leaf is its ::before, the material, hung on the
   left. The words are painted on the air in front of it, so when the leaf
   swings back they stay exactly where they were, over the dark. */
:where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .wsib-i a, .fz-cam, .iw) {
  position: relative; isolation: isolate;
  border-radius: var(--sr-arch);
  border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit);
  background: var(--sr-void);
  box-shadow: var(--sr-cast);
}
:where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .wsib-i a, .fz-cam, .iw)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background: var(--sr-leaf);
  /* the leaf's own lit edge, and a hairline on its free edge that catches
     the light once it stands away from the frame */
  box-shadow: inset 1px 1px 0 rgba(240, 200, 64, .18), inset -2px 0 0 rgba(240, 200, 64, .2);
  transform-origin: 0 50%;
}
/* The signature: a crack onto darkness. Pointer only, motion allowed only.
   A slow, heavy start and a slower close, like a door with weight. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .wsib-i a, .fz-cam, .iw)::before {
    transition: transform .9s cubic-bezier(.3, .1, .2, 1);
  }
  :where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .fz-cam):hover::before {
    transform: perspective(1000px) rotateY(18deg);
    transition-duration: .7s;
  }
  /* small doors need a wider swing to show the same crack */
  :where(:root[data-style="surrealism"]) :is(.wsib-i a, .iw):hover::before {
    transform: perspective(600px) rotateY(20deg);
    transition-duration: .7s;
  }
}
/* nothing lifts or slides: the door stays in its wall */
@media (hover: hover) {
  :where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .wsib-i a, .fan-tile, .fan-rankrow, .fan-land, .fan-link):hover { transform: none; }
  :where(:root[data-style="surrealism"]) :is(.fan-card, .fan-linkcard, .fan-iface, .wsib-i a):hover {
    background: var(--sr-void); box-shadow: var(--sr-cast);
  }
}

/* ── 2. the world page: the pizzeria as a dream ─────────────────────────── */

/* The lamp's amber takes the tab bar; every tile and card keeps its own --a. */
:root[data-style="surrealism"] .tabbar { --s-accent: var(--sr-lamp); }

/* The sky. Night at the top, going green toward a horizon three-fifths of
   the way down, with the lamp's light raking in from the top left. The whole
   backdrop is capped at .36 (fanpages.css), so these are drawn bright to
   land dark: measured on screen, the floor's lit end and the horizon stay
   under a luminance of .02, where the (lifted) mute text keeps 4.5:1. The camera
   static that sat over it goes: this is a dream, not a feed. */
:root[data-style="surrealism"] .fnaf-sky {
  background:
    linear-gradient(122deg, rgba(240, 200, 64, .3) 0%, rgba(240, 200, 64, .1) 22%, transparent 44%),
    linear-gradient(180deg, #030404 0%, #050b0a 30%, #0d2622 48%, #1d4c41 58.4%, #2a6456 59.7%, #0d2622 60.6%, #050706 100%);
}
:root[data-style="surrealism"] .fnaf-sky::before { content: none; }
/* The show stage, shrunk to a far speck standing on the horizon: the floor
   line of its drawing (76% of the way down) is lifted to the horizon (60%)
   and the whole stage scaled to a fifth about it. Its floor band goes; the
   checkered floor below is the floor now, and the stage is drawn as a
   silhouette against the green, lit only by its own eyes. */
:root[data-style="surrealism"] .fnaf-room { transform: translateY(-16vh) scale(.22); transform-origin: 50% 76%; }
:root[data-style="surrealism"] :is(.fnr-floor, .fnr-tile) { fill: transparent; }
:root[data-style="surrealism"] :is(.fnr-stage, .fnr-bot) { fill: #040303; }
:root[data-style="surrealism"] .fnr-curtain { fill: #130608; }
/* The floor, the old light spill's layer: from the horizon to the foot of
   the screen, lit from the left and lost in fog toward the horizon. */
:root[data-style="surrealism"] .fnaf-hall {
  top: 60%;
  animation: none;
  --sr-light: radial-gradient(130% 150% at 0% 100%, #62533b 0%, #3f3627 40%, #1c1915 78%);
  background: var(--sr-shade), var(--sr-light), var(--sr-rays), var(--sr-rows);
  background-blend-mode: var(--sr-blend);
  -webkit-mask-image: var(--sr-fog); mask-image: var(--sr-fog);
}

/* The title, a monument: Bodoni capitals in lit plaster, the lamp catching
   the upper left of every stroke and one long soft shadow thrown down and
   to the right. It stands still; the camera flicker is gone. */
:root[data-style="surrealism"] body[data-fan="fnaf"] .fan-title {
  font-family: var(--s-display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 0.98; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--sr-ivory);
  text-shadow: -1px -1px 0 rgba(240, 200, 64, .32), 0.05em 0.03em 0.04em rgba(0, 0, 0, .9),
    0.16em 0.09em 0.14em rgba(0, 0, 0, .6), 0.36em 0.2em 0.32em rgba(0, 0, 0, .4);
  animation: none;
}

/* Section heads in Bodoni, in the ochre of a lit wall, each standing on its
   own horizon: the rule after it is a thin line that fades into distance.
   The note beside it stays small mono. */
:root[data-style="surrealism"] .subsec--fan {
  font-family: var(--s-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.08em; line-height: 1.2;
  text-shadow: 0.08em 0.05em 0.1em rgba(0, 0, 0, .7);
}
:root[data-style="surrealism"] .subsec--fan .subsec-yr {
  font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.14em; text-shadow: none;
}
:root[data-style="surrealism"] .subsec--fan::after {
  background: linear-gradient(90deg, rgba(201, 143, 79, .55), rgba(46, 110, 95, .4) 60%, transparent);
}
:root[data-style="surrealism"] :is(.fan-card :is(h2, h3, h4, h5), .fan-rankhead b, .fan-tiletext b, .fan-linkhead b, .fan-land-head b, .fan-what b, .wsib-h b, .fan-art-body q) {
  font-family: var(--s-display); font-weight: 700; letter-spacing: 0.01em;
}
:root[data-style="surrealism"] .fan-art-body q { font-weight: 500; font-style: normal; }
/* the games' numbers, in Bodoni's numerals */
:root[data-style="surrealism"] .fan-num { font-family: var(--s-display); font-weight: 500; font-size: 1.5rem; line-height: 1.05; opacity: 1; }

/* Doors need room under the arch: a little more at the top of each. */
:where(:root[data-style="surrealism"]) .fan-card { padding-top: 1.75rem; }
:where(:root[data-style="surrealism"]) .fan-linkcard { padding-top: 1.45rem; }
:where(:root[data-style="surrealism"]) .fan-iface {
  --sr-arch: 50% 50% 3px 3px / 18px 18px 3px 3px;
  padding-top: 1rem; background: var(--sr-void);
}
:where(:root[data-style="surrealism"]) .wsib-i a {
  --sr-arch: 50% 50% 2px 2px / 12px 12px 2px 2px;
  padding-top: 0.62rem;
}
/* the iface arrow and the tags are plaques, not pills */
:where(:root[data-style="surrealism"]) :is(.fan-iface-a, .fan-tag) { border-radius: 2px; }
/* A card's tag is the small plaque under a statue's name, so it moves
   below the name and keeps its own width. In the card's grid, align-self
   alone left it a bar across the door. Order moves it in both the grid
   and the flex fallback; the name takes the first row and its margin. */
:where(:root[data-style="surrealism"]) .fan-card > :is(h2, h3, h4, h5) { order: -2; margin-top: 0; }
:where(:root[data-style="surrealism"]) .fan-card > .fan-tag {
  order: -1; justify-self: start; align-self: start; margin-top: 0.45rem;
}

/* Everything that is not a door is a slab standing in the same light:
   square, lit on its upper left, one long shadow. */
:where(:root[data-style="surrealism"]) :is(.fan-tile, .fan-rankrow, .fan-land, .fan-peek, .fnaf-mon, .fnaf-panel, .fan-art--fnaf .fnaf-stage) {
  border-radius: 3px;
  box-shadow: var(--sr-lit), var(--sr-cast);
}
:where(:root[data-style="surrealism"]) :is(.fan-rankrow, .fan-land, .fnaf-panel) {
  background: var(--sr-leaf); border-color: var(--sr-frame);
}
:where(:root[data-style="surrealism"]) :is(.fan-link, .fan-sortbtn, .fan-tally, .fan-chips > *) { border-radius: 2px; }
:where(:root[data-style="surrealism"]) .fan-link {
  background: var(--sr-leaf); border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit);
  box-shadow: 10px 6px 10px -4px rgba(0, 0, 0, .7), 26px 14px 22px -10px rgba(0, 0, 0, .5);
}
@media (hover: hover) {
  :where(:root[data-style="surrealism"]) :is(.fan-tile, .fan-rankrow, .fan-land, .fan-link):hover { background: var(--sr-leaf-hi); }
}
/* the first-watched note: a lit plaque with the world's rust down its edge */
:where(:root[data-style="surrealism"]) .fan-intro-when {
  background: var(--sr-leaf); border-radius: 0 3px 3px 0;
  box-shadow: inset 0 1px 0 rgba(240, 200, 64, .14), var(--sr-cast);
}

/* An item's own colour (a tile's caption, a card's subtitle, its tag,
   Listen link and Play button) lifted a quarter toward white, so the darker
   ones hold on the lamplit leaf. :where keeps the shared rules' weight. */
:root[data-style="surrealism"] :is(.fan-tiletext i, .fan-card .fan-sub) { color: color-mix(in srgb, var(--a) 75%, #fff); }
:where(:root[data-style="surrealism"]) :is(.fan-tag, .fan-visit, .fan-hear) { color: color-mix(in srgb, var(--a) 75%, #fff); }

/* Freddy, as a bust in a niche: an arched recess in a wall the lamp lights
   from the left, a checkered floor under him, and his shadow long on the
   wall to his right. The caption sits on dark below the floor. */
:root[data-style="surrealism"] .fan-art--fnaf .fnaf-stage {
  position: relative; isolation: isolate;
  border-radius: 50% 50% 3px 3px / 70px 70px 3px 3px;
  background: radial-gradient(90% 70% at 8% 18%, #4a3622 0%, #2a1e13 40%, #120d09 78%, #070504 100%);
  border: 1px solid; border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit);
}
:root[data-style="surrealism"] .fan-art--fnaf .fnaf-stage::before {
  content: ""; position: absolute; left: 0; right: 0; top: 72%; height: 18%; z-index: -1;
  --sr-light: linear-gradient(90deg, #4a3d2b 0%, #2c251b 50%, #14110d 100%);
  background: var(--sr-light), var(--sr-rays), var(--sr-rows);
  background-blend-mode: multiply, difference, normal;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%);
}
:root[data-style="surrealism"] .fan-art--fnaf .fnaf-stage svg { filter: drop-shadow(26px 12px 10px rgba(0, 0, 0, .72)); }
:root[data-style="surrealism"] .fan-art--fnaf .fnaf-stage figcaption { background: #070504; padding-top: 0.8rem; }

/* The office monitor keeps its CRT: the feed, its static, its cameras and
   its green ring. Its rooms take the same light, raking in from the left
   and falling off to the right, and the monitor and its readouts are slabs
   in the same light as everything else. */
:root[data-style="surrealism"] .fnaf-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(240, 200, 64, .16) 0%, rgba(240, 200, 64, .04) 34%, transparent 52%, rgba(0, 0, 0, .42) 100%);
}
:root[data-style="surrealism"] .fs-tile { fill: #2a2620; }
:root[data-style="surrealism"] .fnaf-mon { background: var(--sr-leaf); border: 1px solid; border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit); }
:root[data-style="surrealism"] .fnaf-cams { --s-focus: #8fd0a0; }
:root[data-style="surrealism"] .fnaf-panel h2 { color: color-mix(in srgb, var(--sr-ochre) 80%, #fff); }

/* ── 3. the Security Office: the same dream, the same light ────────────────
   The room behind everything takes the sky and the floor; the panels take
   the light; the cameras become doors. Everything the office does (the
   power meter, the night, both doors and both lights, the monitor and its
   wall, power out and six in the morning) keeps working exactly as it did:
   none of its states is restyled away. */

/* the room: the same sky, drawn at its final strength (nothing caps it
   here), and the same floor, lit from the same side */
:root[data-style="surrealism"] .fz-dark {
  background:
    linear-gradient(122deg, rgba(240, 200, 64, .13) 0%, rgba(240, 200, 64, .045) 22%, transparent 44%),
    linear-gradient(180deg, #060606 0%, #070a09 30%, #0a1513 48%, #133029 58.4%, #1b3c33 59.7%, #0a1513 60.6%, #070707 100%);
}
/* the office's mute, lifted the same step for the same reason */
:root[data-style="surrealism"] .fz { --mute: #958a7c; }
:root[data-style="surrealism"] .fz-dark::after {
  content: ""; position: absolute; left: 0; right: 0; top: 60%; bottom: 0;
  --sr-light: radial-gradient(130% 150% at 0% 100%, #443a2a 0%, #2a251c 40%, #16140f 78%);
  background: var(--sr-shade), var(--sr-light), var(--sr-rays), var(--sr-rows);
  background-blend-mode: var(--sr-blend);
  -webkit-mask-image: var(--sr-fog); mask-image: var(--sr-fog);
}

/* the title and the section heads in the lamp's light, with one long
   shadow each (the office keeps its own face) */
:root[data-style="surrealism"] .fz-title {
  text-shadow: -1px -1px 0 rgba(240, 200, 64, .3), 0.05em 0.03em 0.04em rgba(0, 0, 0, .9), 0.16em 0.09em 0.14em rgba(0, 0, 0, .6), 0.36em 0.2em 0.32em rgba(0, 0, 0, .4);
}
:root[data-style="surrealism"] .fz-h { text-shadow: 0.06em 0.04em 0.06em rgba(0, 0, 0, .8), 0.2em 0.12em 0.2em rgba(0, 0, 0, .5); }

/* the panels: slabs in the light, square, lit on the upper left */
:where(:root[data-style="surrealism"]) :is(.fz-power, .fz-desk-mid, .fz-door-side, .fz-figs > div) {
  border-radius: 3px;
  border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit);
  background: var(--sr-leaf);
  box-shadow: var(--sr-lit), var(--sr-cast);
}
:where(:root[data-style="surrealism"]) :is(.fz-btn, .fz-dbtn) {
  border-radius: 2px;
  box-shadow: 10px 6px 10px -4px rgba(0, 0, 0, .7), 26px 14px 22px -10px rgba(0, 0, 0, .5);
}

/* Each doorway looks down its hall at the same floor, in perspective to
   the far end, and the light at the end of the hall (when it is on) is the
   same lamp. The steel shutter and the figure are untouched. */
:root[data-style="surrealism"] .fz-hall { border-radius: 50% 50% 2px 2px / 22px 22px 2px 2px; }
:root[data-style="surrealism"] .fz-hall-floor {
  clip-path: none;
  --sr-light: linear-gradient(180deg, #14110d, #3a3022);
  background: var(--sr-light), var(--sr-rays), var(--sr-rows);
  background-blend-mode: multiply, difference, normal;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%); mask-image: linear-gradient(180deg, transparent, #000 50%);
}
:root[data-style="surrealism"] .fz-door-side.is-lit .fz-hall-floor { --sr-light: linear-gradient(180deg, #2a2216, #7a6440); }

/* The cameras are doors: each one an arched opening onto a room of the
   site, labelled for a room of the pizzeria (the Kitchen opens onto Star
   Wars). The tile's old scanline layer becomes its leaf, scanlines and
   all; a camera something is standing in still warns you, in red, on the
   leaf as well as the frame. */
:where(:root[data-style="surrealism"]) .fz-cam {
  --sr-arch: 50% 50% 3px 3px / 16px 16px 3px 3px;
  border: 1px solid; border-color: var(--sr-frame-lit) var(--sr-frame) var(--sr-frame) var(--sr-frame-lit);
  padding-top: 2.2rem;
}
:where(:root[data-style="surrealism"]) .fz-cam::before {
  opacity: 1;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), var(--sr-leaf);
}
:where(:root[data-style="surrealism"]) .fz-cam-n { top: 1rem; left: 0.85rem; }
:root[data-style="surrealism"] .fz-cam.is-here { border-color: var(--red); }
:root[data-style="surrealism"] .fz-cam.is-here::before {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px), linear-gradient(100deg, #3a1610 0%, #2a110c 42%, #1a0b08 100%);
}
@media (hover: hover) {
  :where(:root[data-style="surrealism"]) .fz-cam:hover { background: var(--sr-void); border-color: var(--amber); }
}

/* The world button is the door back to the world page: the lamp's amber
   (it was the shared purple), an arched leaf like every other door here,
   and the page's own ring. */
:root[data-style="surrealism"] .iw {
  --iw-a: var(--sr-lamp); --sr-arch: 50% 50% 3px 3px / 14px 14px 3px 3px;
  border-color: rgba(240, 200, 64, .7) rgba(240, 200, 64, .36) rgba(240, 200, 64, .36) rgba(240, 200, 64, .7);
}
:root[data-style="surrealism"] .iw::before { background: linear-gradient(100deg, #2a2012 0%, #1a140c 50%, #100c08 100%); }
:root[data-style="surrealism"] .iw-i { border-radius: 2px; }
@media (hover: hover) and (pointer: fine) {
  :root[data-style="surrealism"] .iw:hover { transform: none; background: var(--sr-void); box-shadow: var(--sr-cast); }
}
:root[data-style="surrealism"] .iw:focus-visible { outline-color: var(--s-focus); }

/* the monitor: the screen takes the same raking light, and its rooms the
   same floor, low under the figure and clear of the words */
:root[data-style="surrealism"] .fz-mon-shell { border-radius: 3px; box-shadow: 0 0 0 1px rgba(240, 200, 64, .14), 40px 26px 70px -20px #000; }
:root[data-style="surrealism"] .fz-mon-screen::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; pointer-events: none;
  --sr-light: linear-gradient(90deg, #4a3e2c, #1c1812);
  background: var(--sr-light), var(--sr-rays), var(--sr-rows);
  background-blend-mode: multiply, difference, normal;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%);
}
:root[data-style="surrealism"] .fz-mon-figure { z-index: 1; }
:root[data-style="surrealism"] .fz-mon-figure svg { filter: drop-shadow(30px 8px 6px rgba(0, 0, 0, .8)); }
