.portal-monitor-button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid var(--gold);border-radius:10px;padding:10px 13px;text-decoration:none;background:var(--gold-soft);color:var(--text);font-size:13px;font-weight:600}.portal-monitor-dialog{width:min(1160px,calc(100vw - 40px));max-width:none;height:85vh;height:85dvh;max-height:calc(100dvh - 30px);padding:0;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 24px 80px #0006;overflow:hidden}.portal-monitor-dialog[open]{display:flex;flex-direction:column}.portal-monitor-dialog::backdrop{background:#071323b8}.portal-monitor-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}.portal-monitor-header h2{margin:0;font-size:18px}.portal-monitor-tools{display:flex;align-items:center;gap:6px}.portal-monitor-tools button,.portal-monitor-tools a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--text);font-size:22px;text-decoration:none}.portal-monitor-note{margin:0;padding:9px 16px;font-size:12px;color:var(--muted);line-height:1.5}.portal-monitor-dialog iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:#fff}.portal-monitor-dialog.is-expanded{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:10px}html.portal-monitor-is-open{overflow:hidden}@media(max-width:600px){.portal-monitor-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:10px}.portal-monitor-header{padding:10px}.portal-monitor-header h2{font-size:15px}.portal-monitor-tools{gap:4px}.portal-monitor-tools button,.portal-monitor-tools a{width:32px;height:32px}.portal-monitor-note{padding:8px 10px;font-size:11px}.portal-monitor-button{font-size:12px;padding:9px 11px}}
