* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, serif; background: #f5f5f0; min-height: 100vh; --accent: #3333CC; }
header { background: #f5f5f0; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header img { height: 80px; object-fit: contain; }
.kb-btn { display: inline-block; padding: 10px 24px; color: #fff; font-family: Georgia, serif; font-size: 1rem; text-decoration: none; border-radius: 8px; border: 3px solid #fff; outline: 3px solid var(--accent); background-color: var(--accent); cursor: pointer; transition: opacity .15s; }
.kb-btn:hover { opacity: .88; }
.kb-btn.disabled { opacity: .4; pointer-events: none; }
main { max-width: 960px; margin: 0 auto; padding: 24px; }
h2.title { text-align: center; font-size: 1.5rem; font-weight: normal; color: var(--accent); margin-bottom: 6px; }
h3.subtitle { text-align: center; font-size: 1rem; font-weight: normal; color: #666; margin-bottom: 22px; }
.filter-bar { display: none; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-bar select { padding: 7px 12px; font-family: Georgia, serif; font-size: .9rem; border: 2px solid var(--accent); border-radius: 6px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.chip { padding: 6px 14px; border-radius: 20px; border: 2px solid var(--accent); background: #fff; color: var(--accent); font-family: Georgia, serif; font-size: .88rem; cursor: pointer; }
.chip.active, .chip:hover { background: var(--accent); color: #fff; }
.count { text-align: center; color: #888; font-size: .85rem; margin-bottom: 12px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 14px 0; flex-wrap: wrap; font-size: .9rem; color: #555; }
.pager button { padding: 6px 14px; border: 2px solid var(--accent); border-radius: 6px; background: #fff; color: var(--accent); font-family: Georgia, serif; cursor: pointer; }
.pager button:disabled { opacity: .35; cursor: default; }
.thumbnail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.thumb-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; padding: 6px; border-radius: 8px; }
.thumb-card.last { background: #e9e9dc; }
.thumb-card img { width: 100%; height: 150px; object-fit: contain; background: #eee; }
.thumb-title { font-size: .9rem; color: #1a1a1a; text-align: center; }
.thumb-date { font-size: .8rem; color: #888; }
.empty-msg { text-align: center; color: #888; padding: 40px; grid-column: 1/-1; }
.item-meta { text-align: center; color: #666; font-size: .9rem; margin-bottom: 8px; }
.item-position { text-align: center; font-size: .82rem; color: #aaa; margin-bottom: 6px; }
.progress-slider { max-width: 600px; margin: 0 auto 20px; padding: 0 24px; }
.progress-slider input { width: 100%; accent-color: var(--accent); cursor: pointer; }
.image-container { display: flex; justify-content: center; margin-bottom: 24px; }
.image-container img { max-width: 100%; max-height: 620px; object-fit: contain; cursor: zoom-in; }
.item-notes { max-width: 720px; margin: 0 auto 32px; line-height: 1.7; color: #1a1a1a; white-space: pre-wrap; }
.nav-btns { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.nav-btns .kb-btn { font-size: .9rem; padding: 8px 20px; }
@media (max-width: 600px) { header { padding: 12px 14px; } header img { height: 56px; } .kb-btn { padding: 8px 14px; font-size: .9rem; } }
