.pc-rack {
  --pc-ink: #1d3557;
  width: min(100%, 560px);
  min-width: 0;
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  color: var(--pc-ink);
}
.pc-rack *, .pc-rack *::before, .pc-rack *::after { box-sizing: border-box }
.pc-stack { position: relative; margin: 22px 4.5% 0 4.5%; isolation: isolate }
.pc-stack::before, .pc-stack::after {
  content: "";
  position: absolute;
  inset: 4px 1px 5px 5px;
  border: 1px solid #223c4e;
  pointer-events: none;
}
.pc-stack::before {
  background: #d3ded5;
  transform: translate(-1.3%,2.2%) rotate(-5deg);
  box-shadow: -2px 6px 6px #26363810;
}
.pc-stack::after {
  z-index: 1;
  background: repeating-linear-gradient(45deg,#a8dadc 0 11px,#a8dadc 11px 19px,#86bdc3 19px 24px,#a8dadc 24px 29px);
  transform: translate(-1.5%,1.4%) rotate(-2.8deg);
}
.pc-front {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 2.45% 2.45% 0;
  transform: rotate(4deg);
  transform-origin: 50% 65%;
  background: #fffcf0;
  border: 1px solid #1d3557a6;
  box-shadow: 2px 6px 0 #302d2b12, 3px 12px 19px #26363823;
}
.pc-print { position: relative; overflow: hidden; aspect-ratio: 720 / 465; background: #a8cdd0 }
.pc-art { width: 100%; height: 100%; display: block; object-fit: cover }
.pc-caption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 3.1% .6% 3.2%;
  color: #233949;
}
.pc-caption-left { display: grid; gap: .15em }
.pc-edition, .pc-coords, .pc-control-label {
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-style: normal;
  font-weight: 700;
}
.pc-edition { font-size: clamp(8px,.72vw,10px); letter-spacing: .145em; line-height: 1.1 }
.pc-place { font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px,1.8vw,25px); font-style: italic; line-height: 1.2 }
.pc-coords { border-left: 1px dashed #829196; padding-left: 4%; padding-right: .4%; font-size: clamp(8px,.76vw,10px); line-height: 1.35; letter-spacing: .09em }
.pc-tape {
  position: absolute; z-index: 1; pointer-events: none;
  width: 19%; height: 9%; top: -3.4%; left: 51%;
  transform: rotate(-8deg);
  background: repeating-linear-gradient(92deg,#eeddb324 0 1px,transparent 1px 3px),#f1dfb2d6;
  clip-path: polygon(1% 4%,98% 0,97% 12%,100% 20%,98% 30%,100% 41%,98% 51%,100% 63%,97% 72%,99% 86%,97% 96%,0 100%,2% 86%,0 72%,2% 61%,0 48%,2% 34%,0 17%);
}
.pc-postmark {
  position: absolute; z-index: 3; width: 24%; height: auto;
  right: -3.8%; top: -4%; color: #263a48; transform: rotate(11deg);
  pointer-events: none; filter: drop-shadow(0 1px 0 #fff8);
}
.pc-controls {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  position: relative; z-index: 4; margin: clamp(22px,3vw,34px) 2% 0 0;
}
.pc-controls[hidden] { display: none }
.pc-control-label { color: #30455b; font-size: 10px; letter-spacing: .105em; line-height: 1.2; margin-right: 8px; white-space: nowrap }
.pc-control-label b { font-weight: 800; margin-left: .3em }
.pc-arrow {
  border: 1px solid #526276; background: #fffcf0; color: var(--pc-ink);
  border-radius: 50%; display: grid; place-items: center; padding: 0;
  width: 38px; height: 38px; cursor: pointer; touch-action: manipulation;
}
.pc-arrow svg { width: 15px; height: 15px; pointer-events: none }
.pc-arrow:hover, .pc-arrow:focus-visible { background: var(--pc-ink); color: #fff }
.pc-arrow:focus-visible { outline: 3px solid #c1243d; outline-offset: 3px }
.pc-arrow:active { transform: translateY(1px) }
.pc-sr { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap }
@media (pointer:coarse) { .pc-arrow { width:44px; height:44px } }
@media (prefers-reduced-motion:no-preference) {
  .pc-arrow { transition: color .12s,background .12s }
  .pc-front.pc-turn-next { animation: pc-turn-next .39s cubic-bezier(.2,.8,.25,1) }
  .pc-front.pc-turn-prev { animation: pc-turn-prev .39s cubic-bezier(.2,.8,.25,1) }
  @keyframes pc-turn-next { from { transform: translate(2%,2%) rotate(1deg) } to { transform: rotate(4deg) } }
  @keyframes pc-turn-prev { from { transform: translate(-2%,2%) rotate(7deg) } to { transform: rotate(4deg) } }
}
