.pc, .pc-full, .pc-today { color-scheme: light; color: var(--fg-1); font-family: var(--font, "PN Sans", sans-serif); }
.pc { margin-block: var(--s-8); }
.pc-body, .pc-actions { display: flex; gap: var(--s-3); }
.pc-body { flex-direction: column; padding-block: var(--s-3); }
.pc-actions { flex-wrap: wrap; }
.pc-body select, .pc-body input[readonly] { min-height: var(--tap, 44px); max-width: 100%; font: inherit; }
.pc-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: var(--s-3, 12px); margin: 0; padding: 0; }
.pc-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; text-align: center; overflow-wrap: anywhere; color: var(--fg-1, #161616); background: var(--bg-panel, #f3f2ee); border-radius: var(--r-2xl, 16px); padding: .7em; }
.pc-card b { font-weight: 500; }
.pc-card svg { width: 3em; height: 3em; flex-shrink: 0; }
.pc-marked { box-shadow: inset 0 0 0 2px currentColor; }
.pc-card span { font-size: .8em; }
.pc-full { position: fixed; inset: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; border: 0; padding: var(--s-5); background: var(--bg); box-sizing: border-box; direction: rtl; font-size: 1.35rem; }
.pc-full .pc-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.pc-today { margin-block: var(--s-5); }
.pc-today li { padding-block: var(--s-2); }
.pc-timer { display: inline-block; padding: .35em .8em; background: var(--bg-panel); border-radius: 2em; }
.pc-timer[hidden] { display: none; }
.dp-page .pc-cards { gap: 2mm; font-size: 12pt; }
.dp-page .pc-card { break-inside: avoid; border: .3mm dashed #63625c; border-radius: 0; padding: 2mm; background: white; }
.dp-page .pc-card svg { width: 10mm; height: 10mm; }
.dp-page .pc-strip { grid-template-columns: 1fr; max-width: 90mm; }
.dp-page .pc-strip .pc-card { flex-direction: row; justify-content: flex-start; min-height: 20mm; }
.dp-page .pc-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-page .pc-small .pc-card { min-height: 28mm; }
.dp-page .pc-story { grid-template-columns: 1fr; }
.dp-page .pc-story .pc-card { min-height: 29mm; }
.pc-sources li { margin-block-end: .65em; }

.dp-page .pc-large { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 18pt; }
.dp-page .pc-large .pc-card { border: .5mm solid #111; color: #111; min-height: 36mm; }
.dp-page .pc-card b { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
