:root { color-scheme: light; }

.ppm-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, calc((100% - 1160px) / 2));
  background: #0d1728;
  color: #fff;
}

.ppm-top a { color: inherit; text-decoration: none; }
.ppm-shell { width: min(1160px, calc(100% - 28px)); margin: auto; }
.ppm-section { padding: 38px 0; background: #f6f8fc; color: #152033; font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ppm-section header p, .ppm-kicker { margin: 0; color: #2563eb; font-size: 12px; letter-spacing: .12em; }
.ppm-section h2 { margin: 2px 0 18px; font-size: clamp(24px, 4vw, 38px); }
.ppm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ppm-card { overflow: hidden; border: 1px solid #dfe6f0; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(18, 35, 58, .07); }
.ppm-card a { display: block; color: inherit; text-decoration: none; }
.ppm-cover { position: relative; display: block; aspect-ratio: 16 / 9; background: #dfe5ef; overflow: hidden; }
.ppm-cover img { width: 100%; height: 100%; object-fit: cover; }
.ppm-cover b { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; min-width: 46px; min-height: 46px; border-radius: 50%; background: rgba(8, 15, 27, .78); color: #fff; }
.ppm-cover small { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(8, 15, 27, .78); color: #fff; }
.ppm-cardcopy { display: grid; gap: 7px; padding: 15px; }
.ppm-cardcopy strong { font-size: 18px; line-height: 1.4; }
.ppm-cardcopy span { color: #60718a; font-size: 13px; }
.ppm-cardcopy em { display: -webkit-box; overflow: hidden; color: #53637a; font-style: normal; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ppm-crumb { display: flex; gap: 9px; flex-wrap: wrap; padding: 22px 0; }
.ppm-crumb a { color: #155bc5; }
.ppm-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 28px; margin-bottom: 38px; }
.ppm-media, .ppm-copy { min-width: 0; }
.ppm-media video, .ppm-media > img, .ppm-reader img { display: block; width: 100%; height: auto; background: #080d16; border-radius: 16px; }
.ppm-copy { font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ppm-copy h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.12; }
.ppm-meta { color: #60718a; }
.ppm-lead { font-size: 1.1rem; }
.ppm-notice { padding: 13px 15px; border-left: 4px solid #e5a000; background: #fff8df; }
.ppm-preview { position: relative; margin-top: -1px; padding: 12px; border-radius: 0 0 16px 16px; background: #101827; color: #fff; }
.ppm-preview > img { display: none; }
.ppm-preview > button[data-preview-play] { position: absolute; left: 50%; top: -90px; translate: -50% -50%; width: 58px; height: 58px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .72); color: #fff; font-size: 22px; }
.ppm-preview__controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ppm-preview button, .ppm-preview select { min-height: 40px; }
.ppm-preview button { border: 1px solid #53657e; border-radius: 8px; background: #26354b; color: #fff; cursor: pointer; }
.ppm-preview input { flex: 1; min-width: 120px; }
.ppm-preview p { margin: 8px 0 0; color: #cbd5e1; font-size: 13px; }
.ppm-reader { display: grid; gap: 10px; }

.ppm-preview:fullscreen {
  display: grid;
  align-content: end;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  border-radius: 0;
  background: #050910;
}

.ppm-preview:fullscreen > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .72; }
.ppm-preview:fullscreen > button[data-preview-play] { top: 50%; z-index: 2; }
.ppm-preview:fullscreen .ppm-preview__controls, .ppm-preview:fullscreen p { position: relative; z-index: 2; }

.pp-freshness {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 13px 16px;
  border: 1px solid #d9e3f1;
  border-radius: 12px;
  background: #f7f9fc;
  color: #33445d;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pp-freshness span { font-weight: 750; }
.pp-freshness time { font-variant-numeric: tabular-nums; }
.pp-freshness a { color: #155bc5; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .ppm-detail { grid-template-columns: 1fr; }
  .ppm-grid { grid-template-columns: 1fr; }
  .ppm-card a { display: grid; grid-template-columns: 118px 1fr; }
  .ppm-cover { height: 100%; min-height: 118px; }
  .ppm-cardcopy { padding: 12px; }
  .ppm-cardcopy em { -webkit-line-clamp: 2; }
  .ppm-preview__controls label { width: 100%; }
}

@media (max-width: 520px) {
  .pp-freshness { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
