/* ==========================================================================
   浮层：合作 / 服务详情 / 创作场对话
   ========================================================================== */

body.modal-open .pages {
  overflow: hidden !important;
}

body.modal-open .page.is-active .orbital-ring,
body.modal-open .page.is-active .manga-lights .light,
body.modal-open .page.is-active .film-track {
  animation-play-state: paused !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3.4vw, 46px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s var(--ease-out), visibility 0.42s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(22, 40, 72, 0.2), transparent 60%),
    rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4.4vw, 56px);
  border: 1px solid rgba(176, 216, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(18, 29, 52, 0.96), rgba(6, 10, 22, 0.97) 55%, rgba(16, 16, 34, 0.96)),
    radial-gradient(circle at 88% 0%, rgba(110, 231, 255, 0.1), transparent 44%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition:
    transform 0.62s var(--ease-out),
    opacity 0.45s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.3) transparent;
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-panel::-webkit-scrollbar {
  width: 4px;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: rgba(110, 231, 255, 0.25);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(180, 215, 255, 0.18);
  border-radius: 50%;
  color: rgba(222, 242, 255, 0.58);
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.35s,
    color 0.35s,
    transform 0.4s var(--ease-out),
    background 0.35s;
}

.modal-close span {
  font-size: 22px;
  font-weight: 200;
  line-height: 1;
  transform: translateY(-1px);
}

.modal-close:hover {
  color: #fff;
  border-color: rgba(110, 231, 255, 0.45);
  background: rgba(110, 231, 255, 0.07);
  transform: rotate(90deg);
}

.modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(190, 224, 255, 0.5);
}

.modal-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.modal-panel > h2 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 200;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #f4f9ff;
}

.modal-panel > h2 em {
  font-style: normal;
  background: linear-gradient(112deg, #fff7e8, var(--gold) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-lead {
  max-width: 560px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* 合作面板 */
.cooperation-panel {
  overflow: hidden;
}

.cooperation-panel::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 255, 0.09);
  box-shadow:
    0 0 0 46px rgba(110, 231, 255, 0.018),
    0 0 0 96px rgba(255, 210, 138, 0.012);
  pointer-events: none;
}

.coop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.coop-tags span {
  padding: 5px 11px;
  border: 1px solid rgba(180, 215, 255, 0.14);
  border-radius: 100px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(212, 235, 255, 0.52);
  background: rgba(255, 255, 255, 0.025);
}

.wechat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(255, 210, 138, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(66, 53, 29, 0.34), rgba(15, 17, 24, 0.5)),
    radial-gradient(circle at 100% 0%, rgba(255, 210, 138, 0.12), transparent 50%);
}

.wechat-card-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wechat-card-info > span {
  font-size: 8px;
  letter-spacing: 0.22em;
  color: rgba(255, 210, 138, 0.55);
}

.wechat-card-info strong {
  font-family: "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #fff0d6;
}

.wechat-card-info em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(232, 222, 202, 0.4);
}

.copy-wechat {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 210, 138, 0.28);
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 229, 184, 0.8);
  background: rgba(255, 210, 138, 0.04);
  transition: background 0.35s, border-color 0.35s, transform 0.4s var(--ease-out);
}

.copy-wechat:hover {
  background: rgba(255, 210, 138, 0.11);
  border-color: rgba(255, 210, 138, 0.55);
  transform: translateY(-2px);
}

.coop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.coop-actions .btn {
  height: 50px;
  font-size: 11px;
}

.copy-feedback {
  min-height: 18px;
  margin-top: 12px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-feedback.is-visible {
  opacity: 1;
}

/* 详情面板 */
.detail-panel {
  width: min(880px, 100%);
}

.detail-lead {
  max-width: 650px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-soft);
}

.detail-content {
  margin-top: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-block {
  padding: 18px;
  border: 1px solid rgba(170, 210, 255, 0.1);
  border-radius: 3px;
  background: rgba(10, 18, 34, 0.36);
}

.detail-block h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(225, 244, 255, 0.76);
}

.detail-block h4::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.detail-block p,
.detail-block li {
  font-size: 10px;
  line-height: 1.85;
  color: rgba(216, 233, 251, 0.54);
}

.detail-block ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-block li {
  position: relative;
  padding-left: 12px;
}

.detail-block li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.detail-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.detail-stat {
  padding: 16px;
  border-top: 1px solid rgba(170, 210, 255, 0.12);
}

.detail-stat span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.detail-stat strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-latin);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 300;
  line-height: 1;
  color: rgba(241, 250, 255, 0.88);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.detail-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(110, 231, 255, 0.16);
  border-radius: 100px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(189, 229, 247, 0.55);
}

