/* ============================================================
   留言板（gbook）单栏布局
   ============================================================ */
.dd-gb{ max-width:900px; margin:0 auto; }

.dd-gb-head{ margin:18px 0 16px; }
.dd-gb-head h1{ margin:0 0 6px; font-size:26px; font-weight:800; color:#fff; }
.dd-gb-head p{ margin:0; font-size:14px; color:#9ca3af; }

.dd-gb-card{
  background:#1a1815; border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:16px;
}
.dd-gb-formwrap{ margin-bottom:22px; }

.gbook_content{
  width:100%; min-height:110px; box-sizing:border-box;
  background:#0f0e0c; border:1px solid rgba(255,255,255,.1);
  border-radius:8px; padding:12px; color:#fff; font:inherit;
  resize:vertical; outline:0;
}
.gbook_content:focus{ border-color:rgba(234,179,8,.6); }
.gbook_content::placeholder{ color:#6b7280; }

.dd-gb-formfoot{
  display:flex; align-items:center; gap:12px;
  margin-top:12px; flex-wrap:wrap;
}
.dd-gb-cap{ display:flex; align-items:center; gap:8px; }
.dd-verify-in{
  width:110px; background:#0f0e0c; border:1px solid rgba(255,255,255,.1);
  border-radius:8px; color:#fff; padding:9px 10px; font:inherit; outline:0;
}
.dd-verify-in:focus{ border-color:rgba(234,179,8,.6); }
.mac_verify_img{
  height:40px; border-radius:8px; cursor:pointer; display:block; background:#fff;
}
.dd-gb-count{ margin-left:auto; font-size:12px; color:#71717a; }
.gbook_submit{
  background:#eab308; color:#000; border:0; border-radius:8px;
  padding:10px 20px; font-size:14px; font-weight:700; cursor:pointer;
  transition:background-color .15s;
}
.gbook_submit:hover{ background:#facc15; }

.dd-gb-list{ display:flex; flex-direction:column; gap:10px; }
.dd-gb-item{
  display:flex; gap:12px; padding:14px;
  background:#1a1815; border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
}
.dd-gb-ava{
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:rgba(234,179,8,.12); color:#eab308;
  display:flex; align-items:center; justify-content:center;
}
.dd-gb-main{ flex:1; min-width:0; }
.dd-gb-meta{ display:flex; align-items:baseline; gap:10px; margin-bottom:4px; }
.dd-gb-meta b{ color:#e5e7eb; font-size:14px; }
.dd-gb-meta span{ margin-left:auto; color:#6b7280; font-size:12px; }
.dd-gb-txt{ color:#d4d4d8; font-size:14px; line-height:1.7; word-break:break-word; }

.dd-gb-reply{
  margin-top:10px; padding:10px 12px;
  background:rgba(255,255,255,.04);
  border-left:2px solid #eab308; border-radius:6px;
}
.dd-gb-replymeta{ display:flex; align-items:baseline; gap:10px; margin-bottom:4px; }
.dd-gb-replymeta b{ color:#eab308; font-size:13px; }
.dd-gb-replymeta span{ margin-left:auto; color:#6b7280; font-size:12px; }
.dd-gb-replytxt{ color:#c9c9c9; font-size:13px; line-height:1.6; }

.dd-gb-empty{ padding:40px 0; text-align:center; color:#9ca3af; }

/* 留言提交小卡片弹窗（与模板暗色+黄色风格一致，带“已阅”关闭） */
.dd-modal-mask{
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:center; z-index:9998;
  opacity:0; transition:opacity .18s ease;
}
.dd-modal-mask.show{ opacity:1; }
.dd-modal{
  width:min(360px,86vw); background:#1a1815;
  border:1px solid rgba(255,255,255,.1); border-top:3px solid #eab308;
  border-radius:12px; padding:22px 22px 18px;
  box-shadow:0 12px 40px rgba(0,0,0,.55);
  transform:translateY(8px); transition:transform .18s ease; text-align:center;
}
.dd-modal-mask.show .dd-modal{ transform:translateY(0); }
.dd-modal.err{ border-top-color:#ef4444; }
.dd-modal-title{ font-size:15px; font-weight:700; color:#eab308; margin-bottom:10px; }
.dd-modal.err .dd-modal-title{ color:#ef4444; }
.dd-modal-msg{ font-size:14px; line-height:1.6; color:#d4d4d8; margin-bottom:18px; word-break:break-word; }
.dd-modal-ok{
  background:#eab308; color:#000; border:0; border-radius:8px;
  padding:9px 26px; font-size:14px; font-weight:700; cursor:pointer;
  transition:background-color .15s;
}
.dd-modal-ok:hover{ background:#facc15; }

@media(max-width:640px){
  .dd-gb-count{ margin-left:0; }
  .dd-gb-formfoot{ gap:10px; }
  .gbook_submit{ width:100%; }
}
