.b-field{cursor:pointer;isolation:isolate;outline:none}.field-paint{opacity:.94;pointer-events:none}.field-border{pointer-events:none;stroke-linejoin:round}.b-field:hover .field-border,.b-field:focus-visible .field-border,.b-field.selected .field-border{stroke:#fff2bf;stroke-width:3}.b-field.related .field-border{stroke:#ffe5ab;stroke-width:2.8}.b-field.dimmed{opacity:.45}body.native-view #b-stage #b-canvas{aspect-ratio:3/1}body.native-view .b-label{stroke-width:2}body.native-view .b-years{stroke-width:1.5}body.native-view .b-name{letter-spacing:1.1px}body.native-view #b-river{width:100%;height:100%}body.native-view #painting{filter:url(#art-shear)}body.native-view .field-paint image{filter:url(#art-shear)}

body.native-view #b-stage{aspect-ratio:3472/1024}body.native-view #b-canvas{aspect-ratio:3472/1024}@media(max-width:800px){body.native-view #b-stage{height:65vh;aspect-ratio:auto}body.native-view #b-canvas{width:3472px;height:1024px}}

body.native-view #painting{filter:none}body.native-view .b-field.dimmed{opacity:.48}body.native-view .field-border{stroke-width:1.2}

body.native-view #b-canvas{width:100%;height:100%;will-change:auto}body.native-view #b-river{overflow:hidden}@media(max-width:800px){body.native-view #b-canvas{width:100%;height:100%}}

/* Lighter mineral pigments with ink lettering; colour belongs to each real region. */
body.native-view #painting{filter:url(#paper-wash)}
body.native-view .b-label.dark text{fill:#2e332e;stroke:#fff9e9;stroke-opacity:.92;stroke-width:2.2;paint-order:stroke;stroke-linejoin:round}
body.native-view .b-label.dark .b-years{fill:#273127;stroke-width:1.8}
body.native-view .b-label.dark.dimmed{opacity:.82}
body.native-view .b-label.dark.selected text{fill:#633c2c;stroke:#fff7df;filter:none}
body.native-view .b-field:hover .field-border,body.native-view .b-field:focus-visible .field-border,body.native-view .b-field.selected .field-border{stroke:#8d5039;stroke-width:3}
body.native-view .b-field.related .field-border{stroke:#aa8060;stroke-width:2.4}
body.native-view .field-shape,body.native-view .field-border{shape-rendering:geometricPrecision}
body.native-view .field-border{stroke-linecap:round;stroke-linejoin:round;stroke-width:1.1}

/* Readable names and dates over the painted material. */
body.native-view .b-name{font-family:"Microsoft YaHei","Noto Sans SC",sans-serif;font-weight:700;letter-spacing:.6px}
body.native-view .b-years{font-family:Arial,"Microsoft YaHei",sans-serif;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.1px}
body.native-view .b-label.dark text{fill:#fffdf4;stroke:#17231b;stroke-opacity:1;stroke-width:2.8;paint-order:stroke;text-rendering:optimizeLegibility}
body.native-view .b-label.dark .b-years{fill:#fffdf4;stroke:#17231b;stroke-width:2.1}
body.native-view .b-label.dark.dimmed{opacity:1}
body.native-view .b-label.dark.selected text{fill:#fffdf4;stroke:#17231b}
/* One lettering colour for every polity, date and selection state. */
body.native-view .b-label[data-ink="light"] text{fill:#fffdf4;stroke:#17231b;stroke-width:2.8;stroke-opacity:1;paint-order:stroke}
body.native-view .b-label[data-ink="light"] .b-years{fill:#fffdf4;stroke:#17231b;stroke-width:2.1}
body.native-view .b-label[data-ink="light"].selected text{fill:#fffdf4;stroke:#17231b}

/* Lift the whole painted piece without moving its hit area. */
body.native-view .polity-piece{pointer-events:none;transform-box:fill-box;transform-origin:center;transform:translateY(0) scale(1);transition:transform 200ms cubic-bezier(.2,.7,.2,1),filter 200ms ease}
body.native-view .polity-piece.is-lifted{transform:translateY(var(--piece-lift,-14px)) scale(1.1);filter:drop-shadow(0 7px 6px #28251c55)}
body.native-view .polity-piece .b-field,body.native-view .polity-piece .b-label{pointer-events:none}
body.native-view .polity-hit{fill:transparent;stroke:none;pointer-events:fill;cursor:pointer}
body.native-view .b-field:hover .field-border,body.native-view .b-field:focus-visible .field-border,body.native-view .b-field.selected .field-border,body.native-view .b-field.related .field-border{stroke:#f6e8cc;stroke-width:1.1}
body.native-view #flow-layer{display:none}
@media(prefers-reduced-motion:reduce){body.native-view .polity-piece{transition:none}}

body.mobile-flat #painting,body.mobile-flat #b-river *{filter:none!important}body.mobile-flat .field-shape{fill:transparent;stroke:none}body.mobile-flat .polity-piece{transition:none}
