/* n139e «Дневник и фотоальбом» (0.68): the diary and the album under the «Питомец» card's soul (public/club-pet-diary.js). */
.cpd { margin-top: 10px; display: grid; gap: 10px; }
.cpd[hidden] { display: none; }
.cpd-sec { display: grid; gap: 6px; }
.cpd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cpd-e { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: start; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); font-size: 13px; line-height: 1.35; }
.cpd-e-i { font-size: 16px; line-height: 1.2; text-align: center; }
.cpd-e-d { opacity: 0.6; font-size: 11.5px; white-space: nowrap; }
.cpd-e-t { font-style: italic; }
.cpd-e-h { display: block; font-size: 11px; opacity: 0.65; margin-top: 2px; }
.cpd-hidden { opacity: 0.5; }
.cpd-hide, .cpd-more { font: inherit; font-size: 11.5px; color: inherit; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 2px 9px; min-height: 24px; cursor: pointer; }
.cpd-hide:hover, .cpd-more:hover { background: rgba(255, 255, 255, 0.16); }
.cpd-more { justify-self: start; }
.cpd-empty { font-size: 12.5px; opacity: 0.65; font-style: italic; }
.cpd-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px 10px; scroll-snap-type: x proximity; }
.cpd-ph { flex: 0 0 auto; margin: 0; width: 162px; padding: 6px 6px 8px; background: #fbf7ee; color: #3a2d22; border-radius: 3px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); transform: rotate(var(--tilt, 0deg)); scroll-snap-align: start; display: grid; gap: 4px; }
.cpd-ph-play { display: block; padding: 0; border: 0; border-radius: 2px; cursor: pointer; width: 150px; height: 104px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, #f2c27a 0%, rgba(242, 194, 122, 0) 55%), linear-gradient(180deg, #5a1f2a 0%, #3a1520 70%, #2a1016 100%); }
.cpd-ph[data-pl="film"] .cpd-ph-play { background: radial-gradient(ellipse at 50% 0%, rgba(190, 220, 255, 0.55) 0%, rgba(190, 220, 255, 0) 60%), linear-gradient(180deg, #1c2440 0%, #141a2e 70%, #0e1220 100%); }
.cpd-ph[data-sc="nap"] .cpd-ph-play { background: radial-gradient(circle at 80% 18%, #f5ebc0 0 6px, rgba(0, 0, 0, 0) 7px), linear-gradient(180deg, #223055 0%, #1a2340 100%); }
.cpd-ph-c { display: block; width: 150px; height: 104px; }
.cpd-ph figcaption { display: grid; gap: 1px; font-size: 12px; line-height: 1.25; text-align: center; font-family: "Segoe Print", "Comic Sans MS", "Marker Felt", cursive; }
.cpd-ph-d { font-size: 10.5px; opacity: 0.65; font-family: inherit; }
.cpd-ph .cpd-hide { justify-self: center; color: #3a2d22; background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.15); }
.cpd-ph[data-playing="1"] { box-shadow: 0 4px 16px rgba(255, 210, 120, 0.45); }
@media (max-width: 520px) {
  .cpd-e { font-size: 12.5px; }
  .cpd-hide, .cpd-more { min-height: 32px; padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) { .cpd-ph { transform: none; } }

.cpd-archive { justify-self:start; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--text); font:inherit; cursor:pointer; }
