/* ---------- 우리동네(town.js): 둘레의 글, 글 하나, 글 올리기, 거래 대화 ---------- */
.tw{display:flex;flex-direction:column;gap:.8rem}
/* 어느 장에서든 맨 위에 붙는 사기 경고 */
.tw-warn{font-size:1.2rem;line-height:1.4;font-weight:600;color:#7a3d00;background:#fff3d6;border-radius:1.2rem;padding:.7rem 1rem;box-shadow:inset 0 0 0 1px #f0d48a}
.tw-list{display:flex;flex-direction:column;gap:.6rem}
.tw-card{display:flex;gap:1rem;align-items:center;width:100%;text-align:left;padding:.7rem;border-radius:1.6rem;background:#fff;box-shadow:inset 0 0 0 1px var(--line);transition:transform .15s}
.tw-card:active{transform:scale(.98)}
.tw-card img,.tw-ph{flex:none;width:6.4rem;height:6.4rem;border-radius:1.2rem;object-fit:cover;background:var(--sky);display:grid;place-items:center;font-size:2.6rem}
.tw-card .txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}
.tw-card b{font-size:1.45rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-card small{font-size:1.15rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-card em,.tw-fact em{font-style:normal;font-weight:700;color:var(--navy);margin-right:.5rem}
.tw em.ad{display:inline-block;padding:0 .6rem;border-radius:99px;background:var(--navy);color:#fff;font-size:1rem;font-weight:600;vertical-align:middle}
.tw .st{font-style:normal;font-weight:700;color:#b8590a}
.tw-area,.tw-say{display:flex;gap:.5rem;align-items:center}
.tw-area .field,.tw-say .field{flex:1;min-width:0}
.tw-area .po-btn,.tw-say .po-btn{flex:none;min-height:4.2rem;padding:0 1.4rem;font-size:1.3rem;margin:0}
.tw-pics{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none}
.tw-pics img{flex:none;height:15rem;max-width:88%;border-radius:1.4rem;object-fit:cover}
.tw-title{font-size:1.8rem;line-height:1.3;user-select:text;-webkit-user-select:text}
.tw-price{font-size:2rem;font-weight:800;color:var(--navy)}
.tw-fact{font-size:1.3rem;color:var(--navy)}
.tw-text{font-size:1.45rem;line-height:1.55;white-space:pre-wrap;user-select:text;-webkit-user-select:text}
.tw-meta{font-size:1.15rem;color:var(--muted)}
.tw-by{display:flex;align-items:center;gap:.9rem;padding:.8rem 1rem;border-radius:1.4rem;background:var(--sky)}
.tw-by .fc{flex:none;width:3.6rem;height:3.6rem;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:700;font-size:1.5rem}
.tw-by .who{flex:1;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.tw-by b{font-size:1.4rem}.tw-by small{font-size:1.15rem;color:var(--muted)}
/* 믿음 점수: 점수만큼 채워지는 고리. 40 아래는 조심하라는 색 */
.tw-score{flex:none;display:flex;flex-direction:column;align-items:center;gap:.2rem;--c:var(--navy)}
.tw-score.low{--c:#b8590a}
.tw-score b{width:4.4rem;height:4.4rem;border-radius:50%;display:grid;place-items:center;font-size:1.5rem;font-weight:800;color:var(--c);background:radial-gradient(#fff 58%,transparent 60%),conic-gradient(var(--c) calc(var(--v)*1%),#d9e2ee 0)}
.tw-score small{font-size:1rem}
.tw-rv{display:flex;flex-wrap:wrap;gap:.3rem .5rem;align-items:baseline;font-size:1.25rem;color:var(--navy)}
.tw-rv b{font-weight:800;margin-right:.6rem}
.tw-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.tw-tag{display:inline-flex;gap:.5rem;align-items:baseline;padding:.3rem .9rem;border-radius:99px;background:var(--sky);font-size:1.15rem;color:var(--navy)}
.tw-tag b{font-weight:800}
.tw-tag.bad{background:#fff3d6;color:#7a3d00}
.tw-form .field{width:100%}
.tw-form textarea.field{resize:none;line-height:1.45}
.tw-shots{display:flex;gap:.5rem;flex-wrap:wrap}
.tw-shots button{width:6.4rem;height:6.4rem;border-radius:1.2rem;overflow:hidden;background:var(--sky);font-size:1.2rem;font-weight:600;color:var(--navy)}
.tw-shots img{width:100%;height:100%;object-fit:cover}
.tw .ch .sys{border-radius:1.2rem}
.tw .ch .sys.warn{background:#fff3d6;color:#7a3d00;font-weight:600;box-shadow:inset 0 0 0 1px #f0d48a}
.tw .tw-wrap{flex-wrap:wrap;overflow:visible}
/* 소식 장의 맨 위: 왜 올리면 좋은지와 올리기. 받는 것(스템피)은 눈에 띄게 한 줄로 */
.tw-pitch{display:flex;flex-direction:column;gap:.8rem;padding:1.2rem;border-radius:1.8rem;background:linear-gradient(160deg,#EEF4FF,#FFF6E6)}
.tw-pitch .top{display:flex;gap:1rem;align-items:center}
.tw-pitch .rami{flex:none;width:6rem;height:6rem}.tw-pitch .rami img{width:100%;height:100%;object-fit:contain}
.tw-pitch .top b{display:block;font-size:1.6rem;line-height:1.3;color:var(--navy)}
.tw-pitch .top small{display:block;font-size:1.25rem;line-height:1.45;color:var(--muted);margin-top:.3rem}
.tw-pitch .lp-bar{margin:0}
.tw-gift{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;padding:.7rem 1.1rem;border-radius:1.2rem;background:#FFF1C9;color:#6b4a00;font-size:1.3rem}
.tw-gift::before{content:"★";color:#E0A100;font-size:1.4rem}
.tw-gift small{font-size:1.1rem;opacity:.8}
