/* PixelCore Shield — share buttons, related/popular posts, lazy YouTube. Theme-neutral. */
.pc-share { --sz: 40px; --ic: 19px; --r: 50%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1.8em 0 1.2em; }
.pc-share-s { --sz: 34px; --ic: 16px; } .pc-share-l { --sz: 46px; --ic: 22px; }
.pc-share-rounded { --r: 11px; } .pc-share-square { --r: 4px; }
.pc-share-label { font-weight: 600; font-size: .9em; margin-right: 2px; }
.pc-share-btn { --c: #6b7280; position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: var(--sz); height: var(--sz); padding: 0; border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer; font: 600 13px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-decoration: none !important; transition: transform .15s, filter .15s, background-color .15s; }
.pc-share-btn[hidden] { display: none; }
.pc-share-btn svg { width: var(--ic); height: var(--ic); flex: none; display: block; }
.pc-share-btn:hover { transform: translateY(-2px); }
.pc-share-btn:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.pc-share-labels .pc-share-btn { padding: 0 14px 0 12px; border-radius: calc(var(--sz) / 2); }
.pc-share-labels.pc-share-rounded .pc-share-btn { border-radius: 11px; } .pc-share-labels.pc-share-square .pc-share-btn { border-radius: 4px; }
.pc-share-brand .pc-share-btn { background: var(--c); color: #fff !important; }
.pc-share-brand .pc-share-btn:hover { filter: brightness(1.1); }
.pc-share-soft .pc-share-btn { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c) !important; }
.pc-share-soft .pc-share-btn:hover { background: color-mix(in srgb, var(--c) 24%, transparent); }
.pc-share-outline .pc-share-btn { background: transparent; border-color: color-mix(in srgb, var(--c) 55%, transparent); color: var(--c) !important; }
.pc-share-outline .pc-share-btn:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
.pc-share-mono .pc-share-btn { background: transparent; border-color: color-mix(in srgb, currentColor 30%, transparent); color: inherit !important; }
.pc-share-mono .pc-share-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
/* Black brands (X, Threads) stay visible on dark sites in the tinted styles. */
@media (prefers-color-scheme: dark) { .pc-share-soft .pc-share-x, .pc-share-soft .pc-share-threads, .pc-share-outline .pc-share-x, .pc-share-outline .pc-share-threads, .pc-share-soft .pc-share-native, .pc-share-outline .pc-share-native, .pc-share-soft .pc-share-qr, .pc-share-outline .pc-share-qr { --c: #9ca3af; } }
.pc-share-done { position: absolute; bottom: calc(var(--sz) + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 400; background: #111; color: #fff; padding: 4px 8px; border-radius: 4px; }
@media print { .pc-share, .pc-related, #pc-a11y, .pc-alert { display: none !important; } }
.pc-related { margin: 2em 0 1em; }
.pc-related-title { margin: 0 0 .8em; }
.pc-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pc-related-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: inherit !important; }
.pc-related-item img, .pc-related-noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; background: rgba(127,127,127,.15); height: auto; }
.pc-related-name { font-weight: 600; line-height: 1.35; }
.pc-related-item:hover .pc-related-name { text-decoration: underline; }
.pc-related-date { font-size: .82em; opacity: .7; }
.pc-popular { list-style: none; margin: 0; padding: 0; counter-reset: pcpop; }
.pc-popular li { margin: 0 0 12px; }
.pc-popular a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none !important; color: inherit !important; }
.pc-popular img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.pc-popular-name { display: block; font-weight: 600; line-height: 1.35; }
.pc-popular a:hover .pc-popular-name { text-decoration: underline; }
.pc-popular-meta { display: block; font-size: .8em; opacity: .7; margin-top: 2px; }
.pc-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; margin: 1em 0; }
.pc-yt iframe, .pc-yt-btn, .pc-yt-btn img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pc-yt-btn { padding: 0; cursor: pointer; background: #000; }
.pc-yt-btn img { object-fit: cover; opacity: .92; transition: opacity .2s; }
.pc-yt-btn:hover img { opacity: 1; }
.pc-yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.pc-yt-btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
/* Air-raid alert banner */
.pc-alert { position: relative; z-index: 9999; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; font: 600 15px/1.4 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; color: #fff; }
.pc-alert[hidden] { display: none; }
.pc-alert-on { background: #b91c1c; }
.pc-alert-off { background: #15803d; }
.pc-alert-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pcpulse 1.4s infinite; flex: none; }
.pc-alert-off .pc-alert-dot { animation: none; }
.pc-alert small { font-weight: 400; opacity: .9; }
.pc-alert-card { border-radius: 10px; padding: 14px 16px; margin: 1em 0; }
@keyframes pcpulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pc-alert-dot { animation: none; } .pc-share-btn { transition: none; } }
