#messages-box { padding: 50px 0; }
#messages-box #messageList {   }
#messageList .list ul { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
#messageList .list ul li { padding: 0; }
#messageList .box { position: relative; padding: 22px 24px 0; border: 1px solid #f1dfc5; border-radius: 14px; background: #ffffff; box-sizing: border-box; overflow: hidden; transition: .3s ease; }
#messageList .box:hover { border-color: var(--primary); }
#messageList .message-main { padding-bottom: 18px; }
#messageList h3 { margin: 0 0 12px; line-height: 1.45; }
#messageList h3 a { color: #292929; text-decoration: none; font-size: 20px; font-weight: 600; height: 58px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#messageList h3 a:hover { color: var(--primary); }
#messageList .statu p { margin: 0; height: 53px; }
#messageList .statu p a { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; color: #777777; font-size: 14px; line-height: 1.6; text-decoration: none; }
#messageList .statu p a span { display: inline-block; }
#messageList .statu p a i { display: inline-block; width: 1px; height: 14px; background: #d8cec1; }
#messageList .message-catalog { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid #f1dfc5; }
#messageList .cns { display: flex; align-items: center; gap: 8px; min-width: 0; }
#messageList .message-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: #ffb52e; color: #ffffff; font-size: 10px; line-height: 1; flex: 0 0 auto; }
#messageList .cns p { margin: 0; }
#messageList .cns p a { color: #666666; font-size: 14px; text-decoration: none; }
#messageList .cns p a:hover { color: #ff8a1f; }
#messageList .views { display: flex; align-items: baseline; gap: 6px; color: #999999; white-space: nowrap; }
#messageList .views span { font-size: 13px; }
#messageList .views b { color: #777777; font-size: 24px; font-weight: 400; line-height: 1; }
#messageList-detail { margin-bottom: 30px; }
#messageList-detail>ul { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
#messageList-detail>ul>li { margin: 0; padding: 0; }
#messageList-detail .list { display: grid; grid-template-columns: 120px 1fr; align-items: center; border: 1px solid #f1dfc5; border-radius: 12px; background: #ffffff; overflow: hidden; }
#messageList-detail .subtitle { display: flex; align-items: center; padding: 16px 18px; background: #fff9ef; font-weight: 600; letter-spacing: .04em; }
#messageList-detail .subcontent { padding: 16px 18px; line-height: 1.6; }
#messageList-detail .subcontent a { color: #ff8a1f; text-decoration: none; transition: .25s ease; }
#messageList-detail .subcontent a:hover { color: #ff7417; }
#messageList-detail>ul>li:last-child .subcontent { font-weight: 700; color: #ff8a1f; }
#messageList-creditor { margin-top: 34px; padding: 30px 32px; background: #fff9ef; border: 1px solid #f1dfc5; border-radius: 14px; }
#messageList-creditor h3,#messageList-reply h3 { position: relative; margin: 0 0 22px; padding-left: 14px; font-size: 22px; font-weight: 600; line-height: 1.4; }
#messageList-creditor h3:before,#messageList-reply h3:before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 22px; border-radius: 999px; background: linear-gradient(180deg,#ffb52e 0%,#ff8a1f 55%,#ff7417 100%); transform: translateY(-50%); }
#messageList-creditor .message-board { position: relative; }
#messageList-creditor>p { margin: 12px 0 0; color: #777777; font-size: 14px; line-height: 1.8; text-align: center; }
#messageList-creditor>p:last-child { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
#messageList-creditor #btnPrev,#messageList-creditor #btnNext { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; padding: 8px 12px; border: 1px solid #f1dfc5; border-radius: 8px; background: #ffffff; color: #ff8a1f; font-size: 14px; font-weight: 700; text-decoration: none; transition: .25s ease; }
#messageList-creditor #btnPrev:hover,#messageList-creditor #btnNext:hover { border-color: #ff8a1f; background: #fff3dc; }
#messageList-creditor #btnPrev.no,#messageList-creditor #btnNext.no { color: #bdb5ae; background: #f7f7f7; border-color: #e8e2da; pointer-events: none; }
#messageList-reply { margin-top: 28px; padding: 30px 32px; border: 1px solid #f1dfc5; border-radius: 14px; background: #ffffff; }
#messageList-reply .reply-content { position: relative; }
#messageList-reply .reply-content>p { margin: 0 0 10px; color: #55504c; font-size: 14px; font-weight: 700; }
#messageList-reply textarea {display: block;width: 100%;min-height: 150px;padding: 16px 18px;border: 1px solid #f1dfc5 !important;border-radius: 10px;background: white;color: #292929;font-family: inherit;font-size: 15px;line-height: 1.8;resize: vertical;outline: none;box-sizing: border-box;transition: .25s ease;}
#messageList-reply textarea:focus { border-color: #ff8a1f; background: #ffffff; }
#messageList-reply textarea::placeholder { color: #aaa39c; }
#messageList-reply .reply-content .btn { display: flex; justify-content: center; margin-top: 18px; }
#messageList-reply .reply-content .btn .r-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 12px 24px; border-radius: 999px; background: linear-gradient(135deg,#ffb52e 0%,#ff8a1f 55%,#ff7417 100%); color: #ffffff; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; letter-spacing: 0.04em; transition: .25s ease; }
#messageList-reply .r-btn:hover { filter: brightness(1.05); }
@media screen and (max-width:1280px) {
  #messageList li .box .statu p { font-size: 14px; }
}
@media screen and (max-width:1024px) {
  #messageList .list ul { grid-template-columns: repeat(2,1fr); margin-bottom: 40px; }
  #messageList li { width: 100%; margin: 0; }
}
@media screen and (max-width:768px) {
  #messageList-creditor { margin-top: 50px; }
  #messageList-creditor h3,#messageList-reply >h3 { font-size: 18pt; line-height: 110%; }
  #messageList-detail>ul{grid-template-columns: 1fr;}
  #messageList-creditor .message-board section { background: #f8f8f8; margin: 20px 0; overflow: hidden; }
  #messageList-creditor .message-board .info { overflow: hidden; margin: 20px; }
  #messageList-creditor .message-board .info .pic { background-repeat: no-repeat; background-position: 50% 50%; background-size: cover; float: left; }
  #messageList-creditor .message-board .info .pic img { width: 100%; }
  #messageList-creditor .message-board .info .detail { float: left; margin-left: 20px; width: calc(100% - 290px); }
  #messageList-creditor .message-board .info .creditor-detail { margin-top: 15px; }
  #messageList-creditor .message-board .info .creditor-detail h4 { font-size: 13pt; line-height: 110%; }
  #messageList-creditor .message-board .info .creditor-detail h5 { font-size: 12pt; line-height: 110%; font-weight: normal; color: #909090; }
  #messageList-creditor .message-board .info .creditor-detail h4 a { display: inline-block; background: #eacb4e; color: #927b1c; padding: 2px 15px; }
  #messageList-creditor .message-board .info .creditor-detail h4 a:hover { color: #ffffff; }
  #messageList-creditor .message-board .info .creditor-detail h4 a img { vertical-align: middle; margin-right: 12px; width: 40px; margin-top: 5px; line-height: 100%; }
  #messageList-creditor .message-board .info .creditor-detail p { text-align: right; color: #909090; }
  #messageList-creditor .message-board .info .creditor-detail p b { color: #4cac8f; }
  #messageList-creditor .message-board .info .pic { width: 160px; }
  #messageList-creditor .message-board .info .detail { width: calc(100% - 180px); }
  #messageList-creditor .message-board .info .creditor-detail { margin: 0; }
  #messageList-creditor .message-board .info .creditor-detail h4 a img { width: 30px; }
  #messageList-creditor .message-board .info .creditor-detail h5 { margin: 20px 0 11px; }
}
@media screen and (max-width:640px) {
  #messageList .list ul {grid-template-columns: repeat(1,1fr);}
  #messageList li .box .message-catalog .views b { font-size: 22px; }
  #messageList-creditor .message-board .info .pic { width: 100px; }
  #messageList-creditor .message-board .info .detail { width: calc(100% - 120px); }
  #messageList-creditor .message-board .info { margin: 10px; }
}
@media screen and (max-width:480px) {
  #messageList li .box h3 { font-size: 18px; margin-bottom: 10px; }
  #messageList li .box { padding: 20px; }
  #messageList li .box .message-catalog .views,#messageList li .box .message-catalog .cns { float: none; }
  #messageList li .box .message-catalog .views { text-align: right; margin-top: 10px; }
  #messageList-creditor .message-board .info .pic { width: 70px; }
  #messageList-creditor .message-board .info .detail { width: calc(100% - 90px); }
  #messageList-creditor .message-board .info .creditor-detail h4 a { padding: 3px 10px; font-size: 10pt; }
  #messageList-creditor .message-board .info .creditor-detail h4 a img { width: 25px; vertical-align: middle; margin-top: 0; }
  #messageList-creditor .message-board .info .creditor-detail p,#messageList-creditor .message-board .info .creditor-detail h5 { font-size: 10pt; }
  #messageList-detail >h3 { font-size: 12pt; }
  #messageList-creditor h3,#messageList-reply >h3 { font-size: 16pt; }
  #messageList-detail .iwanna .unknow,#messageList-detail .iwanna .know { text-align: center; }
  #messageList-detail .iwanna .unknow p { margin: 0 0 15px; }
  #messageList li .box .message-catalog .cns p a { font-size: 12px; padding: 3px 10px; }
}
