.portal-shelf {
  width: min(1100px, 92vw);
  margin: 0 auto 90px;
  padding: 40px;
  border: 1px solid rgba(71, 111, 150, 0.28);
  border-radius: 28px;
  background: #edf4f7;
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  gap: 48px;
}
.portal-shelf-copy h2,
.portal-copy h2 {
  font:
    400 clamp(30px, 4vw, 52px) / 1.15 Georgia,
    'Songti SC',
    serif;
  margin: 10px 0;
}
.portal-shelf-copy p,
.portal-copy p {
  color: #66717d;
  line-height: 1.6;
}
.portal-shelf-card {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.portal-shelf-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(31, 45, 64, 0.18));
}
.portal-shelf-card span {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.portal-viewer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #f6f0e4;
  padding: 4vh 5vw;
  overflow: auto;
}
.portal-viewer[hidden] {
  display: none;
}
.portal-copy {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}
.portal-sheet {
  width: min(330px, 68vw);
  height: auto;
  margin: 0 auto;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.portal-sheet img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(30, 42, 56, 0.14));
}
.portal-sheet img[hidden] {
  display: none;
}
.portal-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.portal-actions button,
.portal-actions a {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 700px) {
  .portal-shelf {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    text-align: center;
  }
  .portal-shelf-card {
    width: 210px;
    margin: auto;
  }
  .portal-viewer {
    padding: 54px 12px 28px;
  }
  .portal-sheet {
    width: min(260px, 64vw);
  }
}