.detail-quote {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 1px solid rgba(255, 210, 138, 0.35);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(239, 228, 207, 0.72);
  background: rgba(255, 210, 138, 0.025);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: sticky;
  bottom: -18px;
  z-index: 2;
  margin-top: 30px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(170, 210, 255, 0.11);
  background: linear-gradient(180deg, rgba(9, 15, 29, 0) 0%, rgba(9, 15, 29, 0.96) 38%);
}

.detail-actions .btn {
  height: 50px;
  font-size: 11px;
}

/* 创作场 */
.studio-modal {
  padding: clamp(8px, 1.6vw, 24px);
}

.studio-panel {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  height: min(820px, 92vh);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(175, 215, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(11, 18, 34, 0.98), rgba(5, 8, 17, 0.99) 60%, rgba(11, 12, 26, 0.98)),
    radial-gradient(circle at 82% 8%, rgba(110, 231, 255, 0.08), transparent 36%);
  box-shadow:
    0 50px 140px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.6s var(--ease-out);
  overflow: hidden;
}

.modal.is-open .studio-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.studio-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  padding: 18px clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid rgba(170, 210, 255, 0.1);
  background: rgba(8, 14, 27, 0.6);
}

.studio-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.studio-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(110, 231, 255, 0.28);
  border-radius: 50%;
}

.studio-mark::before,
.studio-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 210, 138, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.studio-mark::before {
  width: 18px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(38deg);
}

.studio-mark::after {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border: none;
  box-shadow: 0 0 9px var(--cyan);
}

.studio-branding div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-branding strong {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(241, 249, 255, 0.9);
}

.studio-branding em {
  font-style: normal;
  font-family: var(--font-latin);
  font-size: 6px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}

.studio-mode-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(170, 210, 255, 0.1);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.018);
}

.studio-mode-tabs button {
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(218, 235, 255, 0.45);
  transition: color 0.3s, background 0.3s;
}

.studio-mode-tabs button.is-active {
  color: #07111c;
  background: linear-gradient(120deg, #dff9ff, #fff0d3);
}

.studio-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.studio-server {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 7px;
  letter-spacing: 0.13em;
  color: rgba(198, 229, 255, 0.4);
}

.studio-server i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.studio-server.is-online i {
  background: #7dffc4;
  box-shadow: 0 0 8px #7dffc4;
}

.studio-server.is-offline i {
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}

.studio-server b {
  font-weight: 300;
}

.studio-close {
  position: static;
  width: 32px;
  height: 32px;
}

.studio-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.studio-side {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 24px;
  border-right: 1px solid rgba(170, 210, 255, 0.08);
  background:
    radial-gradient(circle at 10% 10%, rgba(110, 231, 255, 0.06), transparent 45%),
    rgba(8, 13, 25, 0.4);
}

.studio-side-kicker {
  font-family: var(--font-latin);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: rgba(166, 211, 244, 0.36);
}

.studio-side h3 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 200;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(241, 249, 255, 0.88);
}

.studio-side h3 em {
  font-style: normal;
  color: var(--gold);
}

.studio-side > p {
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--text-soft);
}

.studio-side-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(170, 210, 255, 0.09);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.studio-side-contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.studio-side-contact button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 210, 138, 0.65);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.studio-side-contact button b {
  transition: transform 0.4s var(--ease-out);
}

.studio-side-contact button:hover b {
  transform: translate(2px, -2px);
}

.studio-chat {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px clamp(18px, 2.4vw, 32px) 14px;
}

.studio-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px 18px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.24) transparent;
}

.studio-messages::-webkit-scrollbar {
  width: 4px;
}

.studio-messages::-webkit-scrollbar-thumb {
  background: rgba(110, 231, 255, 0.22);
  border-radius: 6px;
}

.studio-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 92%;
  animation: messageIn 0.5s var(--ease-out);
}

.studio-message.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.studio-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-top: 2px;
  border: 1px solid rgba(110, 231, 255, 0.22);
  border-radius: 50%;
  font-family: var(--font-latin);
  font-size: 8px;
  color: var(--cyan);
  background: rgba(110, 231, 255, 0.035);
}

.studio-message.is-user .studio-avatar {
  border-color: rgba(255, 210, 138, 0.25);
  color: var(--gold);
  background: rgba(255, 210, 138, 0.04);
}

.studio-bubble {
  padding: 12px 15px;
  border: 1px solid rgba(170, 210, 255, 0.1);
  border-radius: 3px 14px 14px 14px;
  background: rgba(17, 28, 50, 0.52);
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.015em;
  color: rgba(231, 242, 255, 0.82);
  white-space: pre-wrap;
  word-break: break-word;
}

