/* NerveSocket Social Wall */
.wall-main { max-width: 780px; padding-top: 1.25rem; }
.wall-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.wall-heading h1 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.wall-heading h1 a { color: var(--fg); }
.wall-heading .eyebrow { margin: 0 0 .2rem; }
.wall-account { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .9rem; }
.wall-account form { margin: 0; }
.wall-account a { white-space: nowrap; }
.text-button { padding: .3rem .1rem; background: transparent; border: 0; color: var(--muted); font: inherit; cursor: pointer; }
.text-button:hover { color: var(--fg); }
.wall-account .btn-small { padding: .4rem .7rem; font-size: .85rem; }
.wall-flash { padding: .7rem .9rem; margin: 1rem 0; border: 1px solid var(--accent); border-radius: 8px; color: var(--fg); }
.wall-flash.err { border-color: #dc2626; color: #ef4444; }
.wall-welcome { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.wall-welcome h2 { margin: 0 0 .3rem; color: var(--fg); text-transform: none; letter-spacing: 0; font-size: 1.2rem; }
.wall-welcome p { color: var(--muted); margin: 0; }
.composer { margin: 1.2rem 0; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.composer-label { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.composer-label span, .paste-note, [data-file-names] { color: var(--muted); font-size: .8rem; }
.composer textarea { display: block; min-height: 7rem; resize: vertical; width: 100%; padding: .7rem; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.paste-note { margin: .45rem 0; }
.composer-tools { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.composer-tools .btn { margin-left: auto; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.guest-name { display: grid; gap: .25rem; max-width: 22rem; margin-bottom: .6rem; color: var(--muted); font-size: .85rem; }
.guest-name span { font-weight: 400; }
.guest-name input, .wall-search input { min-width: 0; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--fg); font: inherit; }
.guest-composer .composer-tools { justify-content: space-between; }
.guest-composer .composer-tools a { color: var(--muted); font-size: .8rem; }
.guest-composer .composer-tools { margin-top: .45rem; }
.file-button { display: inline-flex; align-items: center; padding: .45rem .7rem; background: var(--line); border-radius: 6px; color: var(--fg); font-size: .85rem; cursor: pointer; }
.file-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.feed-toolbar { display: flex; justify-content: space-between; align-items: baseline; margin: 1.8rem 0 .6rem; }
.feed-discovery { display: flex; align-items: center; gap: .55rem; margin: 1.25rem 0 .5rem; }
.tag-suggestions { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin: .55rem 0 1rem; color: var(--muted); font-size: .8rem; }
.tag-suggestions a { color: var(--accent); }
.tag-suggestions a:hover { text-decoration: underline; }
.wall-search { display: flex; gap: .4rem; flex: 1; max-width: 34rem; }
.wall-search .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn-shuffle { white-space: nowrap; }
.feed-pagination { display: flex; justify-content: center; padding: 1.3rem 0; }
.tag-context { color: var(--muted); margin: .3rem 0 .8rem; }
.tag-context a, .post-body .hashtag { color: var(--accent); }
.post-time { margin-left: auto; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.post-time:hover { color: var(--accent); }
.guest-label { color: var(--muted); font-size: .8rem; }
.post-feedback { color: #ef4444; font-size: .82rem; margin: .3rem 0 0; }
.post-feedback:empty { display: none; }
.post-actions button:disabled { opacity: .6; cursor: wait; }
.feed-toolbar h2 { margin: 0; font-size: .9rem; color: var(--fg); letter-spacing: 0; }
.feed-toolbar span { color: var(--muted); font-size: .8rem; }
.feed { display: grid; gap: .8rem; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; min-width: 0; }
.post-card > header { display: flex; align-items: center; gap: .65rem; }
.post-card > header > div:nth-child(2) { display: grid; line-height: 1.25; }
.post-card > header strong { font-size: .92rem; color: var(--fg); }
.post-card > header a { color: var(--muted); font-size: .8rem; }
.post-card > header time { margin-left: auto; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.avatar { flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--accent); color: var(--bg); border-radius: 50%; font-weight: 700; }
.post-body { margin: .8rem 0; white-space: normal; overflow-wrap: anywhere; }
.post-body a { text-decoration: underline; text-underline-offset: .15em; }
.post-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; margin: .8rem 0; }
.post-media img, .post-media video { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #000; border-radius: 8px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; margin-top: .7rem; background: #000; border-radius: 8px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-actions { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: .65rem; font-size: .82rem; }
.post-actions form { margin: 0; }
.post-actions a, .post-actions span, .post-actions button { color: var(--muted); }
.post-actions .is-liked { color: #ef4444; }
.post-actions .danger:hover { color: #ef4444; }
.report-control { position: relative; }
.report-control summary { color: var(--muted); cursor: pointer; }
.report-control form { display: flex; gap: .3rem; position: absolute; z-index: 2; top: 100%; right: 0; width: min(20rem, 80vw); padding: .5rem; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.report-control input { min-width: 0; flex: 1; padding: .35rem; background: var(--card); border: 1px solid var(--line); border-radius: 5px; color: var(--fg); }
.report-control button { border: 0; background: var(--accent); color: var(--bg); border-radius: 5px; cursor: pointer; }
.report-card blockquote { margin: .5rem 0; padding-left: .8rem; border-left: 2px solid var(--line); color: var(--muted); }
.comments { padding-top: .5rem; }
.comment { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.comments p { margin: .35rem 0; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; flex: 1; }
.comments p strong { color: var(--fg); }
.comment-tools { display: flex; gap: .3rem; align-items: center; opacity: .6; }
.comment-tools:hover, .comment-tools:focus-within { opacity: 1; }
.comment-tools form { margin: 0; }
.comment-icon { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 1rem; line-height: 1; }
.comment-icon:hover { background: var(--line); color: var(--fg); }
.comment-report { position: relative; }
.comment-report form { position: absolute; z-index: 3; right: 0; top: 100%; display: flex; gap: .3rem; width: min(18rem, 75vw); padding: .45rem; background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.comment-report input { min-width: 0; flex: 1; width: 100%; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 5px; background: var(--card); color: var(--fg); font: inherit; font-size: .8rem; }
.comment-report button { border: 0; border-radius: 5px; padding: .3rem .5rem; background: var(--accent); color: var(--bg); cursor: pointer; }
.comment-form { display: flex; gap: .4rem; margin-top: .6rem; }
.comment-form input { min-width: 0; flex: 1; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--fg); font: inherit; }
.comment-form button { border: 0; background: transparent; color: var(--accent); cursor: pointer; font: inherit; }
.wall-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.wall-empty h2, .wall-empty h3 { color: var(--fg); }
.auth-panel { max-width: 28rem; margin: 2.5rem auto; padding: 1.4rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.auth-panel h2 { margin: .2rem 0 1.2rem; color: var(--fg); text-transform: none; letter-spacing: 0; font-size: 1.5rem; }
.wall-form { display: grid; gap: .8rem; }
.wall-form label { display: grid; gap: .3rem; color: var(--muted); font-size: .88rem; }
.wall-form input { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--fg); font: inherit; }
.wall-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.auth-switch { color: var(--muted); font-size: .86rem; margin-bottom: 0; }
.wall-footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding: 1rem 0 2rem; color: var(--muted); font-size: .8rem; }
@media (max-width: 600px) {
  .wall-main { padding-left: .9rem; padding-right: .9rem; }
  .wall-heading { align-items: flex-start; }
  .wall-account { gap: .65rem; }
  .wall-account > span { display: none; }
  .wall-welcome { align-items: flex-start; flex-direction: column; }
  .post-card { padding: .75rem; }
  .post-card > header time { font-size: .7rem; }
  .wall-footer { flex-direction: column; }
}
.wall-secret { color: inherit; text-decoration: none; cursor: inherit; }
