/* simulizi.php: all stories, one story, reading an episode. Layout around it: public-base.css */
.sz-page { padding-bottom: 50px; }
.sz-hero { padding: 40px 32px; margin-bottom: 28px; }
.sz-hero h1 { font-size: 2.4rem; }
.sz-section-title { font-size: 1.35rem; font-weight: 700; color: #0f172a; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.sz-section-title i { color: #facc15; }
section + section { margin-top: 34px; }
.sz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.sz-card { background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); transition: 0.25s; display: flex; flex-direction: column; }
.sz-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1); }
.sz-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sz-card-body { padding: 16px 18px 18px; }
.sz-card h3 { font-size: 1.08rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; line-height: 1.35; }
.sz-card p { font-size: 0.9rem; color: #64748b; line-height: 1.55; margin-bottom: 10px; }
.sz-card-meta, .sz-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: #64748b; }
.sz-card-meta i, .sz-meta i { margin-right: 4px; color: #0b3d91; }
.sz-state { font-weight: 700; color: #047857; }
.sz-state.done { color: #7c3aed; }
.sz-latest, .sz-episodes { display: grid; gap: 10px; }
.sz-episode { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 18px; text-decoration: none; color: inherit; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); border: 1px solid transparent; transition: 0.2s; }
.sz-episode:hover { border-color: #facc15; }
.sz-episode > i { color: #718096; }
.sz-ep-no { width: 48px; height: 48px; border-radius: 14px; background: #0b3d91; color: #facc15; font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
.sz-episode-text { display: flex; flex-direction: column; min-width: 0; }
.sz-episode-text strong { font-size: 0.98rem; color: #0f172a; line-height: 1.35; overflow-wrap: anywhere; }
.sz-episode-text small { font-size: 0.78rem; color: #64748b; margin-top: 2px; }
.sz-empty-page { text-align: center; padding: 50px 20px; color: #718096; background: #fff; border-radius: 20px; }
.sz-empty-page i { font-size: 2.6rem; color: #cbd5e1; margin-bottom: 10px; }

.sz-story { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 30px; background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); margin-bottom: 28px; }
.sz-story-cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.sz-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #b45309; background: #fef3c7; padding: 4px 12px; border-radius: 20px; }
.sz-story h1 { font-size: 2rem; color: #0f172a; margin: 10px 0 8px; line-height: 1.25; }
.sz-summary { font-size: 1rem; color: #334155; line-height: 1.75; margin: 14px 0 18px; }
.sz-start { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 40px; background: #0b3d91; color: #fff; text-decoration: none; font-weight: 700; }
.sz-start:hover { background: #1565c0; }
.sz-episodes h2 { font-size: 1.25rem; color: #0f172a; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.sz-episodes h2 i { color: #facc15; }

.sz-reader { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 34px 40px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); }
.sz-reader-head { border-bottom: 1px solid #edf2f7; padding-bottom: 18px; margin-bottom: 22px; }
.sz-story-link { display: inline-flex; align-items: center; gap: 6px; color: #0b3d91; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.sz-ep-label { display: block; margin-top: 12px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #b45309; }
.sz-reader h1 { font-size: 2rem; line-height: 1.3; color: #0f172a; margin: 4px 0 10px; }
.sz-reader-body { font-size: 1.08rem; line-height: 1.9; color: #1e293b; }
.sz-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #edf2f7; }
.sz-pager a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #f8fafc; border: 1px solid #e2e8f0; text-decoration: none; color: #0f172a; font-weight: 600; }
.sz-pager a:hover { border-color: #facc15; }
.sz-pager a.next { justify-content: flex-end; text-align: right; grid-column: 2; }
.sz-pager a small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px; color: #64748b; font-weight: 700; }
.sz-pager i { color: #0b3d91; }
.sz-soon { grid-column: 2; align-self: center; justify-self: end; font-size: 0.9rem; color: #64748b; }
.sz-soon.done { color: #7c3aed; font-weight: 700; }

@media (max-width: 860px) {
    .sz-story { grid-template-columns: 1fr; padding: 16px; }
    .sz-story h1 { font-size: 1.6rem; }
}
@media (max-width: 580px) {
    .sz-hero { padding: 26px 16px; }
    .sz-hero h1 { font-size: 1.8rem; }
    .sz-reader { padding: 22px 16px; border-radius: 18px; }
    .sz-reader h1 { font-size: 1.5rem; }
    .sz-reader-body { font-size: 1rem; }
    .sz-pager { grid-template-columns: 1fr; }
    .sz-pager a.next, .sz-soon { grid-column: 1; }
    .sz-episode { grid-template-columns: 40px 1fr; padding: 10px 12px; }
    .sz-episode > i { display: none; }
    .sz-ep-no { width: 40px; height: 40px; }
}

/* Share row (public_share_html()) */
.sz-share { margin-top: 22px; }
.sz-reader .sz-share { padding-top: 18px; border-top: 1px solid #edf2f7; }
