.rhig-dialog { box-sizing: border-box; width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; color: #f7f7f9; background: #141418; border: 1px solid #3a363d; border-radius: 22px; box-shadow: 0 32px 120px #0009; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; overflow: auto; overscroll-behavior: contain; }
.rhig-dialog::backdrop { background: #050408b8; backdrop-filter: blur(8px); }
.rhig-dialog *, .rhig-dialog *::before, .rhig-dialog *::after { box-sizing: border-box; }
.rhig-shell { padding: 28px; }
.rhig-dialog button { font: inherit; cursor: pointer; }
.rhig-dialog button:focus-visible { outline: 3px solid #ff9dab; outline-offset: 4px; }
.rhig-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rhig-brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; }
.rhig-brand img { width: 24px; height: 24px; object-fit: contain; }
.rhig-brand > span { margin-left: 7px; padding-left: 16px; border-left: 1px solid #48424b; color: #bfb9c4; font-size: 12px; font-weight: 400; }
.rhig-close { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid #443e49; border-radius: 50%; background: transparent; color: #ded9e3; font-size: 26px !important; line-height: 1; }
.rhig-dialog h2 { margin: 0 0 9px; color: #fff; font-size: clamp(23px, 3vw, 30px); font-weight: 650; line-height: 1.35; letter-spacing: -.5px; }
#rhig-description { margin: 0 0 25px; color: #bfb9c4; font-size: 14px; line-height: 1.75; }
.rhig-content { display: grid; grid-template-columns: minmax(190px, .85fr) minmax(0, 1.8fr); gap: 26px; align-items: start; }
.rhig-instructions { padding-top: 18px; }
.rhig-step { display: flex; width: 100%; align-items: flex-start; gap: 12px; padding: 18px 12px; margin: 0 0 10px; border: 1px solid transparent; border-radius: 12px; text-align: left; color: #a39ba9; background: transparent; transition: background .18s, border-color .18s; }
.rhig-step[aria-pressed="true"] { color: #fff; border-color: #a14256; background: #ef344f12; }
.rhig-number { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #635361; border-radius: 50%; font-size: 14px; font-weight: 700; }
.rhig-step[aria-pressed="true"] .rhig-number { background: #d92240; border-color: #ef344f; }
.rhig-step strong { display: block; padding: 2px 0 7px; font-size: 18px; line-height: 1.4; }
.rhig-step small { display: block; font-size: 12px; line-height: 1.7; color: #b8b0be; }
.rhig-controls { display: flex; gap: 18px; padding: 10px 13px; }
.rhig-controls button { border: 0; background: transparent; color: #d4cbd9; padding: 3px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.rhig-no-prompt { padding: 0 13px; margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: #918996; }
.rhig-figure { margin: 0; min-width: 0; }
.rhig-demo { width: 100%; max-width: 100%; position: relative; min-height: 345px; aspect-ratio: 1.42; padding: 29px 22px 70px; background: #0067b8; color: white; border-radius: 6px; overflow: hidden; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.rhig-demo-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 36px; height: 29px; background: #fff; color: #141418; font-size: 21px; }
.rhig-demo-title { white-space: nowrap; font-size: clamp(17px, 2.3vw, 27px); line-height: 1.4; font-weight: 300; margin: 0 0 21px; }
.rhig-demo-title b { font-weight: 650; }
.rhig-demo-copy { font-size: 13px; line-height: 1.65; margin: 0 0 9px; }
.rhig-demo-info { min-height: 70px; font-size: 14px; line-height: 1.7; }
.rhig-more { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.rhig-app-info { display: none; padding-top: 6px; font-size: 12px; overflow-wrap: anywhere; }
.rhig-app-info p { margin: 0 0 5px; }
.rhig-demo-buttons { display: flex; gap: 14px; position: absolute; bottom: 24px; right: 23px; align-items: center; font-size: 13px; font-weight: 650; }
.rhig-demo-buttons > span { display: grid; place-items: center; min-width: 82px; padding: 9px 13px; background: white; color: #161616; }
.rhig-demo-buttons .rhig-run { visibility: hidden; }
.rhig-target { position: relative; }
.rhig-target::before { content: ""; position: absolute; inset: -5px; border-radius: 2px; outline: 2px solid #ffe190; outline-offset: 2px; box-shadow: 0 0 0 5px #ffcb6338; }
.rhig-cursor { position: absolute; width: 25px; height: 32px; right: -18px; bottom: -25px; filter: drop-shadow(0 2px 2px #002b58); }
.rhig-dialog[data-playing="true"] .rhig-cursor { animation: rhig-point 3.4s ease-in-out infinite; }
.rhig-dialog[data-step="1"] .rhig-more { display: none; }
.rhig-dialog[data-step="1"] .rhig-app-info { display: block; }
.rhig-dialog[data-step="1"] .rhig-run { visibility: visible; }
.rhig-figure figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #c6bece; font-size: 12px; line-height: 1.6; }
.rhig-demo-label { border: 1px solid #514756; border-radius: 4px; padding: 1px 6px; color: #a99fae; white-space: nowrap; font-size: 10px; }
.rhig-footer { display: flex; align-items: center; gap: 24px; border-top: 1px solid #38313c; margin-top: 24px; padding-top: 20px; }
.rhig-footer p { flex: 1; margin: 0; color: #a79eaf; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.rhig-footer strong { color: #d2c9d9; font-weight: 500; }
.rhig-done { flex: 0 0 auto; padding: 11px 24px; border: 1px solid #ee3653; border-radius: 9px; background: #ca1d39; color: white; font-size: 14px; font-weight: 600; }
@keyframes rhig-point { 0%, 18% { transform: translate(32px, 24px); opacity: 0; } 36%, 62%, 100% { transform: translate(0, 0); opacity: 1; } 55% { transform: translate(-3px, -4px) scale(.9); opacity: 1; } }
@media (max-width: 650px) { .rhig-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; } .rhig-shell { padding: 20px 16px; } .rhig-header { margin-bottom: 18px; } .rhig-brand > span { margin-left: 1px; padding-left: 10px; font-size: 11px; } #rhig-description { font-size: 13px; margin-bottom: 18px; } .rhig-content { display: flex; flex-direction: column; gap: 16px; } .rhig-instructions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; width: 100%; } .rhig-step { margin: 0; padding: 11px 7px; gap: 7px; } .rhig-step strong { font-size: 15px; padding: 2px 0 4px; } .rhig-step small { font-size: 11px; } .rhig-number { width: 25px; height: 25px; font-size: 12px; } .rhig-controls { padding: 3px 7px; } .rhig-no-prompt { margin: 0; padding: 2px 0; font-size: 11px; } .rhig-figure { width: 100%; } .rhig-demo { min-height: 310px; padding: 29px 17px 70px; } .rhig-demo-title { font-size: clamp(17px, 4.6vw, 27px); } .rhig-demo-copy { font-size: 12px; } .rhig-footer { gap: 15px; align-items: flex-start; margin-top: 18px; padding-top: 16px; } .rhig-footer p { font-size: 11px; } .rhig-done { padding: 10px 15px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .rhig-dialog *, .rhig-dialog *::before { animation: none !important; transition: none !important; } }
