/* Mur collaboratif PRISMA — CSS du premier prototype (version-3/board-original.css), curseurs extraits en fichiers pour la CSP. */

:where(.board-presentation) .wall-paper {
  background-color: #ffffff;
  background-image: none;
}

:where(.board-presentation) .wall-frame {
  position: relative;
  /* The wall's own shape, not a slice of the viewport.
     The artwork is letterboxed to 16:9 inside whatever box it is given —
     so a frame of some other proportion leaves bands of bare paper above
     and below it, which is the "gap" between the wall and the manifesto
     the owner kept seeing (2026-08-25). Matching the frame to the artwork
     means there is nothing left over to show. */
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
}
:where(.board-presentation) .wall-frame,
:where(.board-presentation) .wall-canvas-wrap {
  display: grid;
  place-items: center;
}

:where(.board-presentation) .wall-surface,
:where(.board-presentation) .wall-canvas {
  display: block;
  /* Size is set in JS (see fitCanvas): the canvas needs its backing store
     and its CSS box computed together, and CSS alone cannot letterbox a
     bitmap to a ratio without one of the two fighting the other. */
}
:where(.board-presentation) .wall-open-surface {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

:where(.board-presentation) .wall-invite {
  z-index: 2;
  position: absolute;
  left: calc(
    clamp(20px, 3vw, 40px) + clamp(70px, 12vw, 190px) + clamp(16px, 2.5vw, 36px)
  );
  bottom: 0;
  max-width: min(560px, 88%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 36px) clamp(22px, 3.4vw, 42px);
  text-align: left;
  background: var(--color-accent-green);
  color: var(--color-ink);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
:where(.board-presentation) .wall-invite-eyebrow {
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-invite-title {
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 50px);
  line-height: 0.95;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-invite-body {
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
}
:where(.board-presentation) .wall-invite-cta {
  display: block;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    max-height 0.45s cubic-bezier(0.3, 0.7, 0.3, 1),
    opacity 0.35s,
    margin-top 0.45s cubic-bezier(0.3, 0.7, 0.3, 1);
}
:where(.board-presentation) .wall-invite:focus-visible .wall-invite-cta {
  margin-top: 16px;
  max-height: 40px;
  opacity: 1;
}

@media (hover: hover) {
  :where(.board-presentation) .wall-invite:hover .wall-invite-cta {
    margin-top: 16px;
    max-height: 40px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  :where(.board-presentation) .wall-invite-cta {
    margin-top: 16px;
    max-height: 40px;
    opacity: 1;
  }
}
:where(.board-presentation) .wall-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.72);
  padding: clamp(12px, 2vw, 28px);
  z-index: 300;
}
:where(.board-presentation) .wall-gate-full {
  position: fixed;
  inset: 0;
  padding: 0;
  background: var(--color-paper);
  z-index: 200;
  /* The gate centres its panel; the editor is not a panel, it is the whole
     screen. `align-items: center` was sizing it to its content, which left
     the canvas 195px tall inside a 650px window. */
  display: block;
}
:where(.board-presentation) .wall-gate-ask {
  position: fixed;
  inset: 0;
  z-index: 400;
}

:where(.board-presentation) .wall-gate-panel {
  position: relative;
  width: min(460px, 100%);
  background: var(--color-paper);
  /* No rule of its own when it is a window: the titlebar and the w95
     frame draw the edge, and two borders read as two panels. */
  border: 1.5px solid var(--color-ink);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 100%;
  overflow-y: auto;
}
:where(.board-presentation) .wall-gate-panel.w95-window {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
:where(.board-presentation) .wall-gate-panel.w95-window > .w95-titlebar {
  flex: 0 0 auto;
}
:where(.board-presentation) .wall-gate-panel.w95-window > :not(.w95-titlebar) {
  margin-left: clamp(20px, 3vw, 32px);
  margin-right: clamp(20px, 3vw, 32px);
}
:where(.board-presentation) .wall-gate-panel.w95-window > :nth-child(2) {
  margin-top: clamp(18px, 2.5vw, 26px);
}
:where(.board-presentation) .wall-gate-panel.w95-window > :last-child {
  margin-bottom: clamp(20px, 3vw, 32px);
}
:where(.board-presentation) .wall-gate-panel.w95-window > .wall-gate-title {
  display: none;
}
:where(.board-presentation) .wall-gate-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}
:where(.board-presentation) .wall-gate-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-gate-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}
:where(.board-presentation) .wall-gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
:where(.board-presentation) .wall-gate-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-gate-input {
  border: 1.5px solid var(--color-ink);
  background: transparent;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
}
:where(.board-presentation) .wall-gate-error {
  margin: 0;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--color-accent-red);
}
:where(.board-presentation) .wall-gate-alt {
  border-top: 1px solid var(--color-ink);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}
:where(.board-presentation) .wall-gate-alt-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
:where(.board-presentation) .wall-editor {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--color-paper);
}

