/* PK Notice Board — Plugin-specific styles (design system base is in pk-design-system.css) */

.pk-notices-wrap { margin: 20px 0; }

.pk-section-title {
    font-size: 1.4em; margin-bottom: 15px;
    border-bottom: 2px solid var(--pk-primary, #6366f1);
    padding-bottom: 8px;
    font-family: var(--pk-font-sans, 'Inter', sans-serif);
    color: var(--pk-text, #1e293b);
}

/* ── Notice list ────────────────────────────────────────── */
.pk-notices-list { list-style: none; padding: 0; margin: 0; }
.pk-notice-item { background: var(--pk-surface, #fff); border: 1px solid var(--pk-border, #e2e8f0); border-radius: 6px; padding: 16px; margin-bottom: 12px; position: relative; transition: box-shadow var(--pk-transition, 200ms); }
.pk-notice-item:hover { box-shadow: var(--pk-shadow-md, 0 4px 6px rgba(0,0,0,.07)); }
.pk-notice-item.pk-notice-important { border-left: 4px solid var(--pk-danger, #ef4444); }
.pk-badge-important { background: var(--pk-danger, #ef4444); color: #fff; font-size: .75em; padding: 2px 8px; border-radius: 3px; margin-bottom: 6px; display: inline-block; }
.pk-notice-title { margin: 6px 0; font-size: 1.05em; }
.pk-notice-title a { color: var(--pk-primary, #6366f1); text-decoration: none; }
.pk-notice-title a:hover { text-decoration: underline; }
.pk-notice-excerpt { color: var(--pk-text-secondary, #64748b); font-size: .9em; margin: 6px 0; }
.pk-notice-date { font-size: .8em; color: var(--pk-text-muted, #94a3b8); }

/* ── App-update banner ──────────────────────────────────── */
.pk-app-update-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--pk-primary, #6366f1), var(--pk-primary-dark, #4f46e5)); color: #fff; border-radius: var(--pk-radius-md, 12px); padding: 20px 24px; margin: 20px 0; }
.pk-app-update-icon { font-size: 2.5em; flex-shrink: 0; }
.pk-app-update-content h3 { margin: 0 0 6px; font-size: 1.2em; }
.pk-app-update-content p { margin: 0 0 12px; opacity: .9; }
.pk-btn-app-download { background: #fff; color: var(--pk-primary, #6366f1); display: inline-block; padding: 8px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: background var(--pk-transition, 200ms); }
.pk-btn-app-download:hover { background: var(--pk-primary-bg, #eef2ff); }

@media (max-width: 480px) {
    .pk-app-update-banner { flex-direction: column; text-align: center; padding: 16px; }
}

/* ── Timeline view ──────────────────────────────────── */
.pk-timeline { position: relative; padding-left: 28px; }
.pk-timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--pk-border,#e2e8f0); }
.pk-timeline-item { position: relative; margin-bottom: 16px; animation: pk-slide-in .3s ease-out backwards; }
.pk-timeline-item:nth-child(1) { animation-delay: .05s; }
.pk-timeline-item:nth-child(2) { animation-delay: .10s; }
.pk-timeline-item:nth-child(3) { animation-delay: .15s; }
.pk-timeline-item:nth-child(4) { animation-delay: .20s; }
.pk-timeline-item:nth-child(5) { animation-delay: .25s; }
@keyframes pk-slide-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.pk-timeline-dot { position: absolute; left: -24px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--pk-primary,#6366f1); border: 2px solid var(--pk-surface,#fff); box-shadow: 0 0 0 2px var(--pk-primary,#6366f1); }
.pk-notice-important .pk-timeline-dot { background: var(--pk-danger,#ef4444); box-shadow: 0 0 0 2px var(--pk-danger,#ef4444); }
