html.workspace-open,
body.workspace-open {
  overflow: hidden !important;
}

.honor-workspace-overlay {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: grid;
  place-items: center;
  padding: 38px;
  background: rgba(12, 18, 14, .58);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .18s ease;
}

.honor-workspace-overlay.visible {
  opacity: 1;
}

.honor-workspace-panel {
  position: relative;
  width: min(1380px, calc(100vw - 76px));
  height: min(850px, calc(100vh - 76px));
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #f7f6ed;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .42), 0 0 0 6px rgba(255, 255, 255, .12);
  transform: translateY(10px) scale(.988);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1);
}

.honor-workspace-panel::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 2px;
  border: 2px dashed #d7c79f;
  border-radius: 22px;
  pointer-events: none;
}

.honor-workspace-overlay.visible .honor-workspace-panel {
  transform: translateY(0) scale(1);
}

.honor-workspace-overlay.category-workspace .honor-workspace-panel {
  width: min(1080px, calc(100vw - 76px));
  height: min(760px, calc(100vh - 76px));
  border-radius: 20px;
}

.honor-workspace-overlay.category-workspace .honor-workspace-panel::after {
  border-radius: 18px;
}

.honor-workspace-panel iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #f7f6ed;
}

@media (max-width: 720px) {
  .honor-workspace-overlay {
    padding: 14px;
  }
  .honor-workspace-panel {
    width: calc(100vw - 28px);
    height: calc(100vh - 28px);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .honor-workspace-overlay,
  .honor-workspace-panel {
    transition: none;
  }
}
