/* User-supplied filled frame. Only .session's decorative layer is replaced.
   150px source corners scale uniformly; content retains the existing v2 grid. */
.session {
  --frame-corner: 60px;
  background: transparent;
  box-shadow: none;
}
.session::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  pointer-events: none;
  background: none;
  border: var(--frame-corner) solid transparent;
  border-image: url("assets/panel-v8/session-frame.webp") 150 fill / var(--frame-corner) / 0 stretch;
  -webkit-mask: none;
  mask: none;
}
.session::after { content: none; }
@media (max-width: 1100px) {
  .session { --frame-corner: 52px; }
}
@media (max-width: 640px) {
  .session { --frame-corner: 40px; }
}
@media (forced-colors: active) {
  .session { background: Canvas; outline: 1px solid CanvasText; }
  .session::before { border-image: none; border: 0; }
}
