* { box-sizing: border-box; }
body { margin: 0; background: #dae0e6; color: #1a1a1b; font: 14px/1.45 "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.top { display: flex; gap: 16px; align-items: center; height: 48px; padding: 0 16px; background: #fff; border-bottom: 1px solid #edeff1; }
.logo { color: #ff4500; font-weight: 800; font-size: 18px; text-decoration: none; }
.search { flex: 1; }
.search input { width: 100%; max-width: 640px; padding: 8px 12px; border: 1px solid #edeff1; border-radius: 999px; background: #f6f7f8; }
.top nav { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.top a, .top button { padding: 6px 14px; border-radius: 999px; border: 1px solid #0079d3; background: #fff; color: #0079d3; font-weight: 700; text-decoration: none; cursor: pointer; }
.join, .create, .sheet button, .reply button { background: #ff4500; border-color: #ff4500; color: #fff; }
.flash { max-width: 1200px; margin: 12px auto 0; padding: 0 16px; color: #a52a32; }
.wrap { display: grid; grid-template-columns: 240px minmax(0, 640px) 300px; justify-content: center; gap: 24px; max-width: 1200px; margin: 20px auto 48px; padding: 0 16px; }
.rail, .about, .post, .composer, .sheet, .comment, .reply { background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.rail, .about { align-self: start; position: sticky; top: 16px; overflow: hidden; }
.rail { padding: 12px 8px; }
.label { margin: 0 8px 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #7c7c7c; }
.comm { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.comm:hover { background: #f6f7f8; }
.comm span, .avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ff4500; color: #fff; flex: none; }
.composer { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 8px 12px; color: #878a8c; text-decoration: none; }
.avatar { width: 38px; height: 38px; background: #edeff1; }
.composer span:last-child { flex: 1; padding: 10px 16px; border: 1px solid #edeff1; border-radius: 4px; background: #f6f7f8; }
.sort { display: flex; gap: 8px; margin: 0 0 12px; }
.sort a { padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; color: #878a8c; }
.sort .is-current { background: #f6f7f8; color: #0079d3; }
.post { display: flex; margin-bottom: 10px; }
.vote { display: flex; flex-direction: column; align-items: center; width: 40px; margin: 0; padding: 8px 0; background: #f8f9fa; }
.vote button { border: 0; background: transparent; color: #878a8c; cursor: pointer; font-size: 14px; }
.vote .is-on { color: #ff4500; }
.vote .is-down { color: #7193ff; }
.body { min-width: 0; padding: 8px 12px; }
.by { margin: 0 0 6px; color: #787c7e; font-size: 12px; }
.by a { color: #1a1a1b; font-weight: 700; text-decoration: none; }
h2 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
h2 a { text-decoration: none; }
.body p { margin: 0 0 8px; white-space: pre-wrap; }
.actions { display: flex; gap: 8px; align-items: center; }
.actions a, .actions button, .comment button { border: 0; background: transparent; color: #878a8c; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; padding: 0; }
.page-title { margin: 0 0 12px; font-size: 18px; }
.about-body form { margin: 0 0 8px; }
.create.second { background: #fff; color: #ff4500; border: 1px solid #ff4500; }
.about-body .create { border: 0; width: 100%; cursor: pointer; }
.banner { height: 46px; background: #ff4500; }
.about-body { padding: 12px; }
.about-body h2 { margin: 0 0 8px; font-size: 16px; }
.create { display: block; padding: 8px 12px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 700; }
.sheet, .reply { display: grid; gap: 10px; padding: 16px; margin-bottom: 12px; }
.sheet h1 { margin: 0; font-size: 18px; }
label { display: grid; gap: 4px; font-weight: 700; }
input, textarea { width: 100%; padding: 8px; border: 1px solid #edeff1; border-radius: 4px; }
.sheet button, .reply button { justify-self: start; padding: 8px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.comment { padding: 12px; margin-bottom: 8px; }
.full { white-space: pre-wrap; }
.hint { color: #787c7e; }
@media (max-width: 1100px) { .wrap { grid-template-columns: 220px minmax(0, 1fr); } .about { display: none; } }
@media (max-width: 720px) { .wrap { grid-template-columns: 1fr; } .rail { position: static; } .search { display: none; } }
