/* Bohemian, for /worlds/pirates/ and /compass/ (style: bohemian).

   Jack Sparrow is the free spirit the word was made for, and Tortuga and Tia
   Dalma's shack are the films' most bohemian rooms. So this is below decks at
   night: deep sea teal and ink for the ground, saffron, oxblood and emerald
   for the jewels, and everything Jack carries in his pockets and his hair.
   Textiles (a kilim, an ikat) are laid only as bands, as dividers and trim,
   never behind a paragraph; tags are glass beads strung on a cord across
   their card; buttons are coins with the letters struck into them; a list
   item hangs from a tassel. The signature is the section on Jack's compass,
   framed by his red bandana and two braids of beads, each ending in a coin.

   One file for the pair, in three parts: what both pages share (the jewels,
   the two weaves, the coin); the world page; and the Compass, which keeps
   its sea chart exactly as it is (paper and ink, rhumb lines, the brass
   compass) and wears the same weaves, coins and beads around it as trim.
   The faces: the Compass's own IM Fell English SC for the world page's
   headings, which is the other thing that ties the two together; reading
   text stays Inter, labels stay JetBrains Mono. The spec: docs/superpowers/
   specs/2026-10-11-page-styles-design.md, "Pirates of the Caribbean:
   Bohemian" and section 9.

   Everything here is scoped to :root[data-style="bohemian"]. Material rules
   on shared components put that scope in :where(), so they weigh what the
   rule they restyle weighs and each page's own hover, open and playing
   states still win; where a state would throw the material away (a coin
   losing its face on hover), the state is restated here at full weight. */

