/* ===== 咨询助力（addoil）私密留言页 ===== */

.section-addoil .section-content {
  max-width: 860px;
  margin: 0 auto;
}

.addoil-kicker {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #000;
  color: #f9f506;
  padding: 4px 10px;
}

/* --- 未登录引导 --- */
.addoil-login {
  border: 2px solid #111;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
  padding: 2.2rem 2rem;
  margin: 2rem 0;
}
.addoil-login-head h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0.9rem 0 0.6rem;
}
.addoil-login-head p {
  color: #525252;
  line-height: 1.8;
  margin: 0 0 1.6rem;
}
#addoil-loginform p {
  margin: 0 0 1rem;
}
#addoil-loginform label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
#addoil-loginform input[type="text"],
#addoil-loginform input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7em 0.9em;
  border: 2px solid #111;
  border-radius: 0.6em;
  font-size: 0.95rem;
}
#addoil-loginform input[type="checkbox"] {
  margin-right: 0.4em;
}
#addoil-loginform .login-submit .button-primary {
  background: #111;
  color: #f9f506;
  border: 2px solid #111;
  border-radius: 0.6em;
  padding: 0.7em 1.6em;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
}
#addoil-loginform .login-submit .button-primary:hover {
  background: #f9f506;
  color: #111;
}
.addoil-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
}
.addoil-login-links a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
}
.addoil-reg-note {
  color: #525252;
}

/* --- 身份栏 --- */
.addoil-userbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 2px solid #111;
  border-radius: 1rem;
  background: #fff;
  padding: 0.9rem 1.2rem;
  margin: 2rem 0 1.5rem;
}
.addoil-userbar-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.addoil-userbar-left img {
  border-radius: 50%;
  border: 2px solid #111;
}
.addoil-userbar-name {
  font-weight: 900;
}
.addoil-userbar-sub {
  font-size: 0.78rem;
  color: #525252;
  margin-top: 2px;
}
.addoil-logout {
  font-size: 0.82rem;
  font-weight: 700;
  color: #525252;
  white-space: nowrap;
}
.addoil-logout:hover {
  color: #111;
}

/* --- 对话线程 --- */
.addoil-threads {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.addoil-thread {
  border: 2px solid #111;
  border-radius: 1.25rem;
  background: #fff;
  overflow: hidden;
}
.addoil-thread-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 2px solid #111;
  background: #f9f506;
}
.addoil-thread-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  font-size: 0.85rem;
}
.addoil-thread-title {
  font-weight: 900;
  font-size: 0.92rem;
}
.addoil-thread-asker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  min-width: 0;
}
.addoil-thread-asker img {
  border-radius: 50%;
}
.addoil-thread-asker span {
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.addoil-thread-meta {
  margin-left: auto;
  display: flex;
  gap: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
}

/* --- 气泡 --- */
.addoil-bubbles {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.2rem;
}
.addoil-bubble {
  display: flex;
  gap: 0.7rem;
  max-width: 88%;
}
.addoil-bubble.side-me {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.addoil-bubble.side-other {
  align-self: flex-start;
}
.addoil-avatar img {
  border-radius: 50%;
  border: 2px solid #111;
  display: block;
}
.addoil-body {
  min-width: 0;
}
.addoil-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.side-me .addoil-meta {
  justify-content: flex-end;
}
.addoil-name {
  font-weight: 900;
  font-size: 0.82rem;
}
.addoil-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 900;
  background: #111;
  color: #f9f506;
  padding: 2px 7px;
  border-radius: 999px;
}
.addoil-meta time {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.45);
}
.addoil-text {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: break-word;
}
.side-me .addoil-text {
  background: #111;
  color: #fff;
  border-top-right-radius: 0.25rem;
}
.side-other .addoil-text {
  background: #f6f6f6;
  border: 1.5px solid #111;
  border-top-left-radius: 0.25rem;
}
.addoil-bubble.is-author .addoil-text {
  background: #fffdf0;
}
.addoil-ops {
  margin-top: 0.35rem;
}
.addoil-reply-btn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
  color: #111;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.addoil-reply-btn:hover {
  background: #111;
  color: #f9f506;
  border-color: #111;
}

/* --- 空状态 --- */
.addoil-empty {
  border: 2px dashed rgba(0, 0, 0, 0.3);
  border-radius: 1.25rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #525252;
}
.addoil-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}
.addoil-empty h3 {
  font-weight: 900;
  color: #111;
  margin: 0 0 0.5rem;
}
.addoil-empty p {
  margin: 0;
  line-height: 1.8;
}

/* --- 留言表单 --- */
.addoil-respond {
  border: 2px solid #111;
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.06);
}
.addoil-reply-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.addoil-reply-note span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #b45309;
}
#addoil-reply-cancel {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: #525252;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}
#addoil-comment {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #111;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  resize: vertical;
  min-height: 110px;
}
#addoil-comment:focus {
  outline: none;
  box-shadow: 4px 4px 0 #f9f506;
}
.addoil-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.addoil-tip {
  font-size: 0.75rem;
  color: #525252;
}
.addoil-submit {
  background: #111;
  color: #f9f506;
  border: 2px solid #111;
  border-radius: 0.7em;
  padding: 0.75em 2em;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.addoil-submit:hover {
  background: #f9f506;
  color: #111;
}
.addoil-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.addoil-closed {
  border: 2px dashed rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.4rem;
  color: #525252;
  margin: 2rem 0;
}

/* --- 移动端 --- */
@media (max-width: 640px) {
  .addoil-bubble {
    max-width: 96%;
  }
  .addoil-thread-meta {
    margin-left: 0;
    width: 100%;
  }
}
