/* 📮 제안하기 · 🆕 새 소식 */
.sg-main { max-width: 920px; margin: 0 auto; padding: 18px 16px 40px; }
.sg-h1 { font-size: 1.7rem; margin: 6px 0 14px; color: #4a3826; }
.sg-h1 small { display: block; font-size: .95rem; font-weight: 700; color: #8a6a48; margin-top: 4px; }
.sg-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.sg-tabs[hidden] { display: none; }
.sg-tabs button { font: inherit; font-weight: 900; font-size: 1.02rem; padding: 10px 16px; border-radius: 14px; border: 2px solid #e8d6b6; background: #fffdf7; color: #5a4129; cursor: pointer; }
.sg-tabs button.on { background: #0369a1; border-color: #0369a1; color: #fff; }
.sg-box, .sg-card { background: #fffdf7; border: 2px solid #ecd9b4; border-radius: 18px; padding: 16px 18px; margin: 0 0 14px; box-shadow: 0 4px 0 #ecdcbc; }
.sg-box h3 { margin: 16px 0 8px; font-size: 1.08rem; color: #4a3826; }
.sg-note { background: #f0f9ff; border: 1px solid #bae6fd; color: #075985; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: .95rem; }
.sg-tip { background: #fef9c3; border-radius: 10px; padding: 8px 10px; font-size: .93rem; margin: 6px 0 8px; }
.sg-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; }
.sg-kind { font: inherit; font-weight: 800; text-align: left; padding: 12px; border-radius: 14px; border: 2px solid #e8d6b6; background: #fff; color: #4a3826; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.sg-kind span { font-size: 1.5rem; }
.sg-kind.on { border-color: #0369a1; background: #e0f2fe; }
.sg-sub { margin: 10px 0 0; }
.sg-sub[hidden] { display: none; }
.sg-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.sg-row label { font-weight: 800; color: #5a4129; display: inline-flex; gap: 6px; align-items: center; }
.sg-in { font: inherit; font-size: 1rem; padding: 9px 11px; border: 2px solid #e2d3bb; border-radius: 10px; background: #fff; color: #3f2d1c; box-sizing: border-box; }
input.sg-in, textarea.sg-in { width: 100%; margin: 4px 0; }
.sg-row input.sg-in { width: auto; flex: 1; min-width: 160px; }
.sg-e { max-width: 70px; flex: none !important; min-width: 0 !important; text-align: center; }
.sg-ta { resize: vertical; line-height: 1.55; }
.sg-rad { background: #fff; border: 2px solid #e8d6b6; border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.sg-cnt { font-size: .85rem; color: #8a6a48; margin: 2px 0; }
.sg-err { color: #b91c1c; font-weight: 800; min-height: 1.2em; margin: 6px 0; }
.sg-btn { display: inline-block; font: inherit; font-weight: 900; padding: 10px 18px; border-radius: 14px; border: 0; background: #0369a1; color: #fff; cursor: pointer; text-decoration: none; }
.sg-btn.big { font-size: 1.12rem; padding: 13px 26px; }
.sg-btn.sm { padding: 7px 12px; font-size: .92rem; }
.sg-btn.gray { background: #e7dccb; color: #4a3826; }
.sg-btn:disabled { opacity: .5; }
.sg-link { font: inherit; background: none; border: 0; color: #0369a1; text-decoration: underline; cursor: pointer; font-weight: 800; }
.sg-x { background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.sg-empty { text-align: center; color: #8a6a48; padding: 30px 10px; line-height: 2; }
.sg-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.sg-n { font-weight: 800; color: #8a6a48; }
.sg-card.flash { outline: 3px solid #f59e0b; }
.sg-card h3 { margin: 6px 0; font-size: 1.15rem; }
.sg-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sg-k { font-weight: 800; font-size: .88rem; background: #f3ead9; border-radius: 999px; padding: 3px 10px; }
.sg-st { font-weight: 900; font-size: .88rem; border-radius: 999px; padding: 3px 10px; background: #e0f2fe; color: #075985; }
.st-doing .sg-st { background: #fef3c7; color: #92400e; }
.st-done .sg-st { background: #dcfce7; color: #166534; }
.sg-must { font-weight: 900; font-size: .85rem; color: #b91c1c; }
.sg-meta { margin: 2px 0; color: #6b4e2e; font-size: .93rem; }
.sg-x-txt { margin: 8px 0; line-height: 1.6; white-space: normal; }
.sg-re { background: #f0fdf4; border-left: 4px solid #22c55e; padding: 8px 10px; border-radius: 8px; margin: 8px 0; }
.sg-link-own { background: #fff7ed; border: 1px dashed #fb923c; padding: 6px 10px; border-radius: 8px; word-break: break-all; font-size: .92rem; }
.sg-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.sg-foot small { color: #8a6a48; }
.sg-like { font: inherit; font-weight: 900; border: 2px solid #e8d6b6; background: #fff; color: #5a4129; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.sg-like.on { background: #fde68a; border-color: #f59e0b; }
.sg-own-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e2d3bb; }
.sg-own-row input.sg-in { flex: 1; min-width: 160px; width: auto; margin: 0; }
.sg-own summary { font-weight: 900; cursor: pointer; }
.sg-news { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sg-news li { display: flex; gap: 12px; align-items: flex-start; background: #fffdf7; border: 2px solid #ecd9b4; border-radius: 16px; padding: 12px 14px; }
.sg-news .e { font-size: 1.8rem; line-height: 1; }
.sg-news li > div { flex: 1; }
.sg-news b a { color: #0369a1; }
.sg-news p { margin: 4px 0; color: #5a4129; }
.sg-news small { color: #9a7b58; }
.sg-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(30px); background: #3f2d1c; color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 800; opacity: 0; pointer-events: none; transition: .25s; z-index: 9999; }
.sg-toast.on { opacity: 1; transform: translateX(-50%); }
@media (max-width: 640px) { .sg-h1 { font-size: 1.35rem; } .sg-tabs button { padding: 8px 10px; font-size: .92rem; } .sg-kinds { grid-template-columns: 1fr 1fr; } }
