.work-detail-shell {
  border: 1px solid rgba(124, 92, 255, .22);
  border-radius: 16px;
  background: rgba(31, 25, 52, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  padding: 20px;
}

.work-detail-loading {
  padding: 42px;
  border: 1px dashed rgba(124, 92, 255, .28);
  border-radius: 12px;
  color: #bdb4dc;
  text-align: center;
}

.work-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 22px;
  align-items: stretch;
}

.work-preview {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(73, 197, 182, .25);
  border-radius: 14px;
  background: rgba(10, 9, 17, .66);
}

.work-preview img,
.work-preview-fallback {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.work-preview-fallback {
  background:
    radial-gradient(circle at 66% 28%, rgba(255, 73, 184, .34), transparent 30%),
    linear-gradient(135deg, rgba(73, 197, 182, .32), rgba(124, 92, 255, .62));
}

.work-preview-shield {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(73, 197, 182, .4);
  border-radius: 14px;
  background: rgba(8, 8, 15, .72);
  box-shadow: 0 0 28px rgba(73, 197, 182, .18);
  backdrop-filter: blur(14px);
}

.work-preview-shield strong {
  color: #fff;
}

.work-preview-shield span {
  color: #c9f8f1;
  font-size: 13px;
  line-height: 1.45;
}

.work-detail-info {
  display: grid;
  align-content: center;
  gap: 16px;
}

.work-detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.work-detail-info p {
  margin: 0;
  color: #c9c1e2;
  font-size: 17px;
  line-height: 1.6;
}

.work-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

.work-price-row strong {
  font-size: 30px;
}

.work-price-row span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(224, 184, 79, .13);
  color: #f2d77b;
  font-weight: 900;
}

.work-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  padding: 0;
}

.work-btn-gold {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 183, 55, .52);
  border-radius: 12px;
  background: linear-gradient(135deg, #f2c14b, #d99926);
  color: #1b1427;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(224, 184, 79, .22);
}

.work-btn-outline {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 197, 182, .56);
  border-radius: 12px;
  background: rgba(16, 39, 52, .56);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(73, 197, 182, .12);
}

.work-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.work-info-card {
  border: 1px solid rgba(124, 92, 255, .22);
  border-radius: 16px;
  background: rgba(31, 25, 52, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
  padding: 18px;
}

.work-info-card h2 {
  margin: 0;
  font-size: 20px;
}

.work-info-card p {
  color: #c9c1e2;
  line-height: 1.55;
}

.work-info-card dl,
.work-info-card div {
  display: grid;
  gap: 8px;
}

.work-info-card dl {
  margin: 0;
}

.work-info-card dt {
  color: #a79bd1;
  font-size: 12px;
  text-transform: uppercase;
}

.work-info-card dd {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.work-author-card {
  align-content: start;
}

.work-author-card .public-btn {
  width: fit-content;
  margin-top: 8px;
}

.work-license-card {
  border-color: rgba(224, 184, 79, .34);
  background:
    radial-gradient(circle at 100% 0, rgba(224, 184, 79, .1), transparent 34%),
    rgba(31, 25, 52, .78);
}

.work-license-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(73, 197, 182, .34);
  border-radius: 12px;
  background: rgba(16, 39, 52, .42);
  color: #c9f8f1;
  line-height: 1.5;
}

.work-detail-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 14px;
  margin-top: 14px;
}

.work-media-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.work-media-file,
.work-media-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(73, 197, 182, .26);
  border-radius: 12px;
  background: rgba(10, 9, 17, .52);
}

.work-media-file span,
.work-media-file em,
.work-small-note {
  color: #a79bd1;
  font-size: 12px;
  font-style: normal;
}

.work-media-file strong {
  color: #fff;
  overflow-wrap: anywhere;
}

.work-media-note {
  color: #c9c1e2;
}

.catalog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-card-tags span {
  border: 1px solid rgba(73, 197, 182, .34);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(16, 39, 52, .58);
  color: #c9f8f1;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .work-detail-hero,
  .work-detail-grid,
  .work-detail-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .work-price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .work-detail-actions {
    grid-template-columns: 1fr;
  }

  .work-preview,
  .work-preview img,
  .work-preview-fallback {
    min-height: 260px;
  }
}
