*{box-sizing:border-box}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#161616;--primary-color: #ffffff;--secondary-color: #646cff;--background-color: #0e0e0e;--alt-background-color: #000000;--tag-background-color: #2a2a3a;--border-color: #444;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:var(--secondary-color);text-decoration:inherit}a:hover{color:var(--secondary-color)}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100dvh;overflow-y:scroll}h1{font-size:3.2em;line-height:1.1}button,.button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--background-color);cursor:pointer;transition:border-color .25s}button:hover,.button:hover{border-color:var(--secondary-color)}.button--alt{background-color:var(--alt-background-color);color:var(--primary-color)}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#eee;--primary-color: #000000;--secondary-color: #646cff;--background-color: #fff;--alt-background-color: #e0e0e0;--tag-background-color: #e8e0f0;--border-color: #fff}a:hover{color:#747bff}button{background-color:var(--background-color)}}#root{width:100%;max-width:1280px;margin:0 auto;padding:0;min-height:100dvh}.app{text-align:left;width:100%}.app__meta{color:#888;font-size:.9rem;margin-bottom:1rem}.app__loading,.app__empty{text-align:center;color:#888;margin:2rem}.app__sentinel{height:1px;width:100%;visibility:hidden;pointer-events:none}.app__loading-more{color:#888;font-size:.9rem;text-align:center;margin:1rem 0 2rem}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-bottom:0}.post-card{background:var(--background-color);aspect-ratio:1}.post-card__media{aspect-ratio:1;width:100%;height:100%;overflow:hidden;background:var(--alt-background-color);position:relative}.post-card__media img,.post-card__media video{width:100%;height:100%;object-fit:cover;display:block}.post-card__play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:30%;height:30%;color:var(--primary-color);opacity:.8;pointer-events:none}.post-card__body{display:none}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1rem}.pagination button:disabled{opacity:.5;cursor:not-allowed}.navbar{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:1rem;margin-bottom:1rem}.navbar__menu{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0;margin:0;gap:1rem}.navbar__menu--tags{margin-top:1rem;padding-top:.5rem;flex-wrap:wrap;justify-content:flex-start}.navbar__tag{padding:.5rem;border-radius:.5rem;background-color:var(--tag-background-color);cursor:pointer}.navbar__tag-count{color:var(--text-color-secondary);opacity:.4;margin-left:.5rem}.navbar__item{display:flex;gap:.5rem;align-items:center;justify-content:center;padding:.5rem;font-size:1rem;margin:0;border-radius:5rem;background-color:var(--alt-background-color);cursor:pointer}.navbar__item span{font-size:1rem;line-height:.4rem}.filters{width:100%;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.filters__input{padding:.5rem 1rem;border:1px solid var(--border-color);border-radius:6px;background:var(--background-color);color:inherit;font-size:1rem;flex:1;width:10px}.filters__btn{padding:.3rem 1rem;background:var(--alt-background-color)}.filters__btn--toggle{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;padding:.3rem .75rem;border-radius:6px;border:1px solid var(--border-color);background:var(--alt-background-color);color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none}.filters__btn--active{background:var(--secondary-color)}.post-viewer{position:fixed;inset:0;z-index:1000;background:#000;overflow:hidden;touch-action:pan-y}.post-viewer__track{display:flex;width:300vw;height:100%;will-change:transform}.post-viewer__track--animating{transition:transform .28s ease-out}.post-viewer__slide{width:100vw;height:100%;flex-shrink:0;display:flex;align-items:center;justify-content:center}.post-viewer__slide--empty{background:#000}.post-viewer__media-wrap{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.post-viewer__media-wrap--zoomable{overflow:hidden}.post-viewer__media-wrap--zoomable.post-viewer__media-wrap--zoomed{touch-action:none}.post-viewer__media-wrap--grab{cursor:grab}.post-viewer__media-wrap--grabbing{cursor:grabbing}.post-viewer__media{width:100%;height:100%;object-fit:contain}.post-viewer__media--zoomable{will-change:transform;-webkit-user-select:none;user-select:none}.post-viewer__backdrop{position:absolute;inset:0;background:#0006;z-index:2}.post-viewer__sheet{position:absolute;left:0;right:0;bottom:0;max-height:70vh;background:var(--background-color);border-radius:1rem 1rem 0 0;z-index:3;transform:translateY(100%);transition:transform .25s ease-out;overflow:hidden;display:flex;flex-direction:column}.post-viewer__sheet--open{transform:translateY(0)}.post-viewer__sheet-handle{width:2.5rem;height:.25rem;background:#ffffff4d;border-radius:2px;margin:.5rem auto 0;flex-shrink:0}.post-viewer__sheet-content{padding:1rem 1.25rem 1.5rem;overflow-y:auto}.post-viewer__sheet-date{display:inline-block;margin:0 0 1.5rem;font-size:.9rem;opacity:.8;padding-bottom:.1rem;border-bottom:1px solid rgba(255,255,255,.5)}.post-viewer__sheet-date time{margin-left:1rem;padding-left:1rem;border-left:1px solid rgba(255,255,255,.5)}.post-viewer__sheet-caption{margin:0 0 .75rem;font-size:1rem;line-height:1.4;white-space:pre-wrap}.post-viewer__sheet-tags{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:0;padding:0}.post-viewer__sheet-tags li.post-viewer__sheet-tag{font-size:.8rem;background:var(--tag-background-color);padding:.2rem .5rem;border-radius:4px;cursor:pointer}.post-viewer__sheet-empty{margin:0;opacity:.6;font-size:.9rem}.new-post{max-width:480px;margin:0 auto;padding:1.5rem}.new-post h1{margin:0 0 1.25rem;font-size:1.75rem}.new-post form{display:flex;flex-direction:column;gap:1rem}.new-post label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:inherit;opacity:.9}.new-post input[type=text],.new-post input[type=datetime-local],.new-post textarea{padding:.5rem .75rem;border-radius:6px;border:1px solid var(--alt-background-color);background:var(--background-color);color:inherit;font-family:inherit;font-size:1rem}.new-post input[type=file]{padding:.35rem 0;font-size:.9rem;color:inherit}.new-post textarea{min-height:80px;resize:vertical}.new-post__tag-suggestions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.25rem}.new-post__tag-suggestion{border:1px solid var(--alt-background-color);background:var(--tag-background-color);color:inherit;border-radius:999px;padding:.25rem .55rem;font-size:.85rem;cursor:pointer;opacity:.95}.new-post__tag-suggestion:hover{opacity:1}.new-post .preview-wrap{border-radius:8px;border:1px dashed var(--alt-background-color);background:var(--alt-background-color);aspect-ratio:1;max-height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden}.new-post .preview-wrap img,.new-post .preview-wrap__video-el{width:100%;height:100%;object-fit:contain}.new-post__video-actions{display:flex;align-items:center;gap:.75rem;margin-top:.5rem}.new-post .preview-wrap__capture-btn{padding:.4rem .75rem;font-size:.9rem;border-radius:6px;border:1px solid var(--alt-background-color);background:var(--background-color);color:inherit;cursor:pointer}.new-post .preview-wrap__thumb-set{margin:0;font-size:.85rem;opacity:.8}.new-post .preview-placeholder{color:inherit;opacity:.5;font-size:.9rem}.new-post .form-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.new-post .delete-btn{background:transparent;color:inherit;opacity:.8}.new-post .delete-btn:hover{opacity:1;border-color:#c00;color:#c00}