:where(.board-presentation) .wall-bar {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 14px);
  padding: 8px clamp(10px, 2vw, 20px);
  border-bottom: 1.5px solid var(--color-ink);
  flex-wrap: nowrap;
}
:where(.board-presentation) .wall-bar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}
@media (max-width: 560px) {
  :where(.board-presentation) .wall-bar-name {
    display: none;
  }
}
:where(.board-presentation) .wall-bar-name {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-meter {
  position: relative;
  flex: 1 1 140px;
  min-width: 120px;
  height: 22px;
  border: 1.5px solid var(--color-ink);
  overflow: hidden;
}
:where(.board-presentation) .wall-meter-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--color-ink);
  transition: width 0.3s var(--ease-wipe);
}
:where(.board-presentation) .wall-meter-label {
  position: relative;
  display: block;
  text-align: center;
  line-height: 19px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Reads on both halves of the meter as it fills. */
  mix-blend-mode: difference;
  color: #fff;
}
:where(.board-presentation) .wall-clock {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
:where(.board-presentation) .wall-clock[data-low="true"] {
  color: var(--color-accent-red);
}
:where(.board-presentation) .wall-finish {
  padding: 5px 16px;
}

:where(.board-presentation) .wall-editor-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

:where(.board-presentation) .wall-tools {
  width: clamp(96px, 15vw, 168px);
  border-right: 1.5px solid var(--color-ink);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
:where(.board-presentation) .wall-tools-heading {
  margin-top: 8px;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
}
:where(.board-presentation) .wall-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1.5px solid var(--color-ink);
  background: var(--color-paper);
  color: var(--color-ink);
  cursor: pointer;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 40px;
}
:where(.board-presentation) .wall-tool[data-on="true"] {
  background: var(--color-ink);
  color: var(--color-paper);
}
:where(.board-presentation) .wall-tool-label {
  display: none;
}
@media (min-width: 900px) {
  :where(.board-presentation) .wall-tool-label {
    display: inline;
  }
}

:where(.board-presentation) .wall-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
:where(.board-presentation) .wall-size {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-ink);
  background: var(--color-paper);
  cursor: pointer;
}
:where(.board-presentation) .wall-size[data-on="true"] {
  background: var(--color-ink);
}
:where(.board-presentation) .wall-size span {
  display: block;
  border-radius: 50%;
  background: var(--color-ink);
}
:where(.board-presentation) .wall-size[data-on="true"] span {
  background: var(--color-paper);
}

:where(.board-presentation) .wall-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
:where(.board-presentation) .wall-swatch {
  aspect-ratio: 1;
  border: 1.5px solid var(--color-ink);
  cursor: pointer;
  padding: 0;
}
:where(.board-presentation) .wall-swatch[data-on="true"] {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

:where(.board-presentation) .wall-stickers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 4px;
}
:where(.board-presentation) .wall-sticker {
  border: 1.5px solid var(--color-ink);
  background: var(--color-paper);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  /* Room for the credit line under the thumbnail. */
  grid-template-rows: auto auto;
  gap: 1px;
}
:where(.board-presentation) .wall-sticker-by {
  max-width: 100%;
  padding: 0 2px 1px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-ink);
}
:where(.board-presentation) .wall-sticker[data-on="true"] .wall-sticker-by {
  color: var(--color-paper);
}
:where(.board-presentation) .wall-sticker[data-on="true"] {
  background: var(--color-ink);
}
:where(.board-presentation) .wall-scale {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:where(.board-presentation) .wall-canvas-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #cfcbc0;
}

