/* The Conspiracy island's glass (corkboard/hud.js). */
#cork-hud .cork-card {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 112px);
  right: 10px;
  max-width: 46vw;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(251, 246, 232, 0.92);
  box-shadow: 0 6px 18px rgba(20, 40, 70, 0.25), inset 0 1px 0 #fff;
  color: #151515;
  font: 600 14px/1.25 "Courier New", monospace;
  pointer-events: none;
  z-index: 6;
}
#cork-hud .cork-card b,
#cork-hud .cork-card i {
  display: block;
  font-style: normal;
}
#cork-hud .cork-card i {
  font: 700 14px/1.2 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
#cork-hud .blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 5px 0;
}
#cork-hud .blocks span {
  width: 11px;
  height: 10px;
  background: #0b0b0b;
}
#cork-hud .blocks span.gone {
  background: rgba(0, 0, 0, 0.1);
}
#cork-hud .cork-back {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  transform: translateX(-50%);
  min-width: 96px;
  min-height: 44px;
  font-size: 16px;
  z-index: 7;
}
#cork-hud .cork-file {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-1.5deg);
  width: min(360px, 86vw);
  padding: 14px 14px 12px;
  border-radius: 6px;
  background: #f3e3b4;
  box-shadow: 0 14px 40px rgba(20, 30, 50, 0.4);
  color: #1b1b1b;
  font: 16px/1.3 "Courier New", monospace;
  z-index: 8;
}
#cork-hud .cork-file canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: rotate(1.2deg);
}
#cork-hud .cork-file .name {
  margin: 10px 0 2px;
  font-weight: 700;
  font-size: 18px;
}
#cork-hud .cork-file .record {
  margin: 0 0 10px;
}
#cork-hud .cork-file button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}
#cork-hud button {
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(220, 244, 255, 0.88));
  box-shadow: 0 4px 14px rgba(20, 60, 110, 0.25), inset 0 1px 0 #fff;
  color: var(--ink, #12324a);
  font-family: var(--font, "Segoe UI", sans-serif);
  font-weight: 600;
  cursor: pointer;
}
