:root{--bg: #faf8f4;--surface: #ffffff;--text: #2a241c;--text-muted: #756a5a;--accent: #8a5a2e;--accent-2: #b97a3d;--border: #e6ddd0;font-family:Georgia,Times New Roman,serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{background:var(--surface);border-bottom:1px solid var(--border);padding:1rem 1.5rem;display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;position:sticky;top:0;z-index:10}.brand{font-size:1.25rem;font-weight:700;color:var(--accent);white-space:nowrap}.topnav{display:flex;gap:1rem;flex-wrap:wrap;font-family:system-ui,sans-serif;font-size:.9rem}.topnav a{color:var(--text-muted);padding:.25rem 0;border-bottom:2px solid transparent}.topnav a:hover{color:var(--accent);border-bottom-color:var(--accent-2)}.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:34px;height:34px;padding:6px;margin-left:auto;background:transparent;border:1px solid var(--border);border-radius:6px;cursor:pointer}.hamburger span{display:block;height:2px;background:var(--accent);border-radius:2px}@media (max-width: 700px){.hamburger{display:flex}.topnav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:var(--surface);border-bottom:1px solid var(--border);padding:.25rem 1.5rem .75rem;box-shadow:0 8px 16px #00000014}.topnav-open{display:flex}.topnav a{padding:.7rem 0;border-bottom:1px solid var(--border)}.topnav a:last-child{border-bottom:none}}.page-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:4rem 1rem;color:var(--text-muted);font-family:system-ui,sans-serif;text-align:center}.page-loading p{max-width:40ch;margin:0}.spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.content{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:2rem 1.5rem 4rem}.home h1{color:var(--accent);margin-bottom:.25rem}.home-intro{color:var(--text-muted);font-family:system-ui,sans-serif;max-width:60ch;margin-bottom:2rem}.home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}.home-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.5rem 1rem;text-align:center;display:flex;flex-direction:column;gap:.5rem;align-items:center;transition:transform .1s ease,box-shadow .1s ease}.home-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px #0000000f;border-color:var(--accent-2)}.home-card-icon{font-size:2rem}.home-card-label{font-family:system-ui,sans-serif;font-weight:600}.list-header{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.list-header h1{color:var(--accent);margin:0}.searchbox{display:flex;align-items:center;gap:.75rem;font-family:system-ui,sans-serif}.searchbox input{padding:.5rem .75rem;border:1px solid var(--border);border-radius:6px;font-size:.95rem;min-width:240px}.search-count{color:var(--text-muted);font-size:.85rem;white-space:nowrap}.status{color:var(--text-muted);font-family:system-ui,sans-serif}.status-error{color:#a33}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin-bottom:2rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .1s ease,border-color .1s ease}.card:hover{box-shadow:0 4px 14px #0000000f;border-color:var(--accent-2)}.card-thumb{aspect-ratio:4 / 3;background:#f0ebe2;overflow:hidden}.card-thumb img{width:100%;height:100%;object-fit:cover;display:block}.card-thumb-missing{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-family:system-ui,sans-serif;font-size:.85rem}.card-body{padding:.9rem 1rem}.card-body h3{margin:0 0 .35rem;font-size:1.05rem;line-height:1.3}.card-meta{font-family:system-ui,sans-serif;font-size:.8rem;color:var(--text-muted);margin:0 0 .5rem}.card-excerpt{font-size:.9rem;color:var(--text);margin:0;line-height:1.4}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;font-family:system-ui,sans-serif}.pagination button{padding:.4rem .9rem;border:1px solid var(--border);background:var(--surface);border-radius:6px;cursor:pointer;font-size:.9rem}.pagination button:disabled{opacity:.4;cursor:default}.pagination button:not(:disabled):hover{border-color:var(--accent-2);color:var(--accent)}.pagination-info{color:var(--text-muted);font-size:.85rem}.back-link{display:inline-block;margin-bottom:1.5rem;font-family:system-ui,sans-serif;font-size:.9rem;color:var(--text-muted)}.back-link:hover{color:var(--accent)}.detail h1{color:var(--accent);margin-bottom:.25rem}.detail-meta{font-family:system-ui,sans-serif;color:var(--text-muted);font-size:.9rem;margin-bottom:1.5rem}.detail-media{margin-bottom:1.5rem}.detail-media img{max-width:100%;border-radius:8px;display:block}.detail-media audio{width:100%}.detail-file-meta{font-family:system-ui,sans-serif;font-size:.8rem;color:var(--text-muted);margin-top:.4rem}.detail-body{font-size:1.1rem;line-height:1.7}.detail-body img{max-width:100%;height:auto;border-radius:6px}.notfound{font-family:system-ui,sans-serif;color:var(--text-muted)}.comments-section{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--border);font-family:system-ui,sans-serif}.comments-section h2{color:var(--accent);font-size:1.2rem;margin-bottom:1rem}.comment-list{list-style:none;margin:0;padding:0}.comment{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent-2);border-radius:8px;padding:.75rem 1rem;margin-bottom:.75rem}.comment-head{display:flex;justify-content:space-between;gap:1rem;font-size:.8rem;color:var(--text-muted);margin-bottom:.35rem}.comment-author{font-weight:600;color:var(--text)}.comment-subject{font-weight:600;font-size:.9rem;margin-bottom:.25rem}.comment-body{font-size:.92rem;line-height:1.5}.comment-body p{margin:0 0 .6em}.comment-body p:last-child{margin-bottom:0}.comment-body img{max-width:100%;height:auto;border-radius:6px}