:where(.board-presentation) .wall-msg {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
}
:where(.board-presentation) .wall-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
:where(.board-presentation) .wall-picker input[type="color"] {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1.5px solid var(--color-ink);
  background: transparent;
  cursor: pointer;
}
:where(.board-presentation) .wall-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--color-paper);
  border: 1.5px solid var(--color-ink);
  cursor: pointer;
  text-align: left;
}
:where(.board-presentation) .wall-current span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
:where(.board-presentation) .wall-current small {
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-current strong {
  font-size: 11.5px;
}
:where(.board-presentation) .wall-current-nib {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background: var(--color-ink);
}
:where(.board-presentation) .wall-current-nib[data-mark="pencil"] {
  clip-path: polygon(50% 0, 68% 74%, 50% 100%, 32% 74%);
}
:where(.board-presentation) .wall-current-nib[data-mark="soft"] {
  border-radius: 50%;
  filter: blur(1.4px);
}
:where(.board-presentation) .wall-current-nib[data-mark="ink"] {
  clip-path: polygon(46% 0, 54% 0, 60% 82%, 50% 100%, 40% 82%);
}
:where(.board-presentation) .wall-current-nib[data-mark="chisel"] {
  clip-path: polygon(18% 22%, 82% 6%, 82% 78%, 18% 94%);
}
:where(.board-presentation) .wall-current-nib[data-mark="marker"] {
  clip-path: polygon(10% 26%, 90% 26%, 90% 74%, 10% 74%);
}
:where(.board-presentation) .wall-current-nib[data-mark="brush"] {
  border-radius: 60% 60% 40% 40% / 70% 70% 30% 30%;
}
:where(.board-presentation) .wall-current-nib[data-mark="grain"] {
  background: repeating-linear-gradient(
    45deg,
    var(--color-ink) 0 2px,
    transparent 2px 4px
  );
}
:where(.board-presentation) .wall-current-nib[data-mark="spray"] {
  background: radial-gradient(circle, var(--color-ink) 1px, transparent 1.4px) 0
    0 / 5px 5px;
}
:where(.board-presentation) .wall-current-nib[data-mark="eraser"] {
  background: var(--color-paper);
  border: 1.5px solid var(--color-ink);
  clip-path: polygon(24% 62%, 62% 18%, 96% 48%, 58% 92%, 6% 92%);
}

:where(.board-presentation) .wall-range {
  display: grid;
  gap: 3px;
}
:where(.board-presentation) .wall-range > span {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-range output {
  font-variant-numeric: tabular-nums;
}
:where(.board-presentation) .wall-range input[type="range"] {
  accent-color: var(--color-ink);
  height: 14px;
}

:where(.board-presentation) .wall-library {
  position: absolute;
  z-index: 12;
  left: 0;
  bottom: 0;
  width: min(430px, 92%);
  max-height: min(360px, 82%);
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border: 1.5px solid var(--color-ink);
  box-shadow: 5px 5px 0 rgba(21, 21, 21, 0.8);
}
:where(.board-presentation) .wall-library-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-library-bar button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
}
:where(.board-presentation) .wall-library-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
:where(.board-presentation) .wall-library-list section {
  margin-bottom: 12px;
}
:where(.board-presentation) .wall-library-list h3 {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 5px;
}
:where(.board-presentation) .wall-library-grid button {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 3px;
  background: var(--color-paper);
  border: 1.5px solid transparent;
  cursor: pointer;
}
@media (hover: hover) {
  :where(.board-presentation) .wall-library-grid button:hover {
    border-color: var(--color-ink);
  }
}
:where(.board-presentation) .wall-library-grid button[data-on="true"] {
  border-color: var(--color-ink);
  background: var(--color-accent-cyan);
}
:where(.board-presentation) .wall-library-grid small {
  font-size: 8.5px;
  text-align: center;
  line-height: 1.15;
}
:where(.board-presentation) .wall-library-foot {
  padding: 7px 9px;
  border-top: 1.5px solid var(--color-ink);
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-credits {
  position: absolute;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  margin: 0;
  max-width: min(46ch, 60%);
  text-align: right;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  background: rgba(233, 230, 221, 0.86);
  padding: 6px 10px;
}
:where(.board-presentation) .wall-credits > span:first-child {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 6px;
}
:where(.board-presentation) .wall-credits a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
:where(.board-presentation) .wall-camera {
  position: absolute;
  z-index: 13;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, 92%);
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border: 1.5px solid var(--color-ink);
  box-shadow: 5px 5px 0 rgba(21, 21, 21, 0.8);
}
:where(.board-presentation) .wall-camera-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
:where(.board-presentation) .wall-camera-bar button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
}
:where(.board-presentation) .wall-camera-view {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-ink);
  margin: 9px;
  border: 1.5px solid var(--color-ink);
}
:where(.board-presentation) .wall-camera-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
:where(.board-presentation) .wall-camera-view p {
  max-width: 24ch;
  color: var(--color-paper);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
:where(.board-presentation) .wall-camera-note {
  margin: 0 9px 9px;
  font-size: 11px;
  line-height: 1.5;
}
:where(.board-presentation) .wall-camera-shoot {
  margin: 0 9px 9px;
}

:where(.board-presentation) .wall-editor {
  --w95-face: #c0c0c0;
  --w95-light: #ffffff;
  --w95-shadow: #808080;
  --w95-dark: #000000;
  --w95-title: #000080;
  font-family: "Fustat", system-ui, sans-serif;
}
:where(.board-presentation) .w95-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--w95-face);
  color: var(--w95-dark);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  /* 32px is the smallest a 1995 button ever was and still a real target. */
  min-height: 30px;
  cursor: pointer;
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  border-right-color: var(--w95-shadow);
  border-bottom-color: var(--w95-shadow);
  box-shadow:
    inset -1px -1px 0 var(--w95-dark),
    inset 1px 1px 0 var(--w95-light);
}
:where(.board-presentation) .w95-btn:active,
:where(.board-presentation) .w95-btn[data-on="true"] {
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
  box-shadow:
    inset 1px 1px 0 var(--w95-dark),
    inset -1px -1px 0 var(--w95-light);
  padding: 6px 8px 4px 10px;
}

:where(.board-presentation) .w95-btn:disabled {
  color: var(--w95-shadow);
  text-shadow: 1px 1px 0 var(--w95-light);
  cursor: default;
}

:where(.board-presentation) .w95-btn:focus-visible {
  outline: 1px dotted var(--w95-dark);
  outline-offset: -4px;
}

:where(.board-presentation) .w95-btn-wide {
  width: 100%;
}
:where(.board-presentation) .w95-well {
  background: var(--w95-shadow);
  border: 1px solid var(--w95-shadow);
  border-top-color: var(--w95-dark);
  border-left-color: var(--w95-dark);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
  box-shadow: inset 1px 1px 0 #0000004d;
  padding: 2px;
}
:where(.board-presentation) .wall-canvas-wrap.w95-well .wall-canvas {
  background: #ffffff;
  box-shadow:
    0 0 0 1px var(--w95-dark),
    3px 3px 0 rgba(0, 0, 0, 0.25);
}

:where(.board-presentation) .w95-input {
  background: var(--w95-light);
  color: var(--w95-dark);
  font: inherit;
  font-size: 12px;
  padding: 5px 6px;
  min-height: 30px;
  width: 100%;
  border: 1px solid var(--w95-shadow);
  border-top-color: var(--w95-dark);
  border-left-color: var(--w95-dark);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
}

:where(.board-presentation) .w95-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--w95-face);
  padding: 8px;
  border: 1px solid var(--w95-shadow);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
}

:where(.board-presentation) .w95-fonts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
:where(.board-presentation) .wall-tools .wall-tool {
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  border-right-color: var(--w95-shadow);
  border-bottom-color: var(--w95-shadow);
  box-shadow:
    inset -1px -1px 0 var(--w95-dark),
    inset 1px 1px 0 var(--w95-light);
  background: var(--w95-face);
  color: var(--w95-dark);
}

:where(.board-presentation) .wall-tools .wall-tool[data-on="true"] {
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
  box-shadow:
    inset 1px 1px 0 var(--w95-dark),
    inset -1px -1px 0 var(--w95-light);
  /* The checked pattern under a selected tool — the one flourish of the
     era worth keeping, because it distinguishes "selected" from "being
     pressed right now" without colour. */
  background-image:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.5) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.5) 75%
    ),
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.5) 25%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.5) 75%
    );
  background-size: 4px 4px;
  background-position:
    0 0,
    2px 2px;
}

:where(.board-presentation) .wall-tools-hint {
  font-size: 10px;
  line-height: 1.4;
  color: #404040;
}

