:root{--bg: #fafafa;--surface: #ffffff;--border: #dbdbdb;--text: #262626;--text-muted: #8e8e8e;--placeholder: #c7c7c7;--accent: #262626;--danger: #ed4956;--radius-sm: 4px;--radius-md: 8px;--header-h: 44px;--post-max: 470px;--skeleton-base: #efefef;--skeleton-shine: #f8f8f8}@media (prefers-color-scheme: dark){:root{--bg: #000000;--surface: #000000;--border: #262626;--text: #f5f5f5;--text-muted: #a8a8a8;--placeholder: #3a3a3a;--accent: #f5f5f5;--skeleton-base: #1a1a1a;--skeleton-shine: #2a2a2a}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}.app-shell{display:flex;flex-direction:column;min-height:100dvh}.app-header{position:sticky;top:0;z-index:20;height:var(--header-h);background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 16px}.app-header-logo{font-size:1.5rem;font-weight:700;font-style:italic;letter-spacing:-.5px;color:var(--text);font-family:Georgia,serif;line-height:1}.app-header-actions{display:flex;align-items:center;gap:8px}.app-header-back{display:flex;align-items:center;gap:4px;background:none;border:none;color:var(--text);font-size:.9375rem;cursor:pointer;padding:4px 0}.app-header-title{font-size:.9375rem;font-weight:600;color:var(--text)}.icon-btn{background:none;border:none;cursor:pointer;color:var(--text);display:flex;align-items:center;justify-content:center;padding:4px;border-radius:var(--radius-sm);transition:opacity .15s}.icon-btn:hover{opacity:.6}.icon-btn:disabled{opacity:.3;cursor:not-allowed}.feed{display:flex;flex-direction:column;align-items:center;padding-bottom:40px}.post{width:100%;max-width:var(--post-max);background:var(--surface);cursor:pointer}@media (min-width: 600px){.post{border:1px solid var(--border);border-radius:var(--radius-sm);margin-top:24px}}@media (max-width: 599px){.post{border-bottom:1px solid var(--border)}}.post-header{display:flex;align-items:center;gap:10px;padding:10px 12px}.post-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;overflow:hidden;box-shadow:0 0 0 1.5px var(--border)}.post-meta{display:flex;flex-direction:column;line-height:1.2}.post-username{font-size:.8125rem;font-weight:600;color:var(--text)}.post-date,.post-location{font-size:.75rem;color:var(--text-muted)}.post-image-wrap{width:100%;background:#111;line-height:0}.post-image-wrap img{width:100%;height:auto;display:block;max-height:80svh;object-fit:contain}.post-body{padding:10px 12px 14px}.post-caption{font-size:.875rem;line-height:1.45;color:var(--text);white-space:pre-wrap}.post-caption-name{font-weight:600;margin-right:4px}.detail-post{width:100%;max-width:var(--post-max);margin:0 auto;background:var(--surface)}@media (min-width: 600px){.detail-post{margin-top:24px;border:1px solid var(--border);border-radius:var(--radius-sm)}}.detail-actions{padding:12px;border-top:1px solid var(--border);display:flex;gap:8px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--skeleton-base) 25%,var(--skeleton-shine) 50%,var(--skeleton-base) 75%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:4px}.skeleton-card-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0}.skeleton-card-meta{display:flex;flex-direction:column;gap:6px}.skeleton-card-name{width:90px;height:10px}.skeleton-card-date{width:65px;height:9px}.skeleton-card-media{width:100%;aspect-ratio:4 / 5;max-height:80svh;border-radius:0}.skeleton-card-caption{width:55%;height:10px;margin:10px 12px 14px}.form-wrap{width:100%;max-width:var(--post-max);margin:0 auto;padding:16px 20px 40px}.form-group{margin-bottom:14px}.form-group label{display:block;font-size:.8125rem;font-weight:600;color:var(--text-muted);margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}.form-group input:not(.tag-input-field),.form-group textarea,.form-group select{width:100%;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.9375rem;font-family:inherit;color:var(--text);outline:none;transition:border-color .15s;-webkit-appearance:none}.form-group input:not(.tag-input-field):focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--text-muted)}.search-date-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-group textarea{resize:vertical;min-height:90px;line-height:1.5}.photo-picker{width:100%;aspect-ratio:1;max-height:320px;background:var(--placeholder);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;color:var(--text-muted);font-size:.9375rem;margin-bottom:14px;overflow:hidden;transition:opacity .15s}.photo-picker:hover{opacity:.85}.photo-picker img{width:100%;height:100%;object-fit:contain;background:#111}.btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 20px;border:none;border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;cursor:pointer;transition:opacity .15s;width:100%}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:#0095f6;color:#fff}.btn-primary:hover:not(:disabled){background:#1877f2}.btn-danger{color:var(--danger);background:none;font-size:.9375rem;font-weight:400;width:auto;padding:8px 0}.btn-danger:hover:not(:disabled){opacity:.7}.center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:60px 16px;color:var(--text-muted);text-align:center;font-size:.9375rem}.error-msg{font-size:.875rem;color:var(--danger);text-align:center;margin-bottom:12px}.success-msg{font-size:.875rem;color:#3897f0;text-align:center;margin-bottom:12px}.profile-avatar-wrap{display:flex;justify-content:center;margin-bottom:24px}.profile-avatar-btn{display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:none;cursor:pointer;padding:0}.profile-avatar-change{font-size:.875rem;color:#3897f0;font-weight:600}.load-more-wrap{width:100%;max-width:var(--post-max);text-align:center;padding:24px 0}.load-more-btn{background:none;border:none;color:var(--text-muted);font-size:.875rem;cursor:pointer}.load-more-btn:hover{color:var(--text)}.login-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;background:var(--bg)}.login-card{width:100%;max-width:350px}@media (min-width: 480px){.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:40px 40px 28px}}.login-logo{font-size:2.5rem;font-weight:700;font-style:italic;font-family:Georgia,serif;color:var(--text);text-align:center;margin-bottom:32px;letter-spacing:-1px;line-height:1}.login-input{width:100%;padding:9px 10px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.75rem;font-family:inherit;color:var(--text);outline:none;margin-bottom:8px;transition:border-color .15s;-webkit-appearance:none}.login-input:focus{border-color:var(--text-muted)}@media (prefers-color-scheme: dark){.login-input{background:#121212}}.login-btn{width:100%;padding:7px;background:#0095f6;color:#fff;border:none;border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;cursor:pointer;margin-top:4px;transition:opacity .15s}.login-btn:disabled{opacity:.4;cursor:not-allowed}.login-btn:hover:not(:disabled){background:#1877f2}.login-error{font-size:.8125rem;color:var(--danger);text-align:center;margin-bottom:10px}.badge-strip{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px 14px;border-top:1px solid var(--border)}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:.75rem;font-weight:500;line-height:1.4}.badge-date{background:var(--placeholder);color:var(--text-muted)}@media (prefers-color-scheme: dark){.badge-date{background:#1c1c1c}}.badge-tag{background:none;border:1px solid var(--border);color:var(--text-muted)}.tag-input-wrap{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:text;transition:border-color .15s;min-height:42px}.tag-input-wrap:focus-within{border-color:var(--text-muted)}.tag-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:var(--placeholder);border-radius:999px;font-size:.8125rem;color:var(--text);white-space:nowrap}@media (prefers-color-scheme: dark){.tag-chip{background:#1c1c1c}}.tag-chip-remove{background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:.9rem;line-height:1;padding:0;display:flex;align-items:center;transition:color .1s}.tag-chip-remove:hover{color:var(--text)}.tag-input-field{flex:1;min-width:80px;border:none;outline:none;background:transparent;font-size:.9375rem;font-family:inherit;color:var(--text);padding:0}.tag-input-field::placeholder{color:var(--text-muted)}.tag-suggestions{position:absolute;top:calc(100% + 4px);left:0;min-width:160px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 4px 12px #00000026;list-style:none;z-index:30;overflow:hidden}.tag-suggestion{padding:8px 12px;font-size:.875rem;color:var(--text);cursor:pointer}.tag-suggestion:hover,.tag-suggestion-active{background:var(--bg)}.tag-picker-trigger-wrap{display:flex;flex-direction:column;gap:10px}.tag-picker-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);font-size:.9375rem;font-family:inherit;cursor:pointer;transition:border-color .15s,color .15s;width:100%}.tag-picker-btn svg:last-child{margin-left:auto}.tag-picker-btn:hover{border-color:var(--text-muted);color:var(--text)}.tag-picker-selected{display:flex;flex-wrap:wrap;gap:6px}.sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:100;display:flex;align-items:flex-end;animation:sheet-fade-in .2s ease}@keyframes sheet-fade-in{0%{opacity:0}to{opacity:1}}.sheet{width:100%;max-height:80svh;background:var(--surface);border-radius:16px 16px 0 0;display:flex;flex-direction:column;animation:sheet-slide-up .25s cubic-bezier(.32,.72,0,1);overflow:hidden}@keyframes sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.sheet-handle-bar{width:36px;height:4px;background:var(--border);border-radius:2px;margin:10px auto 0;flex-shrink:0}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 8px;flex-shrink:0}.sheet-title{font-size:1rem;font-weight:600;color:var(--text)}.sheet-close{background:none;border:none;cursor:pointer;color:var(--text-muted);font-size:1.5rem;line-height:1;padding:0 4px;transition:color .1s}.sheet-close:hover{color:var(--text)}.sheet-search-wrap{padding:0 16px 12px;flex-shrink:0}.sheet-search{width:100%;padding:9px 12px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.9375rem;font-family:inherit;color:var(--text);outline:none;transition:border-color .15s;-webkit-appearance:none}.sheet-search:focus{border-color:var(--text-muted)}.sheet-new-tag-btn{display:flex;align-items:center;gap:8px;width:calc(100% - 32px);margin:0 16px 12px;padding:10px 14px;border:1px dashed var(--border);border-radius:var(--radius-sm);background:none;color:var(--text-muted);font-size:.9rem;font-family:inherit;cursor:pointer;transition:border-color .15s,color .15s;flex-shrink:0}.sheet-new-tag-btn:not(:disabled):hover{border-color:var(--text-muted);color:var(--text)}.sheet-new-tag-btn:disabled{opacity:.45;cursor:default}.sheet-new-tag-plus{font-size:1.1rem;font-weight:400;line-height:1}.sheet-tags-scroll{overflow-y:auto;padding:0 16px 24px;flex:1}.sheet-tags{display:flex;flex-wrap:wrap;gap:8px}.sheet-tag-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:none;color:var(--text);font-size:.875rem;font-family:inherit;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.sheet-tag-pill:hover{background:var(--bg);border-color:var(--text-muted)}.sheet-tag-pill-selected{background:var(--accent);border-color:var(--accent);color:var(--surface)}.sheet-tag-pill-selected:hover{background:var(--accent);border-color:var(--accent);opacity:.85}@media (prefers-color-scheme: dark){.sheet-tag-pill-selected{background:var(--text);border-color:var(--text);color:var(--bg)}.sheet-tag-pill-selected:hover{background:var(--text);border-color:var(--text)}}.sheet-tag-check{font-size:.75rem}.sheet-empty{color:var(--text-muted);font-size:.9rem;padding:8px 0}.carousel{position:relative;width:100%;aspect-ratio:4 / 5;max-height:80svh;background:#000;overflow:hidden;line-height:0;container-type:inline-size;touch-action:pan-y}.carousel-slide{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transform:translate(100%);transition:transform .3s ease}.carousel-slide-before{transform:translate(-100%)}.carousel-slide-active{transform:translate(0);pointer-events:auto}@keyframes carousel-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.carousel-slide-loading{background:linear-gradient(90deg,#1c1c1e 25%,#2e2e30,#1c1c1e 75%);background-size:200% 100%;animation:carousel-shimmer 1.5s ease-in-out infinite}.carousel-media-el{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .2s ease}.carousel-slide-loading .carousel-media-el{opacity:0}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:none;background:#0000008c;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s;z-index:2;-webkit-tap-highlight-color:transparent}.carousel:hover .carousel-arrow{opacity:1}.carousel-arrow-prev{left:8px}.carousel-arrow-next{right:8px}@media (hover: none){.carousel-arrow{display:none}}.carousel-counter{position:absolute;top:10px;right:12px;font-size:.75rem;font-weight:600;color:#fff;background:#00000085;padding:2px 9px;border-radius:999px;line-height:1.6;pointer-events:none;z-index:2}.carousel-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:5px;pointer-events:none;z-index:2}.carousel-dot{width:6px;height:6px;border-radius:50%;background:#ffffff73;transition:background .15s}.carousel-dot-active{background:#fff}.new-entry-page{height:calc(100dvh - var(--header-h));display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}.new-entry-preview{flex-shrink:0;background:#000;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:default}.new-entry-preview-media{width:100%;height:100%;object-fit:contain;display:block}.new-entry-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#ffffff80;font-size:.9375rem;cursor:pointer;width:100%;height:100%;-webkit-user-select:none;user-select:none}.new-entry-handle{flex-shrink:0;height:22px;background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none}.new-entry-handle-pill{width:36px;height:4px;border-radius:2px;background:var(--border)}.new-entry-picker{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--bg)}.media-picker-grid.ne-grid{margin-bottom:0;padding:12px 20px 0}.new-entry-form-fields{padding:16px 20px 40px}.new-entry-share-btn{background:none;border:none;color:#0095f6;font-size:.9375rem;font-weight:600;cursor:pointer;padding:4px 8px;line-height:1;transition:opacity .15s}.new-entry-share-btn:disabled{opacity:.35;cursor:not-allowed}.ne-error{padding:0 16px;margin-bottom:8px}.osm-attribution{display:block;font-size:.6875rem;color:var(--placeholder);text-align:center;padding:12px 16px 20px}.osm-attribution a{color:var(--placeholder);text-decoration:underline}.media-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-bottom:14px}.media-thumb{aspect-ratio:1;position:relative;background:var(--placeholder);overflow:hidden;border-radius:2px}.media-thumb-preview{width:100%;height:100%;object-fit:cover;display:block}.media-thumb-type-badge{position:absolute;bottom:4px;left:4px;color:#fff;background:#00000080;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.media-thumb-remove{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;background:#0000008c;border:none;color:#fff;font-size:1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .1s}.media-thumb-remove:hover{background:#000000bf}.media-thumb-add{aspect-ratio:1;background:var(--bg);border:1.5px dashed var(--border);border-radius:2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;color:var(--text-muted);font-size:.75rem;transition:border-color .15s,color .15s;text-align:center;padding:4px}.media-thumb-add:hover{border-color:var(--text-muted);color:var(--text)}.media-thumb-active:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:3px solid #0095f6;pointer-events:none;border-radius:2px}
