.pg-case-360-section {
  width: 100%;
  margin: 24px 0 0;
  padding: 16px;
  border: 1px solid rgba(71, 143, 194, .44);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(5, 15, 25, .98), rgba(7, 12, 20, .96));
  box-shadow: inset 0 1px rgba(221, 242, 255, .035), 0 12px 32px rgba(0, 0, 0, .22);
  box-sizing: border-box;
}

.pg-case-360-heading { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 13px; }
.pg-case-360-heading h2 { margin: 0; color: #f1f7fb; font-size: clamp(17px, 2vw, 21px); line-height: 1.25; }
.pg-case-360-heading p { margin: 5px 0 0; color: #b4c5d2; font-size: 13px; line-height: 1.5; }
.pg-case-360-badge { display: inline-grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(58, 178, 255, .78); border-radius: 50%; background: rgba(0, 104, 169, .13); color: #52c0ff; font: 800 13px/1 Arial, sans-serif; letter-spacing: -.04em; box-shadow: 0 0 19px rgba(0, 144, 255, .18); }
.pg-case-360-viewer { position: relative; display: grid; width: 100%; aspect-ratio: 1 / 1; max-height: 620px; place-items: center; overflow: hidden; border: 1px solid rgba(74, 130, 164, .32); border-radius: 5px; background: radial-gradient(ellipse at 50% 46%, rgba(66, 83, 98, .94) 0%, rgba(37, 52, 66, .96) 45%, rgba(5, 11, 18, .99) 82%); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-sizing: border-box; }
.pg-case-360-viewer:focus-visible { outline: 3px solid #5cc4ff; outline-offset: 3px; }
.pg-case-360-viewer.is-dragging { cursor: grabbing; }
.pg-case-360-viewer img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.pg-case-360-overlay { position: absolute; inset: 12px 12px auto auto; display: grid; gap: 3px; justify-items: center; padding: 7px 9px; border: 1px solid rgba(80, 185, 244, .58); border-radius: 4px; background: rgba(2, 12, 21, .82); color: #76ceff; font: 800 12px/1 Arial, sans-serif; box-shadow: 0 0 16px rgba(0, 138, 255, .15); pointer-events: none; }
.pg-case-360-overlay span + span { font-size: 15px; }
.pg-case-360-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #b7c8d5; font-size: 12px; line-height: 1.4; }
.pg-case-360-footer [data-pg-case-360-position] { color: #70caff; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .pg-case-360-section { margin-top: 19px; padding: 12px; }
  .pg-case-360-viewer { max-height: none; }
  .pg-case-360-heading p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-case-360-viewer img { transition: none; }
}

/* All SUNMI 360 frames are composited onto the same approved 800x600 shield master. */
.pg-case-360-section.pg-sunmi-case-360 .pg-case-360-viewer {
  aspect-ratio: 4 / 3;
  max-height: none;
  background: #071522 none center center / 270% auto no-repeat;
}
.pg-case-360-section.pg-sunmi-case-360 .pg-case-360-viewer img { width: 100%; height: 100%; object-fit: contain; }
.pg-case-360-section.pg-sunmi-case-360 .pg-case-360-heading p { max-width: 76ch; }