.studio-message.is-user .studio-bubble {
  border-color: rgba(255, 210, 138, 0.16);
  border-radius: 14px 3px 14px 14px;
  background: rgba(70, 54, 30, 0.3);
  color: rgba(255, 242, 220, 0.88);
}

.studio-bubble.is-error {
  border-color: rgba(255, 138, 216, 0.28);
  background: rgba(74, 24, 53, 0.32);
  color: rgba(255, 210, 235, 0.85);
}

.studio-bubble code {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(110, 231, 255, 0.1);
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 18px;
}

.typing-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(110, 231, 255, 0.65);
  animation: typing 1.1s var(--ease-in-out) infinite;
}

.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.studio-suggestions {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 0 10px;
}

.studio-suggestions button {
  padding: 6px 10px;
  border: 1px solid rgba(170, 210, 255, 0.11);
  border-radius: 100px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(208, 231, 250, 0.48);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.studio-suggestions button:hover {
  border-color: rgba(110, 231, 255, 0.3);
  color: rgba(232, 248, 255, 0.8);
  background: rgba(110, 231, 255, 0.04);
}

.studio-form {
  flex-shrink: 0;
}

.studio-input-wrap {
  border: 1px solid rgba(170, 210, 255, 0.14);
  border-radius: 14px;
  background: rgba(4, 8, 17, 0.62);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.studio-input-wrap:focus-within {
  border-color: rgba(110, 231, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, 0.035);
}

.studio-input-wrap textarea {
  display: block;
  width: 100%;
  min-height: 62px;
  max-height: 150px;
  padding: 12px 14px 4px;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  color: rgba(237, 246, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.7;
}

.studio-input-wrap textarea::placeholder {
  color: rgba(190, 217, 241, 0.28);
}

.studio-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 8px 8px 14px;
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.studio-keys {
  margin-left: auto;
}

.studio-send {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(110, 231, 255, 0.94), rgba(255, 232, 192, 0.94));
  color: #06121c;
  font-size: 9px;
  letter-spacing: 0.1em;
  transition: filter 0.3s, transform 0.3s var(--ease-out);
}

.studio-send:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.studio-send:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.studio-disclaimer {
  margin-top: 7px;
  font-size: 7px;
  letter-spacing: 0.07em;
  color: rgba(184, 211, 235, 0.25);
  text-align: right;
}

/* 对话服务不可用时的提示 */
.studio-setup-note {
  border: 1px dashed rgba(255, 138, 216, 0.22);
  background: rgba(56, 22, 42, 0.22);
}

.studio-setup-note code {
  color: var(--gold);
}

/* 响应式 */
@media (max-width: 980px) {
  .studio-panel {
    height: min(860px, 94vh);
  }

  .studio-body {
    grid-template-columns: 1fr;
  }

  .studio-side {
    display: none;
  }

  .studio-head {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }

  .studio-mode-tabs {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .studio-mode-tabs button {
    white-space: nowrap;
    padding: 6px 12px;
  }

  .studio-head-actions {
    margin-left: auto;
  }

  .studio-server b {
    display: none;
  }

  .studio-chat {
    padding: 12px 14px 10px;
  }
}

@media (max-width: 760px) {
  .modal {
    padding: 8px;
  }

  .modal-panel {
    max-height: 94vh;
    padding: 30px 22px 24px;
    border-radius: 18px;
  }

  .modal-panel > h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .wechat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .wechat-card-info strong {
    font-size: 32px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .detail-actions {
    position: static;
    bottom: auto;
    margin-top: 22px;
    padding: 18px 0 4px;
    background: none;
  }

  .coop-actions .btn,
  .detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .studio-modal {
    padding: 0;
  }

  .studio-panel {
    width: 100%;
    height: 100svh;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .studio-branding em {
    display: none;
  }

  .studio-branding strong {
    font-size: 14px;
  }

  .studio-mark {
    width: 26px;
    height: 26px;
  }

  .studio-messages {
    gap: 12px;
  }

  .studio-message {
    max-width: 96%;
  }

  .studio-bubble {
    font-size: 11px;
  }

  .studio-keys {
    display: none;
  }

  .studio-disclaimer {
    text-align: left;
  }
}


/* --------------------------------------------------------------------------
   人工接管
   -------------------------------------------------------------------------- */
.studio-message.is-human-reply .studio-avatar {
  border-color: rgba(255, 210, 138, 0.42);
  color: var(--gold);
}

.studio-message.is-human-reply .studio-bubble {
  border-color: rgba(255, 210, 138, 0.26);
  background: rgba(255, 210, 138, 0.075);
  color: #fff0d5;
}

.studio-bubble.is-human-notice {
  border-color: rgba(255, 210, 138, 0.24);
  background: rgba(255, 210, 138, 0.06);
  color: #ffe8bd;
}
