.cabinet-placeholder {
  position: relative;
  min-height: 410px;
  padding: 12px;
  overflow: hidden;
  border: 1px dashed rgba(23, 23, 21, .45);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .46) 0 13px, rgba(104, 117, 77, .08) 13px 26px);
  box-shadow: 16px 18px 0 rgba(23, 23, 21, .05);
}
.cabinet-placeholder > span { position: absolute; z-index: 1; top: 18px; left: 20px; padding: 3px 6px; background: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 800; }
.cabinet-placeholder .glass { inset: 52px 15px 15px; color: #4c5542; border-style: dashed; background: rgba(255, 255, 255, .36); }
.cabinet-placeholder .glass small { color: #68754d; }
@media (max-width: 760px) { .cabinet-placeholder { min-height: 300px; } }

.head-actions { position: relative; }
.pro-unlock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #171715;
  border-radius: 5px;
  color: #f7f7f1;
  background: #171715;
  font: 800 11px Esuo, "Microsoft YaHei", sans-serif;
  cursor: pointer;
}
.pro-unlock > span { padding: 3px 5px; color: #171715; background: #b7ff4f; font-size: 9px; letter-spacing: .08em; }
.pro-unlock.is-unlocked { color: #171715; border-color: #68754d; background: #b7ff4f; }
.pro-unlock.is-unlocked > span { color: #fff; background: #68754d; }
.pro-unlock-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 13px);
  left: 0;
  width: min(410px, calc(100vw - 44px));
  padding: 20px;
  color: #171715;
  border: 1px solid rgba(23, 23, 21, .34);
  border-top: 4px solid #b7ff4f;
  background: #f7f5ed;
  box-shadow: 16px 18px 0 rgba(23, 23, 21, .12);
  letter-spacing: 0;
}
.pro-unlock-panel[hidden] { display: none; }
.pro-unlock-panel p { margin: 0 0 4px; color: #68754d; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.pro-unlock-panel strong { display: block; margin-bottom: 17px; font-size: 20px; }
.pro-unlock-panel label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; }
.pro-key-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pro-key-row input { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid rgba(23, 23, 21, .34); border-radius: 4px; outline: none; background: #fff; font: 13px Consolas, monospace; letter-spacing: 0; text-transform: uppercase; }
.pro-key-row input:focus { border-color: #68754d; box-shadow: 0 0 0 3px rgba(104, 117, 77, .13); }
.pro-key-row button { padding: 0 17px; border: 0; border-radius: 4px; color: #171715; background: #b7ff4f; font-weight: 900; cursor: pointer; }
.pro-unlock-panel small { display: block; margin-top: 13px; color: #5c6255; font: 11px/1.7 "Microsoft YaHei", sans-serif; }
.pro-unlock-panel output { display: block; min-height: 18px; margin-top: 8px; color: #a22e28; font-size: 11px; font-weight: 800; }
.pro-unlock-panel output.success { color: #4f6a2f; }
.pro-panel-close { position: absolute; top: 9px; right: 9px; width: 30px; height: 30px; padding: 0; border: 0; color: #171715; background: transparent; font-size: 22px; cursor: pointer; }

.cabinet-work.is-pro-locked { cursor: pointer; background: #161a17; }
.cabinet-work.is-pro-locked > img { opacity: 0; filter: grayscale(1) blur(8px); transform: scale(1.08); }
.cabinet-work.is-pro-locked:hover > img { filter: grayscale(1) blur(8px); transform: scale(1.08); }
.cabinet-work.is-pro-locked .glass { height: 82px; background: rgba(12, 15, 13, .9); }
.cabinet-work.is-pro-locked .glass small { visibility: hidden; }
.cabinet-work.is-pro-locked .glass small::after { visibility: visible; content: "PRO CONTENT · UNLOCK TO VIEW"; }
.pro-lock-badge { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 112px; height: 56px; color: #171715; background: #b7ff4f; font-size: 11px; font-weight: 900; letter-spacing: .11em; transform: translate(-50%, -50%); }
.pro-lock-badge::before { content: "PRO"; margin-right: 6px; padding: 3px 5px; color: #fff; background: #171715; }

.work-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 1440px; margin: 38px auto 0; padding: 18px 0; border-top: 1px solid rgba(23, 23, 21, .24); }
.work-pagination > button, .page-buttons button { width: 38px; height: 38px; padding: 0; border: 1px solid rgba(23, 23, 21, .3); border-radius: 4px; color: #171715; background: rgba(255, 255, 255, .48); font-weight: 900; cursor: pointer; }
.work-pagination button:hover:not(:disabled), .page-buttons button[aria-current="page"] { border-color: #171715; color: #171715; background: #b7ff4f; }
.work-pagination button:disabled { opacity: .35; cursor: default; }
.page-buttons { display: flex; gap: 6px; }
.work-pagination > span { min-width: 74px; color: #5c6255; font-size: 10px; font-weight: 800; text-align: center; }

@media (max-width: 980px) {
  .head-actions { flex-wrap: wrap; justify-content: flex-end; }
  .pro-unlock-panel { right: 0; left: auto; }
}
@media (max-width: 760px) {
  .head-actions { justify-content: flex-start; }
  .pro-unlock-panel { right: auto; left: 0; }
  .work-pagination { flex-wrap: wrap; gap: 7px; }
  .page-buttons { order: 3; justify-content: center; width: 100%; }
  .work-pagination > span { min-width: 64px; }
}