:where(.board-presentation) .wall-editor.w95-window {
  display: flex;
  flex-direction: column;
  background: var(--w95-face);
  /* The window's own frame: raised, two pixels, no radius. Nothing from
     that decade had a rounded corner. */
  border: 2px solid var(--w95-face);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  border-right-color: var(--w95-dark);
  border-bottom-color: var(--w95-dark);
  box-shadow:
    inset -1px -1px 0 var(--w95-shadow),
    inset 1px 1px 0 #dfdfdf;
}

:where(.board-presentation) .w95-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  /* The gradient is the single most recognisable pixel of the era. */
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #ffffff;
  padding: 3px 3px 3px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: none;
}

:where(.board-presentation) .w95-title-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

:where(.board-presentation) .w95-title-icon svg {
  width: 16px;
  height: 16px;
}

:where(.board-presentation) .w95-title-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:where(.board-presentation) .w95-title-boxes {
  display: flex;
  gap: 2px;
}
:where(.board-presentation) .w95-box {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--w95-face);
  color: var(--w95-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -1px -1px 0 var(--w95-shadow);
}

:where(.board-presentation) .w95-box:active {
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  box-shadow: inset 1px 1px 0 var(--w95-dark);
}
:where(.board-presentation) .w95-push {
  min-height: 26px;
  padding: 4px 14px;
  display: inline-grid;
  place-items: center;
  background: var(--w95-face);
  color: var(--w95-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -1px -1px 0 var(--w95-shadow);
}

:where(.board-presentation) .w95-push:active:not(:disabled) {
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  box-shadow: inset 1px 1px 0 var(--w95-dark);
}
:where(.board-presentation) .w95-push:disabled {
  color: var(--w95-shadow);
  text-shadow: 1px 1px 0 var(--w95-light);
  cursor: default;
}

:where(.board-presentation) .w95-menubar {
  display: flex;
  gap: 2px;
  padding: 2px 3px;
  background: var(--w95-face);
  border-bottom: 1px solid var(--w95-shadow);
}

:where(.board-presentation) .w95-menu {
  background: transparent;
  border: 1px solid transparent;
  color: var(--w95-dark);
  font: inherit;
  font-size: 12px;
  padding: 3px 8px;
  min-height: 26px;
  cursor: pointer;
}
:where(.board-presentation) .w95-menu:focus-visible {
  background: #000080;
  color: #ffffff;
}

@media (hover: hover) {
  :where(.board-presentation) .w95-menu:hover {
    background: #000080;
    color: #ffffff;
  }
}
:where(.board-presentation) .wall-editor-body[data-panels="false"] .wall-tools,
:where(.board-presentation) .wall-editor-body[data-panels="false"] .wall-library {
  display: none;
}
:where(.board-presentation) .wall-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-content: start;
  background: var(--w95-face);
  padding: 3px;
}

:where(.board-presentation) .wall-tools .wall-tool {
  display: grid;
  place-items: center;
  /* 34px square: the original was 25px, which is below any modern idea of
     a touch target. This is the smallest that stays honest to the shape. */
  width: 100%;
  aspect-ratio: 1;
  min-height: 34px;
  padding: 0;
  gap: 0;
}
:where(.board-presentation) .wall-tools .wall-tool .wall-tool-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:where(.board-presentation) .wall-tools .wall-current,
:where(.board-presentation) .wall-tools .wall-range,
:where(.board-presentation) .wall-tools .wall-tools-heading,
:where(.board-presentation) .wall-tools .wall-tools-hint,
:where(.board-presentation) .wall-tools .wall-swatches,
:where(.board-presentation) .wall-tools .wall-picker,
:where(.board-presentation) .wall-tools .wall-stickers,
:where(.board-presentation) .wall-tools .wall-scale,
:where(.board-presentation) .wall-tools .w95-group {
  grid-column: 1 / -1;
}
:where(.board-presentation) .wall-swatches {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-auto-rows: 18px;
  gap: 1px;
  background: var(--w95-shadow);
  padding: 2px;
  border: 1px solid var(--w95-shadow);
  border-top-color: var(--w95-dark);
  border-left-color: var(--w95-dark);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
}

:where(.board-presentation) .wall-swatch {
  border: 1px solid rgba(0, 0, 0, 0.45);
  padding: 0;
  min-height: 0;
  cursor: pointer;
}

:where(.board-presentation) .wall-swatch[data-on="true"] {
  outline: 2px solid #ffffff;
  outline-offset: -3px;
  box-shadow: 0 0 0 1px var(--w95-dark);
}
:where(.board-presentation) .wall-bar {
  background: var(--w95-face);
  border-top: 1px solid var(--w95-light);
  border-bottom: 1px solid var(--w95-shadow);
  padding: 4px 6px;
  gap: 8px;
  font-size: 11px;
}

:where(.board-presentation) .wall-meter {
  border: 1px solid var(--w95-shadow);
  border-top-color: var(--w95-dark);
  border-left-color: var(--w95-dark);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
  background: var(--w95-face);
}

:where(.board-presentation) .wall-meter-fill {
  background: #000080;
}