/* ── 1. shared: the jewels, the two weaves, the coin ────────────────────── */
:root[data-style="bohemian"] {
  --bh-saffron: #f0a830;
  --bh-oxblood: #8a2a1f;
  --bh-emerald: #1f9a6a;
  --bh-cream: #f3e6c8;
  --bh-twine: rgba(243, 230, 200, .5);
  /* the weaves, as tiles drawn thread by thread so they stay crisp at 1:1;
     each is named, so a check can find every place one is laid. The kilim
     is stepped lozenges on madder red; the ikat is the same jewels with the
     ragged, bled edges of thread dyed in bundles before it is woven. */
  --bh-kilim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='kilim' width='28' height='12' shape-rendering='crispEdges'%3E%3Cpath fill='%238a2a1f' d='M0 0h28v12H0z'/%3E%3Cpath fill='%23f0a830' d='M0 0h28v1H0zM0 11h28v1H0zM13 2h2v1h2v1h2v1h2v2h-2v1h-2v1h-2v1h-2v-1h-2v-1h-2v-1h-2v-2h2v-1h2v-1h2z'/%3E%3Cpath fill='%230a1a1d' d='M0 1h28v1H0zM0 10h28v1H0z'/%3E%3Cpath fill='%231f9a6a' d='M13 4h2v1h2v2h-2v1h-2v-1h-2v-2h2zM0 4h1v1h2v2h-2v1H0zM28 4h-1v1h-2v2h2v1h1z'/%3E%3Cpath fill='%23f3e6c8' d='M13 5h2v2h-2z'/%3E%3C/svg%3E");
  --bh-ikat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='ikat' width='36' height='14' shape-rendering='crispEdges'%3E%3Cpath fill='%237a2418' d='M0 0h36v14H0z'/%3E%3Cpath fill='%23b8681f' d='M15 0h3v1h-3zM20 0h3v1h-3zM14 1h2v1h-2zM21 1h3v1h-3zM26 3h1v1h-1zM5 4h2v1h-2zM29 4h3v1h-3zM31 5h3v1h-3zM33 6h3v1h-3zM3 7h1v1h-1zM31 7h1v1h-1zM4 8h2v1h-2zM28 8h1v1h-1zM7 9h1v1h-1zM27 9h3v1h-3zM10 10h3v1h-3zM25 10h3v1h-3zM13 11h2v1h-2zM21 11h2v1h-2zM15 12h1v1h-1zM19 12h2v1h-2z'/%3E%3Cpath fill='%23f0a830' d='M18 0h2v1h-2zM16 1h5v1h-5zM11 2h14v1h-14zM9 3h17v1h-17zM7 4h22v1h-22zM5 5h26v1h-26zM3 6h30v1h-30zM4 7h27v1h-27zM6 8h22v1h-22zM8 9h19v1h-19zM13 10h12v1h-12zM15 11h6v1h-6zM16 12h3v1h-3z'/%3E%3Cpath fill='%232d5a4a' d='M19 3h3v1h-3zM23 4h2v1h-2zM10 5h1v1h-1zM24 5h3v1h-3zM9 6h2v1h-2zM12 7h1v1h-1zM10 8h3v1h-3zM22 8h2v1h-2zM15 9h1v1h-1zM19 9h1v1h-1z'/%3E%3Cpath fill='%230c3a3a' d='M16 3h3v1h-3zM13 4h10v1h-10zM11 5h13v1h-13zM11 6h13v1h-13zM13 7h12v1h-12zM13 8h9v1h-9zM16 9h3v1h-3z'/%3E%3Cpath fill='%23f3e6c8' d='M17 5h2v1h-2zM16 6h4v1h-4zM17 7h2v1h-2z'/%3E%3C/svg%3E");
  /* a band's ends unravel into its own threads, the fringe a kilim has */
  --bh-fringe:
    linear-gradient(#000 0 0) 7px 0 / calc(100% - 14px) 100% no-repeat,
    repeating-linear-gradient(#000 0 1px, transparent 1px 2px);
  /* a struck gold coin, lit from the upper left; the letters are struck in */
  --bh-gold: radial-gradient(130% 150% at 30% 15%, #fff0c2 0, #f4c766 20%, #d29a36 52%, #9a6219 88%, #6f4410 100%);
  --bh-rim: #f6d58a;
  --bh-struck: inset 0 0 0 1.5px rgba(111, 68, 16, .85), inset 0 0 0 3px rgba(255, 233, 170, .4), 0 6px 14px -8px rgba(0, 0, 0, .9);
  --bh-stamp: #2a1806;
  --bh-emboss: 0 1px 0 rgba(255, 240, 200, .5);

  /* the world page's shared components read these (base.css): sea-teal
     cloth, a saffron thread for an edge, a soft lantern-side drop */
  --s-surface: rgba(7, 33, 38, .92);
  --s-surface-hi: rgba(11, 45, 51, .95);
  --s-edge: rgba(240, 168, 48, .22);
  --s-bw: 1px;
  --s-r: 12px;
  --s-r-sm: 999px;
  --s-shadow: 0 18px 36px -26px rgba(0, 0, 0, .9);
  --s-shadow-hi: 0 26px 46px -26px #000, 0 0 0 1px rgba(240, 168, 48, .4);
  --s-lift: -3px;
  --s-display: "IM Fell English SC", Georgia, serif;
  --s-display-w: 400;
  --s-display-ls: 0.01em;
  --s-focus: #f5b84a;
  /* captions and notes sit on teal, a shade lighter than the old black, so
     the mute is lifted to keep its margin (lighter only, never darker) */
  --mute: #94929a;

  /* the bars: dark sea-teal glass with a saffron thread along the edge */
  --s-bar: rgba(5, 24, 28, .8);
  --s-bar-edge: rgba(240, 168, 48, .26);
  --s-bar-shadow: inset 0 1px 0 rgba(240, 168, 48, .1), 0 16px 40px rgba(0, 0, 0, .5);

  /* no circuit field below decks; the HUD lattice tightens and warms into
     the weave of sailcloth, and the grain stays, faint, as the cloth's tooth */
  --s-grain: 0.035;
  --s-field: 0;
  --hud-cell: 26px;
  --hud-grid: rgba(240, 168, 48, .026);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root[data-style="bohemian"] { --s-bar: rgba(5, 24, 28, .97); }
}
@media (prefers-reduced-transparency: reduce) {
  :root[data-style="bohemian"] { --s-bar: rgb(5, 24, 28); --s-surface: rgb(7, 33, 38); --s-surface-hi: rgb(11, 45, 51); }
}
@media (prefers-contrast: more) {
  :root[data-style="bohemian"] { --mute: #b0aeb6; --ink-dim: #cac8c0; --line: #3e3e46; --s-edge: rgba(240, 168, 48, .55); --bh-twine: rgba(243, 230, 200, .8); }
}
:root[data-style="bohemian"] ::selection { background: rgba(240, 168, 48, .4); color: #fff; }

/* ── 2. the world page: below decks at night ────────────────────────────── */

/* the world's colour moves from lamplit gold to saffron; items that carry
   their own --a keep theirs. Only the tab bar takes it as an accent. */
:root[data-style="bohemian"] body[data-fan="potc"] { --a: var(--bh-saffron); background-color: #06181c; }
:root[data-style="bohemian"] .tabbar { --s-accent: var(--bh-saffron); }

/* The night outside: sea teal where the lamplit brown was, the rose turning
   in saffron, the hatching in saffron and emerald thread. The whole sky is
   capped at .36 (fanpages.css), over a ground of teal ink. */
:root[data-style="bohemian"] .potc-sky {
  background: radial-gradient(90% 70% at 50% 0%, #11414a 0%, #0a2a30 48%, #041114 100%);
}
:root[data-style="bohemian"] .potc-sky::before {
  background-image:
    repeating-linear-gradient(28deg, rgba(240, 168, 48, .06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-28deg, rgba(76, 201, 148, .05) 0 1px, transparent 1px 62px);
}
:root[data-style="bohemian"] .potc-rose { color: var(--bh-saffron); }
:root[data-style="bohemian"] .potc-sea {
  background:
    linear-gradient(180deg, rgba(140, 200, 190, .1) 0 1px, transparent 1px),
    radial-gradient(58% 70% at 16% 0%, rgba(232, 214, 170, .11), transparent 68%),
    linear-gradient(180deg, #0a2c31 0%, #061c20 55%, #041214 100%);
}
:root[data-style="bohemian"] .potc-far-ship path { fill: #031012; }

/* Headings in the Compass's own face, IM Fell English SC: the type of the
   Oxford press in the 1670s, which is what ties this page to the chart.
   One weight, so nothing is bolded; already small caps, so nothing is
   faked into them. Reading text stays Inter. */
:root[data-style="bohemian"] :is(.fan-title, .fan-card :is(h2, h3, h4, h5), .fan-rankhead b, .fan-tiletext b, .fan-land-head :is(h2, h3, h4, h5), .fan-linkhead b, .wsib-h b) {
  font-family: var(--s-display); font-weight: 400; font-variant: normal; letter-spacing: 0.01em;
}
:root[data-style="bohemian"] .fan-title { line-height: 1; color: var(--bh-cream); }
:root[data-style="bohemian"] .fan-card :is(h2, h3, h4, h5) { font-size: 1.22rem; }
:root[data-style="bohemian"] .fan-rankhead b { font-size: 1.16rem; }
:root[data-style="bohemian"] .fan-linkhead b { font-size: 1.1rem; }
:root[data-style="bohemian"] .wsib-h b { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }

/* under the title, an ikat band: the first textile on the page */
:root[data-style="bohemian"] .fan-title::after {
  content: ""; display: block; width: min(100%, 30rem); height: 14px; margin-top: 1.1rem;
  background: var(--bh-ikat) left center / auto 14px repeat-x;
  -webkit-mask: var(--bh-fringe); mask: var(--bh-fringe);
}

/* Section heads in the display face, with a kilim band for the rule that
   ran out beside them, its ends fringed */
:root[data-style="bohemian"] .subsec--fan {
  font-family: var(--s-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: 0.02em; text-transform: none; color: var(--bh-cream);
}
:root[data-style="bohemian"] .subsec--fan .subsec-yr {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--bh-saffron) 72%, #fff);
}
:root[data-style="bohemian"] .subsec--fan::after {
  flex: 1 1 4rem; min-width: 4rem; height: 12px;
  background: var(--bh-kilim) left center / auto 12px repeat-x;
  -webkit-mask: var(--bh-fringe); mask: var(--bh-fringe);
}

/* the door to the Compass: sea-teal cloth, its arrow a coin */
:where(:root[data-style="bohemian"]) .fan-iface { background: var(--s-surface); border-color: rgba(240, 168, 48, .5); }
:where(:root[data-style="bohemian"]) :is(.fan-iface-a, .fan-num) {
  border: 1px solid var(--bh-rim); background: var(--bh-gold); box-shadow: var(--bh-struck);
  color: var(--bh-stamp); text-shadow: var(--bh-emboss);
}
/* and the fragment of it under the title is the Compass's own night water */
:where(:root[data-style="bohemian"]) .fan-peek { background: #07141a; border-color: rgba(240, 168, 48, .4); }

/* ── coins: every button is struck ─────────────────────────────────────── */
:where(:root[data-style="bohemian"]) .fan-link {
  border-color: var(--bh-rim); background: var(--bh-gold); box-shadow: var(--bh-struck);
  color: var(--bh-stamp); text-shadow: var(--bh-emboss);
}
/* A Play button is a coin of its own item's alloy: gold run with the
   item's colour, so a film's tracks still read as that film's. Playing,
   it is the solid colour it always was (the page's own rule wins). */
:where(:root[data-style="bohemian"]) .fan-hear { font-size: 0.66rem; }
:where(:root[data-style="bohemian"]) :is(.fan-hear, .fp-slot) {
  --alloy: color-mix(in srgb, var(--c, var(--a, #f0a830)) 42%, #e0a840);
  --bh-face: radial-gradient(130% 150% at 30% 15%, color-mix(in srgb, var(--alloy) 45%, #fff), var(--alloy) 40%, var(--alloy) 70%, color-mix(in srgb, var(--alloy) 65%, #000));
  border-color: color-mix(in srgb, var(--alloy) 55%, #fff); background: var(--bh-face);
  box-shadow: var(--bh-struck); color: var(--bh-stamp);
}
@media (hover: hover) {
  :root[data-style="bohemian"] .fan-link:hover {
    color: var(--bh-stamp); border-color: #fff0c2;
    background: radial-gradient(130% 150% at 30% 15%, #fff6d8 0, #f8d27a 24%, #dea640 56%, #a26a1c 100%);
  }
  :root[data-style="bohemian"] .fan-hear:not(.is-playing):hover { color: var(--bh-stamp); background: var(--bh-face); border-color: #fff0c2; }
}

/* the rank's numerals, each film struck on its own coin */
:root[data-style="bohemian"] .fan-num {
  flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; min-width: 0;
  border-radius: 50%; font-size: 0.86rem; line-height: 1; opacity: 1;
}

/* ── beads: every tag is strung on a cord across its card ───────────────
   The cord runs edge to edge through the bead's middle (the bead is the
   card's first row, 1.3rem down, its height set here so the two agree).
   A bead is dark glass in the item's own colour, lit at the upper left,
   and its letters come up to the site's smallest size, 0.66rem. */
:root[data-style="bohemian"] .fan-card::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; pointer-events: none;
  top: calc(1.3rem + (0.66rem * 1.1 + 0.6rem + 2px) / 2 - 0.75px);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a) 60%, transparent) 7% 93%, transparent);
}
:root[data-style="bohemian"] .fan-card > .fan-tag {
  position: relative; z-index: 1; justify-self: start;
  font-size: 0.66rem; line-height: 1.1; padding: 0.3rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--a) 70%, #fff);
  background: radial-gradient(90% 120% at 26% 8%, rgba(255, 255, 255, .26), transparent 46%), color-mix(in srgb, var(--a) 32%, #06171a);
  color: color-mix(in srgb, var(--a) 55%, #fff);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35), 0 2px 4px -1px rgba(0, 0, 0, .7);
}
/* a tile's swatch is a bead too; in the Brethren Court it is a piece of
   eight, a coin of the Lord's own metal with a milled edge */
:root[data-style="bohemian"] .fan-swatch {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--a) 30%, #fff) 0 14%, var(--a) 46%, color-mix(in srgb, var(--a) 55%, #000) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
:root[data-style="bohemian"] .fan-tiles--compact .fan-swatch { width: 10px; height: 10px; }
:root[data-style="bohemian"] #brethren .fan-swatch {
  --alloy: color-mix(in srgb, var(--a) 50%, #e0a840);
  width: 24px; height: 24px; margin-top: -2px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 245, 210, .8) 0, rgba(255, 245, 210, 0) 30%),
    radial-gradient(closest-side, transparent 0 60%, rgba(80, 48, 10, .6) 62% 66%, transparent 68%),
    radial-gradient(closest-side, color-mix(in srgb, var(--alloy) 60%, #fff), var(--alloy) 45%, color-mix(in srgb, var(--alloy) 70%, #000) 82%, transparent 85%),
    repeating-conic-gradient(color-mix(in srgb, var(--alloy) 50%, #000) 0 10deg, var(--alloy) 0 20deg);
  box-shadow: 0 3px 6px -2px rgba(0, 0, 0, .8);
}

/* the sort and view switches: beads on one cord, the chosen one lit */
:where(:root[data-style="bohemian"]) :is(.fan-sortbtn, .fan-viewbtn) {
  position: relative; border-radius: 999px; font-size: 0.66rem; border-color: rgba(240, 168, 48, .45);
  background: radial-gradient(90% 120% at 26% 8%, rgba(255, 255, 255, .16), transparent 46%), #072126;
}
:root[data-style="bohemian"] :is(.fan-sortbtn, .fan-viewbtn).is-on {
  color: var(--bh-stamp); border-color: #fff0c2;
  background: radial-gradient(90% 120% at 26% 8%, rgba(255, 255, 255, .5), transparent 46%), color-mix(in srgb, var(--a) 85%, #fff);
}
/* the world siblings are beads as well, in the world's own colour */
:where(:root[data-style="bohemian"]) .wsib-i a {
  position: relative; border-radius: 999px; border-color: color-mix(in srgb, var(--a) 55%, transparent);
  background: radial-gradient(90% 120% at 22% 6%, rgba(255, 255, 255, .14), transparent 40%), #072126;
}
:root[data-style="bohemian"] :is(.fan-sortbtn, .fan-viewbtn) + :is(.fan-sortbtn, .fan-viewbtn)::before,
:root[data-style="bohemian"] .wsib-i + .wsib-i a::before {
  content: ""; position: absolute; right: 100%; top: calc(50% - 0.5px); width: 0.5rem; height: 1px;
  background: var(--bh-twine); pointer-events: none;
}
/* a film's group of tracks hangs off a beaded cord, in that film's colour,
   its name lifted a quarter toward white so the darker films (At World's
   End's blue, On Stranger Tides' red) read on teal */
:root[data-style="bohemian"] .fan-grouphead { color: color-mix(in srgb, var(--a) 70%, #fff); }
:root[data-style="bohemian"] .fan-grouphead::after {
  height: 6px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--a) 80%, #fff) 0 1.6px, transparent 2.2px) left center / 9px 6px repeat-x,
    linear-gradient(color-mix(in srgb, var(--a) 40%, transparent), color-mix(in srgb, var(--a) 40%, transparent)) center / 100% 1px no-repeat;
}

/* ── cloth: cards, rows and panels are sea-teal ─────────────────────────── */
:where(:root[data-style="bohemian"]) :is(.fan-card, .fan-tile, .fan-linkcard) { box-shadow: var(--s-shadow); }
:where(:root[data-style="bohemian"]) :is(.fan-rankrow, .fan-land, .fan-shot) {
  background: var(--s-surface); border-color: var(--s-edge); border-radius: var(--s-r); box-shadow: var(--s-shadow);
}
:root[data-style="bohemian"] :is(.fan-tiletext i, .fan-card .fan-sub) { color: color-mix(in srgb, var(--a) 72%, #fff); opacity: 1; }
:where(:root[data-style="bohemian"]) :is(.fan-tag, .fan-visit) { color: color-mix(in srgb, var(--a) 72%, #fff); }

/* A quote, and the compass's answer, hang from a strand of beads in the
   speaker's colour where the gold rule was: a cord with a bead every 16px,
   in the padding, never behind the words. */
:where(:root[data-style="bohemian"]) :is(.fan-quote, .fp-out) {
  --bh-strand:
    radial-gradient(circle at 46% 42%, color-mix(in srgb, var(--a) 35%, #fff) 0 1px, var(--a) 2.2px, color-mix(in srgb, var(--a) 50%, #000) 4.2px, transparent 4.7px) 7px 9px / 10px 16px repeat-y,
    linear-gradient(var(--bh-twine), var(--bh-twine)) 11.5px 0 / 1px 100% no-repeat;
  border-left: 0; border-radius: var(--s-r); box-shadow: none; padding-left: 2.1rem;
  background: var(--bh-strand), linear-gradient(90deg, rgba(7, 33, 38, .92), rgba(7, 33, 38, .4) 80%);
}
@media (hover: hover) {
  :root[data-style="bohemian"] .fan-quote:hover {
    background: var(--bh-strand), linear-gradient(90deg, rgba(11, 45, 51, .96), rgba(11, 45, 51, .5) 80%);
    box-shadow: none;
  }
}

/* "When I got into it": a panel with a kilim runner across its top */
:where(:root[data-style="bohemian"]) .fan-intro-when {
  position: relative; padding-top: calc(1rem + 12px);
  border: 1px solid var(--s-edge); border-radius: var(--s-r); background: var(--s-surface);
}
/* a land (Everything In It) carries the same runner where its bar was */
:root[data-style="bohemian"] .fan-intro-when::before,
:root[data-style="bohemian"] .fan-land-bar {
  content: ""; position: absolute; inset: 0 0 auto; height: 12px; opacity: 1;
  border-radius: calc(var(--s-r) - 1px) calc(var(--s-r) - 1px) 0 0;
  background: var(--bh-kilim) left center / auto 12px repeat-x;
}
:root[data-style="bohemian"] .fan-land { padding-top: calc(1.15rem + 10px); }

/* a list item hangs from a tassel: a knot, a binding, a fringe */
:root[data-style="bohemian"] .fan-ride::before {
  content: ""; flex: none; align-self: center; width: 7px; height: 13px; margin-right: 0.55rem;
  background:
    radial-gradient(circle at 50% 3px, var(--bh-saffron) 0 2.4px, transparent 3px),
    linear-gradient(var(--bh-oxblood), var(--bh-oxblood)) 50% 6px / 5px 2px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--bh-saffron) 80%, #fff) 0 1px, transparent 1px 2px) 50% 100% / 7px 6px no-repeat;
}

/* the header's plain icon buttons take a saffron thread for a rim, so
   they still read as buttons on the teal bar; the tinted ones keep theirs,
   and hover and the on states still win */
:where(:root[data-style="bohemian"]) :is(.ql--search, .ql--sound, .ql--cursor) { border-color: rgba(240, 168, 48, .55); }

/* the world siblings: a kilim runner for the rule above them */
:where(:root[data-style="bohemian"]) .wsib { position: relative; border-top: 0; }
:root[data-style="bohemian"] .wsib::before {
  content: ""; position: absolute; top: -6px; left: var(--gutter); right: var(--gutter); height: 12px;
  background: var(--bh-kilim) left center / auto 12px repeat-x;
  -webkit-mask: var(--bh-fringe); mask: var(--bh-fringe);
}

/* ── the signature: Jack's compass, framed by what he carries ────────────
   The section becomes one piece of sea-teal cloth with a saffron thread
   for an edge. Across its top, his red bandana, in ikat. Hanging from it
   at either side, a braid of beads ending in a coin, as in his hair: seven
   beads on the left and five on the right, because nothing on Jack is
   matched. The braids hang in the frame's own margin, clear of the words.
   The five things the compass might point at are coins on one cord. */
:root[data-style="bohemian"] .fan-play {
  position: relative; isolation: isolate;
  margin: 0 var(--gutter) 3.4rem; max-width: calc(var(--maxw) - 2 * var(--gutter));
  padding: calc(14px + 1.6rem) clamp(2rem, 3.4vw, 2.6rem) 1.6rem;
  border: 1px solid rgba(240, 168, 48, .4); border-radius: 14px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(240, 168, 48, .07), transparent 60%), var(--s-surface);
  box-shadow: var(--s-shadow);
}
:root[data-style="bohemian"] .fan-play::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 14px; border-radius: 13px 13px 0 0;
  background: var(--bh-ikat) left top / auto 14px repeat-x;
}
:root[data-style="bohemian"] .fan-play::after {
  --b: circle at 38% 34%;
  content: ""; position: absolute; z-index: -1; top: 14px; left: 3px; right: 3px; height: 132px; pointer-events: none;
  background:
    /* the left braid: seven beads and a coin */
    radial-gradient(var(--b), #ffe2a0 0 1.2px, #f0a830 3px, #8a5a12 5.6px, transparent 6px) 7px 6px / 12px 12px no-repeat,
    radial-gradient(var(--b), #b8f0d6 0 1.2px, #1f9a6a 3px, #0b4a32 5.6px, transparent 6px) 7px 20px / 12px 12px no-repeat,
    radial-gradient(var(--b), #f4b0a0 0 1.2px, #b03a2c 3px, #5a140e 5.6px, transparent 6px) 7px 34px / 12px 12px no-repeat,
    radial-gradient(var(--b), #fff 0 1.2px, #f3e6c8 3px, #a8987a 5.6px, transparent 6px) 7px 48px / 12px 12px no-repeat,
    radial-gradient(var(--b), #b8f0d6 0 1.2px, #1f9a6a 3px, #0b4a32 5.6px, transparent 6px) 7px 62px / 12px 12px no-repeat,
    radial-gradient(var(--b), #ffe2a0 0 1.2px, #f0a830 3px, #8a5a12 5.6px, transparent 6px) 7px 76px / 12px 12px no-repeat,
    radial-gradient(var(--b), #f4b0a0 0 1.2px, #b03a2c 3px, #5a140e 5.6px, transparent 6px) 7px 90px / 12px 12px no-repeat,
    radial-gradient(closest-side, #fff0c2 0, #f0c25c 34%, #c98d2a 66%, #7a4c12 84%, transparent 88%) 0 104px / 26px 26px no-repeat,
    /* the right braid: five beads and a coin */
    radial-gradient(var(--b), #f4b0a0 0 1.2px, #b03a2c 3px, #5a140e 5.6px, transparent 6px) right 7px top 6px / 12px 12px no-repeat,
    radial-gradient(var(--b), #ffe2a0 0 1.2px, #f0a830 3px, #8a5a12 5.6px, transparent 6px) right 7px top 20px / 12px 12px no-repeat,
    radial-gradient(var(--b), #fff 0 1.2px, #f3e6c8 3px, #a8987a 5.6px, transparent 6px) right 7px top 34px / 12px 12px no-repeat,
    radial-gradient(var(--b), #b8f0d6 0 1.2px, #1f9a6a 3px, #0b4a32 5.6px, transparent 6px) right 7px top 48px / 12px 12px no-repeat,
    radial-gradient(var(--b), #ffe2a0 0 1.2px, #f0a830 3px, #8a5a12 5.6px, transparent 6px) right 7px top 62px / 12px 12px no-repeat,
    radial-gradient(closest-side, #fff0c2 0, #f0c25c 34%, #c98d2a 66%, #7a4c12 84%, transparent 88%) right 0 top 76px / 26px 26px no-repeat,
    /* the cords they are strung on */
    linear-gradient(var(--bh-twine), var(--bh-twine)) 12.5px 0 / 1px 108px no-repeat,
    linear-gradient(var(--bh-twine), var(--bh-twine)) right 12.5px top 0 / 1px 80px no-repeat;
}
/* its heading (fan-play.js) speaks like a section head: the display face,
   its one weight, in cream */
:root[data-style="bohemian"] .fp-head :is(h2, h3) {
  font-family: var(--s-display); font-weight: 400; font-size: 1.35rem;
  letter-spacing: 0.02em; text-transform: none; color: var(--bh-cream);
}
/* the five coins, on a cord */
:where(:root[data-style="bohemian"]) .fp-bar {
  gap: 14px; padding: 6px 2px; border: 0; border-radius: 0;
  background: linear-gradient(transparent calc(50% - 0.5px), var(--bh-twine) 0 calc(50% + 0.5px), transparent 0);
}
:where(:root[data-style="bohemian"]) .fp-slot { border-radius: 50%; border-width: 1px; }
:root[data-style="bohemian"] .fp-slot svg { stroke: var(--bh-stamp); stroke-width: 1.7; }
:root[data-style="bohemian"] .fp-slot u { top: 2px; left: 50%; translate: -50% 0; font-size: 0.66rem; line-height: 1; color: rgba(42, 24, 6, .85); }
:root[data-style="bohemian"] .fp-slot.is-sel {
  border-color: #fff3cf; background: var(--bh-face);
  box-shadow: var(--bh-struck), 0 0 0 3px color-mix(in srgb, var(--alloy) 60%, transparent), 0 0 20px -2px color-mix(in srgb, var(--alloy) 80%, transparent);
}

/* ── 3. the Compass: the chart as it was, the trim from the world page ────
   The sea chart (its paper, its ink, the compass on it) is not touched.
   Around it: a kilim valance under the header, an ikat band under the
   title, a kilim runner across each panel, beads between the log's lines,
   both calls struck as coins, and the world button in saffron. */

/* the ring is saffron on the night water, and the chart's own oxblood on
   its paper, where saffron would vanish */
:root[data-style="bohemian"] .pc-chart { --s-focus: #7a2416; }
:root[data-style="bohemian"] .pc :is(a, button):focus-visible { outline: 2px solid var(--s-focus); outline-offset: 3px; }

:root[data-style="bohemian"] .pc-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background: var(--bh-kilim) left center / auto 12px repeat-x;
}
:root[data-style="bohemian"] .pc-hero::after {
  content: ""; display: block; width: min(100%, 30rem); height: 14px; margin: 1.5rem auto 0;
  background: var(--bh-ikat) center / auto 14px repeat-x;
  -webkit-mask: var(--bh-fringe); mask: var(--bh-fringe);
}
:where(:root[data-style="bohemian"]) .pc-panel {
  padding-top: calc(clamp(1.1rem, 2.6vw, 1.7rem) + 12px);
  border-color: rgba(240, 168, 48, .3); border-radius: 10px;
}
:root[data-style="bohemian"] .pc-panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 12px; border-radius: 9px 9px 0 0;
  background: var(--bh-kilim) left center / auto 12px repeat-x;
}
:where(:root[data-style="bohemian"]) .pc-dl div {
  border-bottom: 0;
  background: radial-gradient(circle, rgba(240, 168, 48, .6) 0 1.2px, transparent 1.7px) left bottom / 7px 4px repeat-x;
}
:where(:root[data-style="bohemian"]) :is(.pc-strike, .pc-take) {
  border-color: var(--bh-rim); border-radius: 999px; background: var(--bh-gold);
  box-shadow: var(--bh-struck); color: var(--bh-stamp); text-shadow: var(--bh-emboss);
}
:where(:root[data-style="bohemian"]) .pc-take { outline-color: rgba(246, 213, 138, .5); }
:where(:root[data-style="bohemian"]) .pc-ship { border-radius: 10px; }

/* the world button: saffron on the water, its globe struck on a coin */
:root[data-style="bohemian"] .pc .iw { --iw-a: #f0a830; }
:where(:root[data-style="bohemian"]) .pc .iw {
  border-color: rgba(240, 168, 48, .6);
  background: linear-gradient(180deg, rgba(240, 168, 48, .16), rgba(240, 168, 48, .06)), rgba(5, 19, 22, .85);
}
:where(:root[data-style="bohemian"]) .pc .iw-i {
  border: 1px solid var(--bh-rim); background: var(--bh-gold); box-shadow: var(--bh-struck); color: var(--bh-stamp);
}
:root[data-style="bohemian"] .pc .iw:focus-visible { outline-color: var(--s-focus); }
