:root { color-scheme: dark; font-family: ui-sans-serif, system-ui, sans-serif; background:#090909; }
* { box-sizing: border-box; }
body { margin:0; overflow:hidden; }
#feed { height:100dvh; overflow-y:auto; scroll-snap-type:y mandatory; overscroll-behavior-y:contain; }
.card { height:100dvh; position:relative; scroll-snap-align:start; scroll-snap-stop:always; background:#171717; }
.photo { width:100%; height:100%; object-fit:cover; display:block; }
.shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.05) 45%,rgba(0,0,0,.72)); pointer-events:none; }
.credit { position:absolute; left:20px; bottom:max(25px,env(safe-area-inset-bottom)); font-size:13px; color:#eee; z-index:1; }
.credit a { color:#fff; }
.comment-button { position:absolute; right:20px; bottom:max(30px,env(safe-area-inset-bottom)); z-index:1; border:0; border-radius:999px; padding:12px 16px; background:#fff; color:#111; font-weight:700; font-size:14px; touch-action:none; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; }
.comment-button.test-armed { background:#666; color:#fff; transition:none; }
dialog { padding:0; border:0; width:min(560px,100%); max-width:100%; height:min(720px,100%); margin:auto; background:#151515; color:#fff; }
dialog::backdrop { background:rgba(0,0,0,.65); }
.comments-panel { display:flex; flex-direction:column; height:100%; }
header { padding:18px 20px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #333; }
h1 { margin:0; font-size:18px; }#test-mode-note { margin:4px 0 0; color:#bbb; font-size:12px; }.close { border:0; background:transparent; color:#fff; font-size:32px; line-height:1; }
.comments { flex:1; overflow:auto; padding:16px 20px; display:flex; flex-direction:column; gap:10px; }.comment { border-bottom:1px solid #333; padding:12px 0; }.comment-text { white-space:pre-wrap; overflow-wrap:anywhere; }.comment time { display:block; color:#aaa; font-size:10px; margin-top:5px; }.edit { margin-top:8px; border:0; color:#ddd; background:#333; border-radius:6px; padding:5px 8px; }.test-comment { border:0; max-width:78%; padding:10px 12px; border-radius:14px; }.test-comment.other { align-self:flex-start; background:#2b2b2b; border-bottom-left-radius:4px; }.test-comment.mine { align-self:flex-end; background:#2e6eea; border-bottom-right-radius:4px; }.test-comment.mine time { color:#dbe7ff; }
form { padding:12px 16px max(14px,env(safe-area-inset-bottom)); border-top:1px solid #333; }.compose-row { display:flex; align-items:flex-end; gap:8px; } label { display:block; font-size:12px; margin:8px 0 0; } label span { display:block; margin-bottom:4px; } textarea,input { width:100%; color:#fff; background:#252525; border:1px solid #444; border-radius:9px; padding:10px; font:inherit; } textarea { min-height:42px; max-height:120px; resize:none; line-height:1.35; overflow-y:auto; }.compose-row textarea { flex:1; }.compose-row > button { flex:0 0 auto; min-height:42px; padding:0 15px; border:0; border-radius:9px; font-weight:700; background:#fff; color:#111; }.hint { color:#aaa; font-size:11px; margin:6px 0 0; }#password-field[hidden],.hint[hidden] { display:none; }