:where(.board-presentation) .wall-tools {
  /* Four small squares across rather than two large ones. The panel keeps
     its width for the sliders and the palette; only the tools shrink. */
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

:where(.board-presentation) .wall-tools .wall-tool {
  min-height: 0;
  /* ~38px at the panel's width — close to the 25px original, and still a
     target a finger can find. */
}

:where(.board-presentation) .wall-tools .wall-tool svg {
  /* Two thirds of the button, where it was a quarter. */
  width: 68%;
  height: 68%;
}
:where(.board-presentation) .wall-tools > *:not(.wall-tool) {
  grid-column: 1 / -1;
}
:where(.board-presentation) .wall-canvas-wrap.w95-well {
  background: var(--w95-face);
}
:where(.board-presentation) .wall-sticker-credit {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  padding: 4px 2px 0;
  color: var(--w95-dark, #000);
}
:where(.board-presentation) .wall-editor.w95-window,
:where(.board-presentation) .wall-editor.w95-window input,
:where(.board-presentation) .wall-editor.w95-window select,
:where(.board-presentation) .wall-editor.w95-window button {
  font-family:
    "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  font-smooth: never;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}
:where(.board-presentation) .wall-tools .wall-tool[data-on="true"] {
  background-image: none;
  background-color: #00ffff;
}
:where(.board-presentation) .wall-tools .wall-tool[data-on="true"] svg {
  filter: none;
}
:where(.board-presentation) .wall-library {
  background: var(--w95-face);
  border: 2px solid var(--w95-face);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  border-right-color: var(--w95-dark);
  border-bottom-color: var(--w95-dark);
  color: var(--w95-dark);
}
:where(.board-presentation) .wall-library-bar {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 3px 3px 6px;
  border: 0;
}

:where(.board-presentation) .wall-library-bar button {
  width: 26px;
  height: 22px;
  background: var(--w95-face);
  color: var(--w95-dark);
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -1px -1px 0 var(--w95-shadow);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

:where(.board-presentation) .wall-library-list h3 {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--w95-shadow);
  color: #ffffff;
  padding: 2px 6px;
  margin: 0 0 4px;
}

:where(.board-presentation) .wall-library-grid button {
  background: var(--w95-face);
  color: var(--w95-dark);
  border: 1px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -1px -1px 0 var(--w95-shadow);
  font-size: 10px;
  padding: 5px 3px;
}

:where(.board-presentation) .wall-library-grid button[data-on="true"] {
  background: #00ffff;
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  box-shadow: inset 1px 1px 0 var(--w95-dark);
}
:where(.board-presentation) .wall-current-nib {
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  border-radius: 0 !important;
  filter: contrast(1.6);
}

:where(.board-presentation) .wall-library-foot {
  background: var(--w95-face);
  border-top: 1px solid var(--w95-light);
  font-size: 10px;
  padding: 3px 6px;
}
:where(.board-presentation) .wall-ring {
  position: absolute;
  top: 0;
  left: 0;
  /* It must never eat the pointer events it is following. */
  pointer-events: none;
  z-index: 3;
  border: 1.5px solid #000000;
  /* A white ring inside the black one, so it stays visible over ink as
     well as over paper — the same reason a crosshair has two colours. */
  box-shadow:
    inset 0 0 0 1.5px #ffffff,
    0 0 0 1px rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  transition: opacity 0.12s linear;
}
:where(.board-presentation) .wall-ring[data-erasing="true"] {
  border-style: dashed;
  border-color: var(--color-accent-red);
}

:where(.board-presentation) .wall-library-grid .wall-current-nib,
:where(.board-presentation) .wall-current .wall-current-nib {
  width: 20px;
  height: 20px;
  background: var(--w95-dark, #000);
  /* Kills any smoothing the browser would otherwise apply to a clip-path. */
  shape-rendering: crispEdges;
  filter: none;
  opacity: 1;
  border-radius: 0;
}
:where(.board-presentation) .wall-current-nib[data-mark="pencil"] {
  clip-path: polygon(
    40% 0,
    60% 0,
    60% 30%,
    70% 30%,
    70% 60%,
    60% 60%,
    60% 100%,
    40% 100%,
    40% 60%,
    30% 60%,
    30% 30%,
    40% 30%
  );
}
:where(.board-presentation) .wall-current-nib[data-mark="soft"] {
  border-radius: 0;
  filter: none;
  opacity: 1;
  background: repeating-conic-gradient(
      var(--w95-dark, #000) 0% 25%,
      transparent 0% 50%
    )
    0 0 / 4px 4px;
  clip-path: polygon(
    30% 10%,
    70% 10%,
    90% 30%,
    90% 70%,
    70% 90%,
    30% 90%,
    10% 70%,
    10% 30%
  );
}

:where(.board-presentation) .wall-current-nib[data-mark="ink"] {
  clip-path: polygon(
    45% 0,
    55% 0,
    55% 50%,
    65% 50%,
    65% 80%,
    35% 80%,
    35% 50%,
    45% 50%
  );
}

:where(.board-presentation) .wall-current-nib[data-mark="chisel"] {
  clip-path: polygon(20% 20%, 80% 10%, 80% 80%, 20% 90%);
}

:where(.board-presentation) .wall-current-nib[data-mark="marker"] {
  clip-path: polygon(10% 30%, 90% 30%, 90% 70%, 10% 70%);
  /* Translucency shown as a dither, not as opacity. */
  background: repeating-conic-gradient(
      var(--w95-dark, #000) 0% 25%,
      transparent 0% 50%
    )
    0 0 / 4px 4px;
  opacity: 1;
}

:where(.board-presentation) .wall-current-nib[data-mark="brush"] {
  border-radius: 0;
  clip-path: polygon(
    35% 0,
    65% 0,
    75% 25%,
    85% 55%,
    70% 85%,
    30% 85%,
    15% 55%,
    25% 25%
  );
}

:where(.board-presentation) .wall-current-nib[data-mark="grain"] {
  background:
    repeating-linear-gradient(
      90deg,
      var(--w95-dark, #000) 0 2px,
      transparent 2px 4px
    ),
    repeating-linear-gradient(
      0deg,
      var(--w95-dark, #000) 0 2px,
      transparent 2px 4px
    );
}

:where(.board-presentation) .wall-current-nib[data-mark="spray"] {
  background: repeating-conic-gradient(
      var(--w95-dark, #000) 0% 25%,
      transparent 0% 50%
    )
    0 0 / 6px 6px;
  opacity: 1;
}
:where(.board-presentation) .wall-current-nib[data-mark="eraser"] {
  background: #ff9ec4;
  box-shadow: inset 0 0 0 2px var(--w95-dark, #000);
  clip-path: polygon(20% 60%, 60% 20%, 100% 50%, 60% 90%, 0 90%);
}

:where(.board-presentation) .wall-editor {
  --w95-face: #00ffff;
  --w95-light: #ffffff;
  --w95-shadow: #007a7a;
  --w95-dark: #000000;
  --w95-select: #ffff00;
}
:where(.board-presentation) .w95-titlebar,
:where(.board-presentation) .wall-library-bar {
  background: #0000ff;
  background-image: none;
  border-bottom: 2px solid var(--w95-dark);
}
:where(.board-presentation) .w95-btn,
:where(.board-presentation) .w95-box,
:where(.board-presentation) .wall-tools .wall-tool,
:where(.board-presentation) .wall-library-grid button,
:where(.board-presentation) .wall-library-bar button {
  border-width: 2px;
  box-shadow:
    inset -2px -2px 0 var(--w95-dark),
    inset 2px 2px 0 var(--w95-light);
}

:where(.board-presentation) .w95-btn:active,
:where(.board-presentation) .w95-btn[data-on="true"],
:where(.board-presentation) .wall-tools .wall-tool[data-on="true"],
:where(.board-presentation) .wall-library-grid button[data-on="true"] {
  box-shadow:
    inset 2px 2px 0 var(--w95-dark),
    inset -2px -2px 0 var(--w95-light);
}
:where(.board-presentation) .wall-tools .wall-tool[data-on="true"],
:where(.board-presentation) .wall-library-grid button[data-on="true"] {
  background-color: var(--w95-select);
  background-image: none;
}
:where(.board-presentation) .wall-canvas-wrap.w95-well {
  background: var(--w95-face);
}
:where(.board-presentation) .w95-well,
:where(.board-presentation) .w95-input,
:where(.board-presentation) .wall-swatches,
:where(.board-presentation) .wall-meter {
  border-width: 2px;
  box-shadow: inset 2px 2px 0 var(--w95-dark);
}

:where(.board-presentation) .w95-input {
  background: #ffffff;
}
:where(.board-presentation) .wall-meter-fill {
  background: #0000ff;
}
:where(.board-presentation) .wall-library-list h3 {
  background: var(--w95-dark);
  color: var(--w95-face);
}

:where(.board-presentation) .wall-library-foot,
:where(.board-presentation) .wall-bar,
:where(.board-presentation) .w95-menubar {
  background: var(--w95-face);
  border-color: var(--w95-dark);
}
:where(.board-presentation) .w95-menu:focus-visible {
  background: #0000ff;
  color: #ffffff;
}

@media (hover: hover) {
  :where(.board-presentation) .w95-menu:hover {
    background: #0000ff;
    color: #ffffff;
  }
}
:where(.board-presentation) .wall-library-grid .wall-current-nib,
:where(.board-presentation) .wall-current .wall-current-nib {
  background: var(--w95-dark);
}

:where(.board-presentation) .wall-current-nib[data-mark="soft"],
:where(.board-presentation) .wall-current-nib[data-mark="marker"],
:where(.board-presentation) .wall-current-nib[data-mark="spray"] {
  background: repeating-conic-gradient(
      var(--w95-dark) 0% 25%,
      transparent 0% 50%
    )
    0 0 / 4px 4px;
}
:where(.board-presentation) .wall-editor.w95-window {
  border-width: 3px;
  box-shadow: none;
}

:where(.board-presentation) .wall-editor.w95-window,
:where(.board-presentation) .wall-editor.w95-window .wall-library,
:where(.board-presentation) .wall-editor.w95-window input,
:where(.board-presentation) .wall-editor.w95-window select {
  cursor:
    url("../assets/prisma-wall/cursor-0.svg")
      2 1,
    default !important;
}

:where(.board-presentation) .wall-editor.w95-window button,
:where(.board-presentation) .wall-editor.w95-window .w95-menu,
:where(.board-presentation) .wall-editor.w95-window .w95-box,
:where(.board-presentation) .wall-editor.w95-window .wall-tool,
:where(.board-presentation) .wall-editor.w95-window .wall-swatch,
:where(.board-presentation) .wall-editor.w95-window .wall-sticker,
:where(.board-presentation) .wall-editor.w95-window label,
:where(.board-presentation) .wall-editor.w95-window summary {
  cursor:
    url("../assets/prisma-wall/cursor-1.svg")
      6 1,
    pointer !important;
}
:where(.board-presentation) .wall-editor.w95-window button:disabled {
  cursor:
    url("../assets/prisma-wall/cursor-0.svg")
      2 1,
    default !important;
}
:where(.board-presentation) .wall-editor.w95-window .wall-canvas {
  /* The ring is the pointer here. */
  cursor: none !important;
}

:where(.board-presentation) body:has(.wall-editor.w95-window) .cursor-dot {
  display: none;
}

@media (pointer: fine) {
  :where(.board-presentation) .wall-editor.w95-window,
  :where(.board-presentation) .wall-editor.w95-window *,
  :where(.board-presentation) .wall-editor.w95-window *::before,
  :where(.board-presentation) .wall-editor.w95-window *::after {
    cursor:
      url("../assets/prisma-wall/cursor-2.svg")
        2 1,
      default !important;
  }

  :where(.board-presentation) .wall-editor.w95-window button,
  :where(.board-presentation) .wall-editor.w95-window button *,
  :where(.board-presentation) .wall-editor.w95-window .w95-menu,
  :where(.board-presentation) .wall-editor.w95-window .w95-menu *,
  :where(.board-presentation) .wall-editor.w95-window .wall-tool,
  :where(.board-presentation) .wall-editor.w95-window .wall-tool *,
  :where(.board-presentation) .wall-editor.w95-window .wall-swatch,
  :where(.board-presentation) .wall-editor.w95-window .wall-sticker,
  :where(.board-presentation) .wall-editor.w95-window .wall-sticker *,
  :where(.board-presentation) .wall-editor.w95-window label,
  :where(.board-presentation) .wall-editor.w95-window label *,
  :where(.board-presentation) .wall-editor.w95-window summary {
    cursor:
      url("../assets/prisma-wall/cursor-3.svg")
        6 1,
      pointer !important;
  }

  :where(.board-presentation) .wall-editor.w95-window button:disabled,
  :where(.board-presentation) .wall-editor.w95-window button:disabled * {
    cursor:
      url("../assets/prisma-wall/cursor-2.svg")
        2 1,
      default !important;
  }
  :where(.board-presentation) .wall-editor.w95-window .wall-canvas {
    cursor: none !important;
  }
}

:where(.board-presentation) .wall-editor.w95-window .wall-range,
:where(.board-presentation) .wall-editor.w95-window .wall-scale {
  padding-bottom: 8px;
  /* The dotted rule below the groove IS the tick row. Drawn on the label
     rather than as elements: fourteen empty spans to make fourteen ticks
     would be fourteen things to keep in step with the width. */
  background-image: radial-gradient(
    circle,
    var(--w95-shadow) 1px,
    transparent 1px
  );
  background-size: 8px 8px;
  background-position: 2px calc(100% - 2px);
  background-repeat: repeat-x;
}

:where(.board-presentation) .wall-editor.w95-window input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  accent-color: auto;
}
:where(.board-presentation) .wall-editor.w95-window input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--w95-shadow);
  border-top: 2px solid var(--w95-dark);
  border-left: 2px solid var(--w95-dark);
  border-right: 2px solid var(--w95-light);
  border-bottom: 2px solid var(--w95-light);
}

:where(.board-presentation) .wall-editor.w95-window input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--w95-shadow);
  border-top: 2px solid var(--w95-dark);
  border-left: 2px solid var(--w95-dark);
  border-right: 2px solid var(--w95-light);
  border-bottom: 2px solid var(--w95-light);
}
:where(.board-presentation) .wall-editor.w95-window input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 20px;
  margin-top: -8px;
  background: var(--w95-face);
  border: 2px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -2px -2px 0 var(--w95-shadow);
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}

:where(.board-presentation) .wall-editor.w95-window input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 20px;
  background: var(--w95-face);
  border: 2px solid var(--w95-dark);
  border-top-color: var(--w95-light);
  border-left-color: var(--w95-light);
  box-shadow: inset -2px -2px 0 var(--w95-shadow);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}

:where(.board-presentation) .wall-editor.w95-window .wall-current {
  background: var(--w95-select);
  color: var(--w95-dark);
  border: 2px solid var(--w95-dark);
  border-top-color: var(--w95-shadow);
  border-left-color: var(--w95-shadow);
  border-right-color: var(--w95-light);
  border-bottom-color: var(--w95-light);
  box-shadow:
    inset 2px 2px 0 var(--w95-dark),
    inset -2px -2px 0 var(--w95-light);
  padding: 6px 8px 5px 9px;
}

:where(.board-presentation) .wall-editor.w95-window .wall-current small {
  color: var(--w95-dark);
}
:where(.board-presentation) .wall-editor.w95-window .wall-swatches {
  /* Five across, two down — the house's ten principal colours. */
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 20px);
  grid-auto-flow: row;
  gap: 2px;
}

:where(.board-presentation) .wall-editor.w95-window .wall-swatch {
  min-width: 0;
  border-width: 1px;
}

:where(.board-presentation) .wall-camera {
  background: var(--w95-face, #00ffff);
  color: var(--w95-dark, #000);
  border: 3px solid var(--w95-face, #00ffff);
  border-top-color: var(--w95-light, #fff);
  border-left-color: var(--w95-light, #fff);
  border-right-color: var(--w95-dark, #000);
  border-bottom-color: var(--w95-dark, #000);
  border-radius: 0;
  font-family:
    "MS Sans Serif", "Microsoft Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

:where(.board-presentation) .wall-camera-bar {
  background: #0000ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 3px 3px 6px;
  border-bottom: 2px solid var(--w95-dark, #000);
}

:where(.board-presentation) .wall-camera-bar button {
  width: 30px;
  height: 26px;
  background: var(--w95-face, #00ffff);
  color: var(--w95-dark, #000);
  border: 2px solid var(--w95-dark, #000);
  border-top-color: var(--w95-light, #fff);
  border-left-color: var(--w95-light, #fff);
  box-shadow: inset -2px -2px 0 var(--w95-shadow, #007a7a);
  font-weight: 700;
  cursor: pointer;
}
:where(.board-presentation) .wall-camera-view {
  border: 2px solid var(--w95-shadow, #007a7a);
  border-top-color: var(--w95-dark, #000);
  border-left-color: var(--w95-dark, #000);
  border-right-color: var(--w95-light, #fff);
  border-bottom-color: var(--w95-light, #fff);
  box-shadow: inset 2px 2px 0 var(--w95-dark, #000);
  background: #000000;
}

:where(.board-presentation) .wall-camera-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--w95-dark, #000);
}
:where(.board-presentation) .wall-camera-shoot.btn.btn-solid {
  background: var(--w95-face, #00ffff);
  color: var(--w95-dark, #000);
  border: 2px solid var(--w95-dark, #000);
  border-top-color: var(--w95-light, #fff);
  border-left-color: var(--w95-light, #fff);
  box-shadow: inset -2px -2px 0 var(--w95-shadow, #007a7a);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 0;
}

:where(.board-presentation) .wall-camera-shoot.btn.btn-solid::before {
  display: none;
}

:where(.board-presentation) .wall-camera-shoot.btn.btn-solid:active {
  background: var(--w95-select, #ffff00);
  border-top-color: var(--w95-shadow, #007a7a);
  border-left-color: var(--w95-shadow, #007a7a);
  box-shadow: inset 2px 2px 0 var(--w95-dark, #000);
}

:where(.board-presentation) .wall-hex {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px;
  align-items: stretch;
}
:where(.board-presentation) .wall-hex-well {
  position: relative;
  display: block;
  border: 2px solid var(--w95-shadow, #007a7a);
  border-top-color: var(--w95-dark, #000);
  border-left-color: var(--w95-dark, #000);
  border-right-color: var(--w95-light, #fff);
  border-bottom-color: var(--w95-light, #fff);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.35);
  cursor: pointer;
  min-height: 30px;
}

:where(.board-presentation) .wall-hex-well input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:where(.board-presentation) .wall-hex-field {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
:where(.board-presentation) .wall-editor.w95-window .wall-swatches {
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: 16px;
  gap: 1px;
  padding: 2px;
  margin-top: 4px;
}

@media (pointer: fine) {
  :where(.board-presentation) .wall-gate,
  :where(.board-presentation) .wall-gate *,
  :where(.board-presentation) .wall-gate *::before,
  :where(.board-presentation) .wall-gate *::after,
  :where(.board-presentation) .wall-confirm,
  :where(.board-presentation) .wall-confirm * {
    cursor:
      url("../assets/prisma-wall/cursor-0.svg")
        2 1,
      default !important;
  }

  :where(.board-presentation) .wall-gate button,
  :where(.board-presentation) .wall-gate button *,
  :where(.board-presentation) .wall-gate a,
  :where(.board-presentation) .wall-gate a *,
  :where(.board-presentation) .wall-gate label,
  :where(.board-presentation) .wall-gate input,
  :where(.board-presentation) .wall-confirm button,
  :where(.board-presentation) .wall-confirm button * {
    cursor:
      url("../assets/prisma-wall/cursor-1.svg")
        6 1,
      pointer !important;
  }
}
:where(.board-presentation) .wall-tool-cursor {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 4;
  display: block;
  /* Bigger than it was. At 16px the pencil beside the pointer was a
     smudge on a busy wall (owner, 2026-08-28). */
  width: 22px;
  height: 22px;
  line-height: 0;
  transition: opacity 0.12s;
  /* Readable over ink as well as over paper, the same two-colour trick
     the ring uses. */
  filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 1px #ffffff);
}
:where(.board-presentation) .wall-tool-cursor svg {
  display: block;
  width: 22px;
  height: 22px;
}

@media (pointer: coarse) {
  :where(.board-presentation) .wall-tool-cursor {
    display: none;
  }
}
:where(.board-presentation) .wall-undo {
  padding: 5px 14px;
}
:where(.board-presentation) .wall-confirm {
  position: absolute;
  inset: 0;
  z-index: 450;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}
:where(.board-presentation) .wall-confirm-panel {
  width: min(30rem, 100%);
  background: var(--w95-face, #c0c0c0);
}
:where(.board-presentation) .wall-confirm-body {
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-ink);
}
:where(.board-presentation) .wall-confirm-warn {
  font-weight: 600;
}
:where(.board-presentation) .wall-confirm-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.2rem;
}
@media (max-width: 480px) {
  :where(.board-presentation) .wall-confirm-row {
    flex-direction: column-reverse;
  }
  :where(.board-presentation) .wall-confirm-row .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :where(.board-presentation) .wall-editor {
    /* dvh, not vh: on a phone browser the chrome slides in and out, and vh
       does not notice. */
    height: 100dvh;
  }

  :where(.board-presentation) .wall-editor-body {
    flex-direction: column;
    min-height: 0;
  }
  :where(.board-presentation) .wall-canvas-wrap {
    flex: 1 1 auto;
    min-height: 38dvh;
  }
  :where(.board-presentation) .wall-editor.w95-window .wall-tools {
    order: 2;
    width: 100%;
    max-height: 45dvh;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: none;
    border-top: 1.5px solid var(--color-ink);
    /* Squares of a stated size, laid out as many as fit. Four stretched
       columns made each tool 89px across — a button the size of a thumb
       twice over, and eight of them filling half the screen. */
    grid-template-columns: repeat(auto-fill, 46px);
    justify-content: space-between;
    gap: 3px;
  }

  :where(.board-presentation) .wall-editor.w95-window .wall-tool {
    width: 46px;
    min-height: 46px;
  }
  :where(.board-presentation) .wall-editor.w95-window .wall-swatches {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 26px);
    gap: 3px;
  }

  :where(.board-presentation) .wall-editor.w95-window .wall-stickers {
    grid-template-columns: repeat(4, 1fr);
  }

  :where(.board-presentation) .wall-library {
    max-height: 45dvh;
    overflow-y: auto;
  }

  :where(.board-presentation) .wall-tools-heading {
    display: none;
  }

}
.board-presentation .board-style-1{background:#151515}
.board-presentation .board-style-2{background:#ffffff}
.board-presentation .board-style-3{background:#ee0000}
.board-presentation .board-style-4{background:#ff7a00}
.board-presentation .board-style-5{background:#ffff00}
.board-presentation .board-style-6{background:#00ff00}
.board-presentation .board-style-7{background:#00ffff}
.board-presentation .board-style-8{background:#0000ff}
.board-presentation .board-style-9{background:#8f00ff}
.board-presentation .board-style-10{background:#ff00ff}
.board-presentation .board-style-11{cursor:none;touch-action:none}
.board-presentation .board-style-12{opacity:0}