/* Wallet confirmation and small launch refinements. The approved Pinchu world stays intact. */
.agentic-dialog { width:min(570px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); padding:clamp(20px,4vw,32px); border:1px solid #625b41; border-radius:24px; background:#191814; color:#f4f1e4; box-shadow:0 20px 64px #0009; overflow:auto; }
.agentic-dialog::backdrop { background:#000b; backdrop-filter:blur(6px); }
.agentic-head { display:flex; gap:20px; align-items:start; justify-content:space-between; margin-bottom:22px; }
.agentic-head h2 { font-size:clamp(21px,4vw,27px); line-height:1.18; }
.agentic-dialog p { margin:14px 0; }
.agentic-dialog [hidden] { display:none!important; }
#agenticMessage { color:#ded8c8; line-height:1.5; min-height:3em; }
#agenticQRWrap { text-align:center; }
#agenticQR { display:block; margin:20px auto; width:min(100%,320px); height:auto; image-rendering:pixelated; border-radius:12px; }
.pair-label { display:flex; align-items:baseline; justify-content:center; gap:15px; color:#c8c1ad; }
#agenticPair { font-size:28px; letter-spacing:.15em; color:#ffdc47; font-variant-numeric:tabular-nums; }
.agentic-official { color:#f4f1e4; text-decoration:underline; text-underline-offset:4px; font-weight:650; }
.agentic-actions { display:grid; gap:10px; margin:22px 0 14px; }
.agentic-actions button { width:100%; min-height:48px; }
.agentic-secondary { display:block; margin:22px auto 0; }
.agentic-dialog .kv { margin:20px 0; }
.agentic-dialog .kv > div { gap:16px; }
.agentic-dialog dd { overflow-wrap:anywhere; }
.agentic-risks { padding-left:20px; color:#e6d9b3; line-height:1.6; }
.agentic-risks li+li { margin-top:10px; }
#agenticPreview h3 { font-size:22px; margin:10px 0 18px; }
.protection { color:#ddd7c7; line-height:1.6; margin:20px 0 10px; font-size:14px; font-variant-numeric:tabular-nums; }
.protection-settings { margin:0 0 20px; }
.protection-settings > summary { cursor:pointer; color:#d1c9b2; padding:12px 0; text-underline-offset:4px; }
.protection-settings .limits { margin:0; }
.motion-setting { margin-top:4px; }
.motion-setting .tool { width:auto; padding:7px 12px; height:38px; color:#b8b4a8; background:none; border-color:#38372f; }
.motion-setting .tool-label { display:inline; font-size:12px; }
.levels-live { padding:clamp(18px,3vw,28px); margin-bottom:24px; }
.levels-live .tiers-box { max-height:470px; }
.levels-live h2 { margin-bottom:14px; }
.levels-live .tiers-head h2 { margin-bottom:0; }
#levelsLiveStatus { margin:12px 0 20px; }
.mint-history { list-style:none; padding:0; }
.mint-history li { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); padding:16px 0; font-variant-numeric:tabular-nums; }
.mint-history li a { color:#ffdc47; }
.mint-history li span { color:#c4beae; }
.rail-track { cursor:default!important; touch-action:auto!important; }
.rail[data-source="unknown"] .rail-clip { visibility:hidden; }
[role="meter"] { outline:none; }
.agentic-dialog button:focus-visible,.agentic-dialog a:focus-visible { outline:2px solid #ffdc47; outline-offset:4px; }
@media(max-width:600px) {
  .top-tools .wallet { max-width:192px; font-size:12px; }
  .motion-setting .tool-label { display:inline; }
  .agentic-dialog { border-radius:18px; }
  .agentic-head { gap:10px; }
  .agentic-head .ghost { padding:8px 10px; }
  .agentic-dialog .kv > div { grid-template-columns:1fr; gap:4px; }
  .mint-history li { flex-direction:column; gap:6px; }
  .levels-live .tiers-head { align-items:start; gap:10px; }
}

.agentic-head-tools { display:flex; flex:none; gap:8px; align-items:center; }
.agentic-head-tools .ghost { min-height:40px; }
#agenticRisks:not(:empty)::before { content:"Provider risk details (original text)"; display:block; color:var(--text-2); margin:0 0 10px -20px; font-size:13px; }
html[lang="zh-CN"] #agenticRisks:not(:empty)::before { content:"服务商风险说明（保留原文）"; }
@media(max-width:420px){.agentic-head{flex-wrap:wrap;}.agentic-head-tools{margin-left:auto;}}

/* Header labels stay compact; the dialog carries the full wallet product name. */
.top-tools .wallet { min-width:0; }
@media(max-width:600px){.top-tools .wallet{max-width:148px;white-space:nowrap;}.top-tools .tool{min-width:40px;}}

.agentic-actions .cta { display:flex; align-items:center; justify-content:center; padding:14px 18px; text-align:center; white-space:normal; line-height:1.35; }
.agentic-actions .cta > span { min-width:0; overflow-wrap:anywhere; }
