.wall-mode #wallFullscreen {
  display:grid;
  place-items:center;
  width:38px;
  min-height:32px;
  padding:0;
  margin-left:3px;
  border-left:1px solid var(--line);
  border-radius:0;
  background:transparent;
  color:var(--ink);
}
#wallFullscreen svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#wallFullscreen .collapse, #wallFullscreen[aria-pressed="true"] .expand { display:none; }
#wallFullscreen[aria-pressed="true"] .collapse { display:inline; }
html.wall-expanded, html.wall-expanded body { overflow:hidden; }
.wall-surface.wall-fullscreen {
  position:fixed;
  inset:0;
  z-index:100;
  width:100%;
  height:100%;
  height:100dvh;
  margin:0;
  background:var(--paper);
}
.wall-surface.wall-fullscreen #board, .wall-surface.wall-fullscreen #photoMap {
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  margin:0;
  border:0;
  border-radius:0;
}
.wall-surface.wall-fullscreen .wall-mode {
  top:max(12px,env(safe-area-inset-top));
  left:max(12px,env(safe-area-inset-left));
}
.wall-surface.wall-fullscreen :is(.board-tools, .pet-map-tools) {
  bottom:max(18px,env(safe-area-inset-bottom));
}
#rotateHandle { font-size:14px; }
#rotateHandle::before { inset:12px; border-color:var(--accent); background:var(--paper); box-shadow:0 1px 3px #17283d26; }
#canvas { -webkit-touch-callout:none; user-select:none; }
.detail-links { flex-wrap:wrap; gap:3px; }
.detail-links small { flex:1; min-width:80px; }
.detail-links .quiet { padding-inline:7px; }
.save-preview {
  display:grid;
  place-items:center;
  overflow:hidden;
  height:min(46dvh,340px);
  border-radius:9px;
  background:var(--paper);
}
.save-preview img { width:100%; height:100%; min-height:0; object-fit:contain; }
#photoSaveDialog #photoDownload { display:flex; width:100%; margin-top:18px; }
.save-preview img, #detailPhoto { -webkit-touch-callout:default; }
